2024-08-26 17:11:51,740 - INFO - Domain Default found not creating 2024-08-26 17:11:51,919 - INFO - Project ctest-TestBasicPolicy-66862624 not found, creating it 2024-08-26 17:11:52,407 - INFO - Created Project:ctest-TestBasicPolicy-66862624, ID : b6742a02-4354-464a-ac25-ba60c507aff7 2024-08-26 17:11:53,986 - INFO - ================================================================================ 2024-08-26 17:11:53,987 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-08-26 17:11:53,987 - 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-26 17:11:54,251 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.25': '0'}} with 2024-08-26 17:11:54,251 - INFO - Initial checks done. Running the testcase now 2024-08-26 17:11:54,251 - INFO - 2024-08-26 17:11:54,838 - DEBUG - Response for create_network : {'network': {'id': '29dd8b27-bca4-4cdb-af07-56617fda4a20', 'name': 'ctest-vn-94837702', 'tenant_id': 'b6742a024354464aac25ba60c507aff7', 'project_id': 'b6742a024354464aac25ba60c507aff7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66862624', 'ctest-vn-94837702'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 17:11:55,049 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd956cd96-bd71-43e7-9c9e-ec3cabb392b7', 'name': '', 'tenant_id': 'b6742a024354464aac25ba60c507aff7', 'network_id': '29dd8b27-bca4-4cdb-af07-56617fda4a20', 'ip_version': 4, 'cidr': '30.69.53.192/26', 'allocation_pools': [{'start': '30.69.53.194', 'end': '30.69.53.254'}], 'gateway_ip': '30.69.53.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.69.53.194', 'tags': [], 'project_id': 'b6742a024354464aac25ba60c507aff7'}} 2024-08-26 17:11:55,070 - INFO - Created VN ctest-vn-94837702 2024-08-26 17:11:55,120 - DEBUG - VN ctest-vn-94837702 UUID is 29dd8b27-bca4-4cdb-af07-56617fda4a20 2024-08-26 17:11:55,456 - DEBUG - Response for create_network : {'network': {'id': 'a2488187-e393-4813-b421-020407d786c5', 'name': 'ctest-vn-38346263', 'tenant_id': 'b6742a024354464aac25ba60c507aff7', 'project_id': 'b6742a024354464aac25ba60c507aff7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66862624', 'ctest-vn-38346263'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 17:11:55,685 - DEBUG - Response for create_subnet : {'subnet': {'id': '643c9393-4ff9-46bc-b276-de5721a2d67d', 'name': '', 'tenant_id': 'b6742a024354464aac25ba60c507aff7', 'network_id': 'a2488187-e393-4813-b421-020407d786c5', 'ip_version': 4, 'cidr': '8.5.117.192/26', 'allocation_pools': [{'start': '8.5.117.194', 'end': '8.5.117.254'}], 'gateway_ip': '8.5.117.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.5.117.194', 'tags': [], 'project_id': 'b6742a024354464aac25ba60c507aff7'}} 2024-08-26 17:11:55,705 - INFO - Created VN ctest-vn-38346263 2024-08-26 17:11:55,757 - DEBUG - VN ctest-vn-38346263 UUID is a2488187-e393-4813-b421-020407d786c5 2024-08-26 17:11:55,875 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66862624:ctest-vn-94837702, 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-66862624:ctest-vn-38346263, 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-26 17:11:56,184 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '29dd8b27-bca4-4cdb-af07-56617fda4a20', 'name': 'ctest-vn-94837702', 'tenant_id': 'b6742a024354464aac25ba60c507aff7', 'project_id': 'b6742a024354464aac25ba60c507aff7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d956cd96-bd71-43e7-9c9e-ec3cabb392b7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66862624', 'ctest-vn-94837702'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66862624', 'ctest-policy-allow-all-47578058']], 'subnet_ipam': [{'subnet_cidr': '30.69.53.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-26 17:11:56,476 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a2488187-e393-4813-b421-020407d786c5', 'name': 'ctest-vn-38346263', 'tenant_id': 'b6742a024354464aac25ba60c507aff7', 'project_id': 'b6742a024354464aac25ba60c507aff7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['643c9393-4ff9-46bc-b276-de5721a2d67d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66862624', 'ctest-vn-38346263'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66862624', 'ctest-policy-allow-all-47578058']], 'subnet_ipam': [{'subnet_cidr': '8.5.117.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-26 17:11:56,628 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2024-08-26 17:11:56,929 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2024-08-26 17:11:57,241 - DEBUG - Requesting: http://10.0.0.49:8082/domain/9e9e06ac-c228-4643-92b8-2538ac4f5e85 2024-08-26 17:11:57,256 - DEBUG - Requesting: http://10.0.0.49:8082/project/b6742a02-4354-464a-ac25-ba60c507aff7 2024-08-26 17:11:57,332 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/29dd8b27-bca4-4cdb-af07-56617fda4a20 2024-08-26 17:11:57,341 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/29dd8b27-bca4-4cdb-af07-56617fda4a20 2024-08-26 17:11:57,349 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/7af0ef4e-1505-4269-84d9-4ca6725b7ef7 2024-08-26 17:11:57,356 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/7af0ef4e-1505-4269-84d9-4ca6725b7ef7 2024-08-26 17:11:57,363 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/28563c9a-3e2f-4036-a356-e67aa258fe05 2024-08-26 17:11:57,369 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-26 17:11:57,369 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/29dd8b27-bca4-4cdb-af07-56617fda4a20 2024-08-26 17:11:57,377 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/7af0ef4e-1505-4269-84d9-4ca6725b7ef7 2024-08-26 17:11:57,393 - INFO - Verified VN network id 8 for VN 29dd8b27-bca4-4cdb-af07-56617fda4a20 2024-08-26 17:11:57,393 - INFO - Verifications in API Server for VN ctest-vn-94837702 passed 2024-08-26 17:11:57,393 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/29dd8b27-bca4-4cdb-af07-56617fda4a20 2024-08-26 17:11:57,405 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/7af0ef4e-1505-4269-84d9-4ca6725b7ef7 2024-08-26 17:11:57,412 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/7af0ef4e-1505-4269-84d9-4ca6725b7ef7 2024-08-26 17:11:57,419 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/28563c9a-3e2f-4036-a356-e67aa258fe05 2024-08-26 17:11:57,432 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66862624:ctest-vn-94837702', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66862624', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3016720328192969947', 'uuid-lslong': '12612144258231192096'}, 'enable': 'true', 'created': '2024-08-26T17:11:54', 'last-modified': '2024-08-26T17:11:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.272884'} 2024-08-26 17:11:57,439 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-26 17:11:57,439 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94837702 passed 2024-08-26 17:11:57,439 - DEBUG - ====Verifying policy data for ctest-vn-94837702 in API_Server ====== 2024-08-26 17:11:57,439 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2024-08-26 17:11:57,446 - DEBUG - Requesting: http://10.0.0.49:8082/domain/9e9e06ac-c228-4643-92b8-2538ac4f5e85 2024-08-26 17:11:57,458 - DEBUG - Requesting: http://10.0.0.49:8082/project/b6742a02-4354-464a-ac25-ba60c507aff7 2024-08-26 17:11:57,533 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/29dd8b27-bca4-4cdb-af07-56617fda4a20 2024-08-26 17:11:57,543 - DEBUG - ==>Verifying data for policy with id: 589a4db2-c951-4385-8004-3356942ac46e, fqn: ['default-domain', 'ctest-TestBasicPolicy-66862624', 'ctest-policy-allow-all-47578058'] 2024-08-26 17:11:57,543 - INFO - VN ctest-vn-94837702 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-26 17:11:57,543 - DEBUG - Verifying the vn in opserver 2024-08-26 17:11:57,543 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66862624:ctest-vn-94837702 virtual network link through opserver 10.0.0.49 2024-08-26 17:11:57,544 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2024-08-26 17:11:57,884 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2024-08-26 17:11:57,965 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66862624:ctest-vn-94837702', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66862624:ctest-vn-94837702?flat'} 2024-08-26 17:11:57,965 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66862624:ctest-vn-94837702 is found in opserver 2024-08-26 17:11:57,976 - DEBUG - Do not have enough data to verify VN in agent 2024-08-26 17:11:57,981 - DEBUG - VRF ids for VN ctest-vn-94837702: {} 2024-08-26 17:11:57,981 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2024-08-26 17:11:57,989 - DEBUG - Requesting: http://10.0.0.49:8082/domain/9e9e06ac-c228-4643-92b8-2538ac4f5e85 2024-08-26 17:11:58,003 - DEBUG - Requesting: http://10.0.0.49:8082/project/b6742a02-4354-464a-ac25-ba60c507aff7 2024-08-26 17:11:58,077 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/a2488187-e393-4813-b421-020407d786c5 2024-08-26 17:11:58,089 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/a2488187-e393-4813-b421-020407d786c5 2024-08-26 17:11:58,097 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/464b263d-80ed-4cc8-b868-b5428af583ef 2024-08-26 17:11:58,104 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/464b263d-80ed-4cc8-b868-b5428af583ef 2024-08-26 17:11:58,111 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/86708185-2088-4c7b-a6a2-d944f879e0f6 2024-08-26 17:11:58,118 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-26 17:11:58,119 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/a2488187-e393-4813-b421-020407d786c5 2024-08-26 17:11:58,127 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/464b263d-80ed-4cc8-b868-b5428af583ef 2024-08-26 17:11:58,139 - INFO - Verified VN network id 9 for VN a2488187-e393-4813-b421-020407d786c5 2024-08-26 17:11:58,140 - INFO - Verifications in API Server for VN ctest-vn-38346263 passed 2024-08-26 17:11:58,140 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/a2488187-e393-4813-b421-020407d786c5 2024-08-26 17:11:58,148 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/464b263d-80ed-4cc8-b868-b5428af583ef 2024-08-26 17:11:58,156 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/464b263d-80ed-4cc8-b868-b5428af583ef 2024-08-26 17:11:58,163 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/86708185-2088-4c7b-a6a2-d944f879e0f6 2024-08-26 17:11:58,176 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66862624:ctest-vn-38346263', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66862624', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11693738853106141203', 'uuid-lslong': '12979657817393170117'}, 'enable': 'true', 'created': '2024-08-26T17:11:55', 'last-modified': '2024-08-26T17:11:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.780484'} 2024-08-26 17:11:58,182 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-26 17:11:58,183 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38346263 passed 2024-08-26 17:11:58,183 - DEBUG - ====Verifying policy data for ctest-vn-38346263 in API_Server ====== 2024-08-26 17:11:58,183 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2024-08-26 17:11:58,190 - DEBUG - Requesting: http://10.0.0.49:8082/domain/9e9e06ac-c228-4643-92b8-2538ac4f5e85 2024-08-26 17:11:58,201 - DEBUG - Requesting: http://10.0.0.49:8082/project/b6742a02-4354-464a-ac25-ba60c507aff7 2024-08-26 17:11:58,276 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/a2488187-e393-4813-b421-020407d786c5 2024-08-26 17:11:58,286 - DEBUG - ==>Verifying data for policy with id: 589a4db2-c951-4385-8004-3356942ac46e, fqn: ['default-domain', 'ctest-TestBasicPolicy-66862624', 'ctest-policy-allow-all-47578058'] 2024-08-26 17:11:58,286 - INFO - VN ctest-vn-38346263 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-26 17:11:58,286 - DEBUG - Verifying the vn in opserver 2024-08-26 17:11:58,286 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66862624:ctest-vn-38346263 virtual network link through opserver 10.0.0.49 2024-08-26 17:11:58,286 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2024-08-26 17:11:58,298 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66862624:ctest-vn-38346263', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66862624:ctest-vn-38346263?flat'} 2024-08-26 17:11:58,298 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66862624:ctest-vn-38346263 is found in opserver 2024-08-26 17:11:58,309 - DEBUG - Do not have enough data to verify VN in agent 2024-08-26 17:11:58,315 - DEBUG - VRF ids for VN ctest-vn-38346263: {} 2024-08-26 17:11:58,373 - DEBUG - Services list from nova: [, , ] 2024-08-26 17:11:59,516 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1765-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1765-1) 2024-08-26 17:12:00,741 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1765-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1765-1) 2024-08-26 17:12:00,741 - INFO - Waiting for VM ctest-TestBasicPolicy-66862624-71154202 to be up.. 2024-08-26 17:12:00,846 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-26 17:12:05,939 - DEBUG - VM is in ACTIVE state now 2024-08-26 17:12:05,939 - INFO - VM name : ctest-TestBasicPolicy-66862624-71154202 2024-08-26 17:12:06,031 - DEBUG - VM ctest-TestBasicPolicy-66862624-71154202 ID is 67ef2076-fe41-4baa-9fda-776014e9145d 2024-08-26 17:12:06,052 - DEBUG - VM ctest-TestBasicPolicy-66862624-71154202 launched on Node cn-jenkins-deploy-platform-ansible-os-1765-1 2024-08-26 17:12:06,142 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/67ef2076-fe41-4baa-9fda-776014e9145d 2024-08-26 17:12:06,150 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/faba4953-5af3-4e9c-afee-d28f1c58397a 2024-08-26 17:12:09,400 - 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 1002ms') 2024-08-26 17:12:09,400 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66862624-71154202 failed! 2024-08-26 17:12:09,453 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66862624:ctest-vn-94837702 is 30.69.53.193 and allocation pool is NOT set 2024-08-26 17:12:11,519 - 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=11.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.46 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 = 2.461/6.797/11.134/4.336 ms') 2024-08-26 17:12:11,519 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66862624-71154202 passed 2024-08-26 17:12:11,669 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 17:12:11,669 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66862624-71154202, IP 30.69.53.195, Port 22 2024-08-26 17:12:11,847 - DEBUG - VM ctest-TestBasicPolicy-66862624-71154202 is ready for SSH connections 2024-08-26 17:12:11,847 - INFO - Waiting for VM ctest-TestBasicPolicy-66862624-13714077 to be up.. 2024-08-26 17:12:11,949 - DEBUG - VM is in ACTIVE state now 2024-08-26 17:12:11,949 - INFO - VM name : ctest-TestBasicPolicy-66862624-13714077 2024-08-26 17:12:12,050 - DEBUG - VM ctest-TestBasicPolicy-66862624-13714077 ID is b5701798-61a4-4109-984e-c398f2bc7178 2024-08-26 17:12:12,050 - DEBUG - VM ctest-TestBasicPolicy-66862624-13714077 launched on Node cn-jenkins-deploy-platform-ansible-os-1765-1 2024-08-26 17:12:12,142 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/b5701798-61a4-4109-984e-c398f2bc7178 2024-08-26 17:12:12,153 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/5deeaae7-17c2-4cc0-bc77-64053ae22181 2024-08-26 17:12:13,394 - 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=3.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.500 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.500/1.772/3.045/1.272 ms') 2024-08-26 17:12:13,394 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-66862624-13714077 passed 2024-08-26 17:12:13,545 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 17:12:13,545 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66862624-13714077, IP 8.5.117.195, Port 22 2024-08-26 17:12:13,722 - DEBUG - VM ctest-TestBasicPolicy-66862624-13714077 is ready for SSH connections 2024-08-26 17:12:13,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 17:12:13,723 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.5.117.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2024-08-26 17:12:13,723 - DEBUG - ping -s 56 -c 3 -W 1 8.5.117.195 2024-08-26 17:12:17,425 - DEBUG - PING 8.5.117.195 (8.5.117.195): 56 data bytes 64 bytes from 8.5.117.195: seq=0 ttl=63 time=3.981 ms 64 bytes from 8.5.117.195: seq=1 ttl=63 time=0.863 ms 64 bytes from 8.5.117.195: seq=2 ttl=63 time=0.857 ms --- 8.5.117.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.857/1.900/3.981 ms 2024-08-26 17:12:17,426 - INFO - Ping to IP 8.5.117.195 from VM ctest-TestBasicPolicy-66862624-71154202 passed 2024-08-26 17:12:17,628 - DEBUG - Policy Update Response {"network-policy": {"uuid": "589a4db2-c951-4385-8004-3356942ac46e", "href": "http://10.0.0.49:8082/network-policy/589a4db2-c951-4385-8004-3356942ac46e"}} 2024-08-26 17:12:17,629 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 17:12:17,629 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.5.117.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2024-08-26 17:12:17,629 - DEBUG - ping -s 56 -c 3 -W 1 8.5.117.195 2024-08-26 17:12:20,828 - DEBUG - PING 8.5.117.195 (8.5.117.195): 56 data bytes 64 bytes from 8.5.117.195: seq=0 ttl=63 time=1.589 ms --- 8.5.117.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.589/1.589/1.589 ms 2024-08-26 17:12:20,828 - WARNING - Ping to IP 8.5.117.195 from VM ctest-TestBasicPolicy-66862624-71154202 failed 2024-08-26 17:12:20,828 - INFO - Deleting VM ctest-TestBasicPolicy-66862624-13714077 2024-08-26 17:12:20,901 - INFO - Deleting VM ctest-TestBasicPolicy-66862624-71154202 2024-08-26 17:12:21,329 - INFO - Deleted policy ctest-policy-allow-all-47578058 2024-08-26 17:12:21,329 - INFO - Deleting VN ctest-vn-38346263 2024-08-26 17:12:21,371 - DEBUG - VN a2488187-e393-4813-b421-020407d786c5 still in use: Unable to complete operation on network a2488187-e393-4813-b421-020407d786c5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4caae9c7-275c-4a26-b28d-7010bb84169e'] 2024-08-26 17:12:21,371 - WARNING - Deleting VN ctest-vn-38346263 failed..Will retry 2024-08-26 17:12:23,477 - DEBUG - Response for deleting network () 2024-08-26 17:12:23,477 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/464b263d-80ed-4cc8-b868-b5428af583ef 2024-08-26 17:12:23,484 - DEBUG - Response Code: 404 2024-08-26 17:12:23,485 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2024-08-26 17:12:23,492 - DEBUG - Requesting: http://10.0.0.49:8082/domain/9e9e06ac-c228-4643-92b8-2538ac4f5e85 2024-08-26 17:12:23,552 - DEBUG - Requesting: http://10.0.0.49:8082/project/b6742a02-4354-464a-ac25-ba60c507aff7 2024-08-26 17:12:23,628 - INFO - Validated that VN ctest-vn-38346263 is not found in API Server 2024-08-26 17:12:23,641 - DEBUG - VN ctest-vn-38346263 is not present in Agent 10.0.0.49 2024-08-26 17:12:23,641 - INFO - Validated that VN ctest-vn-38346263 is not in any agent 2024-08-26 17:12:23,658 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38346263 info 2024-08-26 17:12:23,658 - INFO - Deleting VN ctest-vn-94837702 2024-08-26 17:12:23,775 - DEBUG - Response for deleting network () 2024-08-26 17:12:23,775 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/7af0ef4e-1505-4269-84d9-4ca6725b7ef7 2024-08-26 17:12:23,784 - DEBUG - Response Code: 404 2024-08-26 17:12:23,784 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2024-08-26 17:12:23,791 - DEBUG - Requesting: http://10.0.0.49:8082/domain/9e9e06ac-c228-4643-92b8-2538ac4f5e85 2024-08-26 17:12:23,846 - DEBUG - Requesting: http://10.0.0.49:8082/project/b6742a02-4354-464a-ac25-ba60c507aff7 2024-08-26 17:12:23,918 - INFO - Validated that VN ctest-vn-94837702 is not found in API Server 2024-08-26 17:12:23,931 - DEBUG - VN ctest-vn-94837702 is not present in Agent 10.0.0.49 2024-08-26 17:12:23,931 - INFO - Validated that VN ctest-vn-94837702 is not in any agent 2024-08-26 17:12:23,950 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94837702 info 2024-08-26 17:12:24,212 - DEBUG - No XMPP flaps were noticed during the test
2024-08-26 17:12:24,213 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2024-08-26 17:12:24,213 - INFO - -------------------------------------------------------------------------------- 2024-08-26 17:12:24,937 - INFO - Deleted project: ctest-TestBasicPolicy-66862624, ID : b6742a02-4354-464a-ac25-ba60c507aff7