2024-11-10 21:59:46,058 - INFO - Domain Default found not creating 2024-11-10 21:59:46,233 - INFO - Project ctest-TestBasicPolicy-77525375 not found, creating it 2024-11-10 21:59:46,786 - INFO - Created Project:ctest-TestBasicPolicy-77525375, ID : 0bda7324-0ab7-492a-a563-150660efb987 2024-11-10 21:59:48,284 - INFO - ================================================================================ 2024-11-10 21:59:48,284 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-11-10 21:59:48,284 - 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-10 21:59:48,543 - DEBUG - Nothing to compare xmpp stats {'10.0.0.44': {'10.20.0.6': '0'}} with 2024-11-10 21:59:48,543 - INFO - Initial checks done. Running the testcase now 2024-11-10 21:59:48,543 - INFO - 2024-11-10 21:59:49,118 - DEBUG - Response for create_network : {'network': {'id': '41d063f5-c771-4fae-9be4-731ae9494d7f', 'name': 'ctest-vn-01522478', 'tenant_id': '0bda73240ab7492aa563150660efb987', 'project_id': '0bda73240ab7492aa563150660efb987', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77525375', 'ctest-vn-01522478'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 21:59:49,298 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a7702819-9275-470a-87da-848e745b4ee3', 'name': '', 'tenant_id': '0bda73240ab7492aa563150660efb987', 'network_id': '41d063f5-c771-4fae-9be4-731ae9494d7f', 'ip_version': 4, 'cidr': '208.189.10.0/26', 'allocation_pools': [{'start': '208.189.10.2', 'end': '208.189.10.62'}], 'gateway_ip': '208.189.10.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.189.10.2', 'tags': [], 'project_id': '0bda73240ab7492aa563150660efb987'}} 2024-11-10 21:59:49,320 - INFO - Created VN ctest-vn-01522478 2024-11-10 21:59:49,384 - DEBUG - VN ctest-vn-01522478 UUID is 41d063f5-c771-4fae-9be4-731ae9494d7f 2024-11-10 21:59:49,703 - DEBUG - Response for create_network : {'network': {'id': '00935677-fecf-49ce-b18e-e6f7e574d058', 'name': 'ctest-vn-30847696', 'tenant_id': '0bda73240ab7492aa563150660efb987', 'project_id': '0bda73240ab7492aa563150660efb987', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77525375', 'ctest-vn-30847696'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 21:59:49,926 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd50dafec-5981-4e74-a584-b2125c3fa0dd', 'name': '', 'tenant_id': '0bda73240ab7492aa563150660efb987', 'network_id': '00935677-fecf-49ce-b18e-e6f7e574d058', 'ip_version': 4, 'cidr': '29.172.34.0/26', 'allocation_pools': [{'start': '29.172.34.2', 'end': '29.172.34.62'}], 'gateway_ip': '29.172.34.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.172.34.2', 'tags': [], 'project_id': '0bda73240ab7492aa563150660efb987'}} 2024-11-10 21:59:49,946 - INFO - Created VN ctest-vn-30847696 2024-11-10 21:59:50,004 - DEBUG - VN ctest-vn-30847696 UUID is 00935677-fecf-49ce-b18e-e6f7e574d058 2024-11-10 21:59:50,128 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-77525375:ctest-vn-01522478, 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-77525375:ctest-vn-30847696, 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-10 21:59:50,439 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '41d063f5-c771-4fae-9be4-731ae9494d7f', 'name': 'ctest-vn-01522478', 'tenant_id': '0bda73240ab7492aa563150660efb987', 'project_id': '0bda73240ab7492aa563150660efb987', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a7702819-9275-470a-87da-848e745b4ee3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77525375', 'ctest-vn-01522478'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77525375', 'ctest-policy-allow-all-65390693']], 'subnet_ipam': [{'subnet_cidr': '208.189.10.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-10 21:59:50,901 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '00935677-fecf-49ce-b18e-e6f7e574d058', 'name': 'ctest-vn-30847696', 'tenant_id': '0bda73240ab7492aa563150660efb987', 'project_id': '0bda73240ab7492aa563150660efb987', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d50dafec-5981-4e74-a584-b2125c3fa0dd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77525375', 'ctest-vn-30847696'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77525375', 'ctest-policy-allow-all-65390693']], 'subnet_ipam': [{'subnet_cidr': '29.172.34.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-10 21:59:51,154 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2024-11-10 21:59:51,479 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2024-11-10 21:59:51,515 - DEBUG - Requesting: http://10.0.0.44:8082/domain/7e64206e-1ccd-4d95-8710-042adc194862 2024-11-10 21:59:51,531 - DEBUG - Requesting: http://10.0.0.44:8082/project/0bda7324-0ab7-492a-a563-150660efb987 2024-11-10 21:59:51,613 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/41d063f5-c771-4fae-9be4-731ae9494d7f 2024-11-10 21:59:51,629 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/41d063f5-c771-4fae-9be4-731ae9494d7f 2024-11-10 21:59:51,642 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/13b6dd27-9d28-42c4-a0af-6a2a5d4c54d8 2024-11-10 21:59:51,653 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/13b6dd27-9d28-42c4-a0af-6a2a5d4c54d8 2024-11-10 21:59:51,662 - DEBUG - Requesting: http://10.0.0.44:8082/route-target/429cee2a-e185-4a35-8ac0-ac8eccb63390 2024-11-10 21:59:51,670 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-10 21:59:51,670 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/41d063f5-c771-4fae-9be4-731ae9494d7f 2024-11-10 21:59:51,688 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/13b6dd27-9d28-42c4-a0af-6a2a5d4c54d8 2024-11-10 21:59:51,708 - INFO - Verified VN network id 9 for VN 41d063f5-c771-4fae-9be4-731ae9494d7f 2024-11-10 21:59:51,709 - INFO - Verifications in API Server for VN ctest-vn-01522478 passed 2024-11-10 21:59:51,709 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/41d063f5-c771-4fae-9be4-731ae9494d7f 2024-11-10 21:59:51,722 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/13b6dd27-9d28-42c4-a0af-6a2a5d4c54d8 2024-11-10 21:59:51,729 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/13b6dd27-9d28-42c4-a0af-6a2a5d4c54d8 2024-11-10 21:59:51,737 - DEBUG - Requesting: http://10.0.0.44:8082/route-target/429cee2a-e185-4a35-8ac0-ac8eccb63390 2024-11-10 21:59:51,749 - DEBUG - Control-node 10.0.0.44 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77525375:ctest-vn-01522478', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77525375', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4742400314885361582', 'uuid-lslong': '11233229929989098879'}, 'enable': 'true', 'created': '2024-11-10T21:59:49', 'last-modified': '2024-11-10T21:59:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.338677'} 2024-11-10 21:59:51,755 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-10 21:59:51,755 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01522478 passed 2024-11-10 21:59:51,755 - DEBUG - ====Verifying policy data for ctest-vn-01522478 in API_Server ====== 2024-11-10 21:59:51,756 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2024-11-10 21:59:51,761 - DEBUG - Requesting: http://10.0.0.44:8082/domain/7e64206e-1ccd-4d95-8710-042adc194862 2024-11-10 21:59:51,772 - DEBUG - Requesting: http://10.0.0.44:8082/project/0bda7324-0ab7-492a-a563-150660efb987 2024-11-10 21:59:51,854 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/41d063f5-c771-4fae-9be4-731ae9494d7f 2024-11-10 21:59:51,867 - DEBUG - ==>Verifying data for policy with id: 9eab0227-43df-418e-9923-d896f0b33cc5, fqn: ['default-domain', 'ctest-TestBasicPolicy-77525375', 'ctest-policy-allow-all-65390693'] 2024-11-10 21:59:51,867 - INFO - VN ctest-vn-01522478 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-10 21:59:51,867 - DEBUG - Verifying the vn in opserver 2024-11-10 21:59:51,867 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77525375:ctest-vn-01522478 virtual network link through opserver 10.0.0.44 2024-11-10 21:59:51,867 - DEBUG - Requesting: http://10.0.0.44:8081/analytics/uves/virtual-networks 2024-11-10 21:59:52,167 - DEBUG - Requesting: http://10.0.0.44:8081/analytics/uves/virtual-networks 2024-11-10 21:59:52,225 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77525375:ctest-vn-01522478', 'href': 'http://10.0.0.44:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77525375:ctest-vn-01522478?flat'} 2024-11-10 21:59:52,225 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77525375:ctest-vn-01522478 is found in opserver 2024-11-10 21:59:52,235 - DEBUG - Do not have enough data to verify VN in agent 2024-11-10 21:59:52,239 - DEBUG - VRF ids for VN ctest-vn-01522478: {} 2024-11-10 21:59:52,239 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2024-11-10 21:59:52,244 - DEBUG - Requesting: http://10.0.0.44:8082/domain/7e64206e-1ccd-4d95-8710-042adc194862 2024-11-10 21:59:52,257 - DEBUG - Requesting: http://10.0.0.44:8082/project/0bda7324-0ab7-492a-a563-150660efb987 2024-11-10 21:59:52,351 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/00935677-fecf-49ce-b18e-e6f7e574d058 2024-11-10 21:59:52,367 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/00935677-fecf-49ce-b18e-e6f7e574d058 2024-11-10 21:59:52,383 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/f38f5c9d-268e-4097-8cdf-d48a2fb041b9 2024-11-10 21:59:52,392 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/f38f5c9d-268e-4097-8cdf-d48a2fb041b9 2024-11-10 21:59:52,400 - DEBUG - Requesting: http://10.0.0.44:8082/route-target/9d041b6c-be0d-4393-88f9-10bf5dec4e10 2024-11-10 21:59:52,407 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-10 21:59:52,407 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/00935677-fecf-49ce-b18e-e6f7e574d058 2024-11-10 21:59:52,419 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/f38f5c9d-268e-4097-8cdf-d48a2fb041b9 2024-11-10 21:59:52,443 - INFO - Verified VN network id 10 for VN 00935677-fecf-49ce-b18e-e6f7e574d058 2024-11-10 21:59:52,444 - INFO - Verifications in API Server for VN ctest-vn-30847696 passed 2024-11-10 21:59:52,444 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/00935677-fecf-49ce-b18e-e6f7e574d058 2024-11-10 21:59:52,457 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/f38f5c9d-268e-4097-8cdf-d48a2fb041b9 2024-11-10 21:59:52,465 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/f38f5c9d-268e-4097-8cdf-d48a2fb041b9 2024-11-10 21:59:52,473 - DEBUG - Requesting: http://10.0.0.44:8082/route-target/9d041b6c-be0d-4393-88f9-10bf5dec4e10 2024-11-10 21:59:52,486 - DEBUG - Control-node 10.0.0.44 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77525375:ctest-vn-30847696', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77525375', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '41471894952561102', 'uuid-lslong': '12794417543787106392'}, 'enable': 'true', 'created': '2024-11-10T21:59:49', 'last-modified': '2024-11-10T21:59:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.692130'} 2024-11-10 21:59:52,493 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-10 21:59:52,493 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30847696 passed 2024-11-10 21:59:52,493 - DEBUG - ====Verifying policy data for ctest-vn-30847696 in API_Server ====== 2024-11-10 21:59:52,493 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2024-11-10 21:59:52,498 - DEBUG - Requesting: http://10.0.0.44:8082/domain/7e64206e-1ccd-4d95-8710-042adc194862 2024-11-10 21:59:52,509 - DEBUG - Requesting: http://10.0.0.44:8082/project/0bda7324-0ab7-492a-a563-150660efb987 2024-11-10 21:59:52,596 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/00935677-fecf-49ce-b18e-e6f7e574d058 2024-11-10 21:59:52,612 - DEBUG - ==>Verifying data for policy with id: 9eab0227-43df-418e-9923-d896f0b33cc5, fqn: ['default-domain', 'ctest-TestBasicPolicy-77525375', 'ctest-policy-allow-all-65390693'] 2024-11-10 21:59:52,612 - INFO - VN ctest-vn-30847696 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-10 21:59:52,612 - DEBUG - Verifying the vn in opserver 2024-11-10 21:59:52,612 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77525375:ctest-vn-30847696 virtual network link through opserver 10.0.0.44 2024-11-10 21:59:52,612 - DEBUG - Requesting: http://10.0.0.44:8081/analytics/uves/virtual-networks 2024-11-10 21:59:52,624 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77525375:ctest-vn-30847696', 'href': 'http://10.0.0.44:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77525375:ctest-vn-30847696?flat'} 2024-11-10 21:59:52,624 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77525375:ctest-vn-30847696 is found in opserver 2024-11-10 21:59:52,637 - DEBUG - Do not have enough data to verify VN in agent 2024-11-10 21:59:52,642 - DEBUG - VRF ids for VN ctest-vn-30847696: {} 2024-11-10 21:59:52,714 - DEBUG - Services list from nova: [, , ] 2024-11-10 21:59:53,847 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2267-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2267-1) 2024-11-10 21:59:55,209 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2267-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2267-1) 2024-11-10 21:59:55,209 - INFO - Waiting for VM ctest-TestBasicPolicy-77525375-24229108 to be up.. 2024-11-10 21:59:55,318 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 22:00:00,412 - DEBUG - VM is in ACTIVE state now 2024-11-10 22:00:00,412 - INFO - VM name : ctest-TestBasicPolicy-77525375-24229108 2024-11-10 22:00:00,492 - DEBUG - VM ctest-TestBasicPolicy-77525375-24229108 ID is 7cf7c7fe-eb5c-4e6e-8d8c-625a1a39db07 2024-11-10 22:00:00,511 - DEBUG - VM ctest-TestBasicPolicy-77525375-24229108 launched on Node cn-jenkins-deploy-platform-ansible-os-2267-1 2024-11-10 22:00:00,603 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/7cf7c7fe-eb5c-4e6e-8d8c-625a1a39db07 2024-11-10 22:00:00,613 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/f0f1383f-58b8-4009-9437-6736cf77ab63 2024-11-10 22:00:03,898 - 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 1030ms') 2024-11-10 22:00:03,898 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77525375-24229108 failed! 2024-11-10 22:00:03,964 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-77525375:ctest-vn-01522478 is 208.189.10.1 and allocation pool is NOT set 2024-11-10 22:00:06,019 - 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=2.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.645 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.645/1.818/2.992/1.173 ms') 2024-11-10 22:00:06,020 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77525375-24229108 passed 2024-11-10 22:00:06,188 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 22:00:06,188 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77525375-24229108, IP 208.189.10.3, Port 22 2024-11-10 22:00:06,353 - DEBUG - VM ctest-TestBasicPolicy-77525375-24229108 is ready for SSH connections 2024-11-10 22:00:06,353 - INFO - Waiting for VM ctest-TestBasicPolicy-77525375-93198937 to be up.. 2024-11-10 22:00:06,444 - DEBUG - VM is in ACTIVE state now 2024-11-10 22:00:06,444 - INFO - VM name : ctest-TestBasicPolicy-77525375-93198937 2024-11-10 22:00:06,533 - DEBUG - VM ctest-TestBasicPolicy-77525375-93198937 ID is 916e6ce7-6414-443c-97dd-3b747bf3070c 2024-11-10 22:00:06,533 - DEBUG - VM ctest-TestBasicPolicy-77525375-93198937 launched on Node cn-jenkins-deploy-platform-ansible-os-2267-1 2024-11-10 22:00:06,618 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/916e6ce7-6414-443c-97dd-3b747bf3070c 2024-11-10 22:00:06,628 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/9d3a6a38-18ac-4836-badf-a1881c1a1210 2024-11-10 22:00:07,877 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.417 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.417/1.895/3.373/1.478 ms') 2024-11-10 22:00:07,878 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-77525375-93198937 passed 2024-11-10 22:00:08,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 22:00:08,040 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77525375-93198937, IP 29.172.34.3, Port 22 2024-11-10 22:00:08,200 - DEBUG - VM ctest-TestBasicPolicy-77525375-93198937 is ready for SSH connections 2024-11-10 22:00:08,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 22:00:08,200 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.172.34.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123 2024-11-10 22:00:08,200 - DEBUG - ping -s 56 -c 3 -W 1 29.172.34.3 2024-11-10 22:00:11,870 - DEBUG - PING 29.172.34.3 (29.172.34.3): 56 data bytes 64 bytes from 29.172.34.3: seq=0 ttl=63 time=3.141 ms 64 bytes from 29.172.34.3: seq=1 ttl=63 time=1.262 ms 64 bytes from 29.172.34.3: seq=2 ttl=63 time=1.141 ms --- 29.172.34.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.141/1.848/3.141 ms 2024-11-10 22:00:11,870 - INFO - Ping to IP 29.172.34.3 from VM ctest-TestBasicPolicy-77525375-24229108 passed 2024-11-10 22:00:12,071 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9eab0227-43df-418e-9923-d896f0b33cc5", "href": "http://10.0.0.44:8082/network-policy/9eab0227-43df-418e-9923-d896f0b33cc5"}} 2024-11-10 22:00:12,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 22:00:12,072 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.172.34.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123 2024-11-10 22:00:12,072 - DEBUG - ping -s 56 -c 3 -W 1 29.172.34.3 2024-11-10 22:00:15,271 - DEBUG - PING 29.172.34.3 (29.172.34.3): 56 data bytes 64 bytes from 29.172.34.3: seq=0 ttl=63 time=1.639 ms --- 29.172.34.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.639/1.639/1.639 ms 2024-11-10 22:00:15,271 - WARNING - Ping to IP 29.172.34.3 from VM ctest-TestBasicPolicy-77525375-24229108 failed 2024-11-10 22:00:15,271 - INFO - Deleting VM ctest-TestBasicPolicy-77525375-93198937 2024-11-10 22:00:15,345 - INFO - Deleting VM ctest-TestBasicPolicy-77525375-24229108 2024-11-10 22:00:15,759 - INFO - Deleted policy ctest-policy-allow-all-65390693 2024-11-10 22:00:15,759 - INFO - Deleting VN ctest-vn-30847696 2024-11-10 22:00:15,801 - DEBUG - VN 00935677-fecf-49ce-b18e-e6f7e574d058 still in use: Unable to complete operation on network 00935677-fecf-49ce-b18e-e6f7e574d058. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6ba62d04-fb36-45ac-bb58-013936a57081'] 2024-11-10 22:00:15,801 - WARNING - Deleting VN ctest-vn-30847696 failed..Will retry 2024-11-10 22:00:17,914 - DEBUG - Response for deleting network () 2024-11-10 22:00:17,914 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/f38f5c9d-268e-4097-8cdf-d48a2fb041b9 2024-11-10 22:00:17,926 - DEBUG - Response Code: 404 2024-11-10 22:00:17,926 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2024-11-10 22:00:17,932 - DEBUG - Requesting: http://10.0.0.44:8082/domain/7e64206e-1ccd-4d95-8710-042adc194862 2024-11-10 22:00:17,985 - DEBUG - Requesting: http://10.0.0.44:8082/project/0bda7324-0ab7-492a-a563-150660efb987 2024-11-10 22:00:18,064 - INFO - Validated that VN ctest-vn-30847696 is not found in API Server 2024-11-10 22:00:18,075 - DEBUG - VN ctest-vn-30847696 is not present in Agent 10.0.0.44 2024-11-10 22:00:18,075 - INFO - Validated that VN ctest-vn-30847696 is not in any agent 2024-11-10 22:00:18,090 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30847696 info 2024-11-10 22:00:18,091 - INFO - Deleting VN ctest-vn-01522478 2024-11-10 22:00:18,195 - DEBUG - Response for deleting network () 2024-11-10 22:00:18,196 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/13b6dd27-9d28-42c4-a0af-6a2a5d4c54d8 2024-11-10 22:00:18,203 - DEBUG - Response Code: 404 2024-11-10 22:00:18,204 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2024-11-10 22:00:18,209 - DEBUG - Requesting: http://10.0.0.44:8082/domain/7e64206e-1ccd-4d95-8710-042adc194862 2024-11-10 22:00:18,261 - DEBUG - Requesting: http://10.0.0.44:8082/project/0bda7324-0ab7-492a-a563-150660efb987 2024-11-10 22:00:18,339 - INFO - Validated that VN ctest-vn-01522478 is not found in API Server 2024-11-10 22:00:18,350 - DEBUG - VN ctest-vn-01522478 is not present in Agent 10.0.0.44 2024-11-10 22:00:18,350 - INFO - Validated that VN ctest-vn-01522478 is not in any agent 2024-11-10 22:00:18,365 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01522478 info 2024-11-10 22:00:18,616 - DEBUG - No XMPP flaps were noticed during the test 2024-11-10 22:00:18,616 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2024-11-10 22:00:18,617 - INFO - -------------------------------------------------------------------------------- 2024-11-10 22:00:19,302 - INFO - Deleted project: ctest-TestBasicPolicy-77525375, ID : 0bda7324-0ab7-492a-a563-150660efb987