2024-09-18 05:02:45,978 - INFO - Domain Default found not creating 2024-09-18 05:02:46,158 - INFO - Project ctest-TestBasicPolicy-79831507 not found, creating it 2024-09-18 05:02:46,669 - INFO - Created Project:ctest-TestBasicPolicy-79831507, ID : 95adf7c9-3e81-495f-ad27-fb63442015c2 2024-09-18 05:02:48,300 - INFO - ================================================================================ 2024-09-18 05:02:48,300 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-18 05:02:48,300 - 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-18 05:02:48,554 - DEBUG - Nothing to compare xmpp stats {'10.0.0.55': {'10.20.0.12': '0'}} with 2024-09-18 05:02:48,555 - INFO - Initial checks done. Running the testcase now 2024-09-18 05:02:48,555 - INFO - 2024-09-18 05:02:49,183 - DEBUG - Response for create_network : {'network': {'id': '3831b6b4-d997-4f94-80db-96571b4fa8e4', 'name': 'ctest-vn-28806314', 'tenant_id': '95adf7c93e81495fad27fb63442015c2', 'project_id': '95adf7c93e81495fad27fb63442015c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79831507', 'ctest-vn-28806314'], 'port_security_enabled': True, 'description': ''}} 2024-09-18 05:02:49,474 - DEBUG - Response for create_subnet : {'subnet': {'id': '49ab8fa3-bb4c-43e5-8914-b88fe243f488', 'name': '', 'tenant_id': '95adf7c93e81495fad27fb63442015c2', 'network_id': '3831b6b4-d997-4f94-80db-96571b4fa8e4', 'ip_version': 4, 'cidr': '80.23.19.64/26', 'allocation_pools': [{'start': '80.23.19.66', 'end': '80.23.19.126'}], 'gateway_ip': '80.23.19.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.23.19.66', 'tags': [], 'project_id': '95adf7c93e81495fad27fb63442015c2'}} 2024-09-18 05:02:49,495 - INFO - Created VN ctest-vn-28806314 2024-09-18 05:02:49,556 - DEBUG - VN ctest-vn-28806314 UUID is 3831b6b4-d997-4f94-80db-96571b4fa8e4 2024-09-18 05:02:49,899 - DEBUG - Response for create_network : {'network': {'id': '76f3951e-1a6e-4d94-8430-340447e34fa2', 'name': 'ctest-vn-52798467', 'tenant_id': '95adf7c93e81495fad27fb63442015c2', 'project_id': '95adf7c93e81495fad27fb63442015c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79831507', 'ctest-vn-52798467'], 'port_security_enabled': True, 'description': ''}} 2024-09-18 05:02:50,132 - DEBUG - Response for create_subnet : {'subnet': {'id': '76025d85-053b-46af-be78-483e6e36fcd9', 'name': '', 'tenant_id': '95adf7c93e81495fad27fb63442015c2', 'network_id': '76f3951e-1a6e-4d94-8430-340447e34fa2', 'ip_version': 4, 'cidr': '5.253.176.0/26', 'allocation_pools': [{'start': '5.253.176.2', 'end': '5.253.176.62'}], 'gateway_ip': '5.253.176.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.253.176.2', 'tags': [], 'project_id': '95adf7c93e81495fad27fb63442015c2'}} 2024-09-18 05:02:50,153 - INFO - Created VN ctest-vn-52798467 2024-09-18 05:02:50,212 - DEBUG - VN ctest-vn-52798467 UUID is 76f3951e-1a6e-4d94-8430-340447e34fa2 2024-09-18 05:02:50,347 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-79831507:ctest-vn-28806314, 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-79831507:ctest-vn-52798467, 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-18 05:02:50,682 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3831b6b4-d997-4f94-80db-96571b4fa8e4', 'name': 'ctest-vn-28806314', 'tenant_id': '95adf7c93e81495fad27fb63442015c2', 'project_id': '95adf7c93e81495fad27fb63442015c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['49ab8fa3-bb4c-43e5-8914-b88fe243f488'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79831507', 'ctest-vn-28806314'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79831507', 'ctest-policy-allow-all-10477647']], 'subnet_ipam': [{'subnet_cidr': '80.23.19.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-18 05:02:50,952 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '76f3951e-1a6e-4d94-8430-340447e34fa2', 'name': 'ctest-vn-52798467', 'tenant_id': '95adf7c93e81495fad27fb63442015c2', 'project_id': '95adf7c93e81495fad27fb63442015c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['76025d85-053b-46af-be78-483e6e36fcd9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79831507', 'ctest-vn-52798467'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79831507', 'ctest-policy-allow-all-10477647']], 'subnet_ipam': [{'subnet_cidr': '5.253.176.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-18 05:02:51,116 - DEBUG - Requesting: http://10.0.0.55:8082/domains 2024-09-18 05:02:51,425 - DEBUG - Requesting: http://10.0.0.55:8082/domains 2024-09-18 05:02:51,459 - DEBUG - Requesting: http://10.0.0.55:8082/domain/39a159ba-11b2-44d3-967b-adba3792bf57 2024-09-18 05:02:51,475 - DEBUG - Requesting: http://10.0.0.55:8082/project/95adf7c9-3e81-495f-ad27-fb63442015c2 2024-09-18 05:02:51,581 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-network/3831b6b4-d997-4f94-80db-96571b4fa8e4 2024-09-18 05:02:51,601 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-network/3831b6b4-d997-4f94-80db-96571b4fa8e4 2024-09-18 05:02:51,616 - DEBUG - Requesting: http://10.0.0.55:8082/routing-instance/1a905738-2ee9-44e3-ba46-330f303d26b9 2024-09-18 05:02:51,626 - DEBUG - Requesting: http://10.0.0.55:8082/routing-instance/1a905738-2ee9-44e3-ba46-330f303d26b9 2024-09-18 05:02:51,637 - DEBUG - Requesting: http://10.0.0.55:8082/route-target/ccaffef0-d462-4f31-963c-53d40dfcde54 2024-09-18 05:02:51,645 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-18 05:02:51,645 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-network/3831b6b4-d997-4f94-80db-96571b4fa8e4 2024-09-18 05:02:51,660 - DEBUG - Requesting: http://10.0.0.55:8082/routing-instance/1a905738-2ee9-44e3-ba46-330f303d26b9 2024-09-18 05:02:51,684 - INFO - Verified VN network id 8 for VN 3831b6b4-d997-4f94-80db-96571b4fa8e4 2024-09-18 05:02:51,685 - INFO - Verifications in API Server for VN ctest-vn-28806314 passed 2024-09-18 05:02:51,685 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-network/3831b6b4-d997-4f94-80db-96571b4fa8e4 2024-09-18 05:02:51,700 - DEBUG - Requesting: http://10.0.0.55:8082/routing-instance/1a905738-2ee9-44e3-ba46-330f303d26b9 2024-09-18 05:02:51,710 - DEBUG - Requesting: http://10.0.0.55:8082/routing-instance/1a905738-2ee9-44e3-ba46-330f303d26b9 2024-09-18 05:02:51,721 - DEBUG - Requesting: http://10.0.0.55:8082/route-target/ccaffef0-d462-4f31-963c-53d40dfcde54 2024-09-18 05:02:51,737 - DEBUG - Control-node 10.0.0.55 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79831507:ctest-vn-28806314', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79831507', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4049218427843727252', 'uuid-lslong': '9285180357618936036'}, 'enable': 'true', 'created': '2024-09-18T05:02:49', 'last-modified': '2024-09-18T05:02:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.084230'} 2024-09-18 05:02:51,745 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-18 05:02:51,745 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28806314 passed 2024-09-18 05:02:51,745 - DEBUG - ====Verifying policy data for ctest-vn-28806314 in API_Server ====== 2024-09-18 05:02:51,745 - DEBUG - Requesting: http://10.0.0.55:8082/domains 2024-09-18 05:02:51,752 - DEBUG - Requesting: http://10.0.0.55:8082/domain/39a159ba-11b2-44d3-967b-adba3792bf57 2024-09-18 05:02:51,765 - DEBUG - Requesting: http://10.0.0.55:8082/project/95adf7c9-3e81-495f-ad27-fb63442015c2 2024-09-18 05:02:51,849 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-network/3831b6b4-d997-4f94-80db-96571b4fa8e4 2024-09-18 05:02:51,862 - DEBUG - ==>Verifying data for policy with id: f4d752ee-f535-4b60-bfd1-5e38c11b97d9, fqn: ['default-domain', 'ctest-TestBasicPolicy-79831507', 'ctest-policy-allow-all-10477647'] 2024-09-18 05:02:51,863 - INFO - VN ctest-vn-28806314 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-18 05:02:51,863 - DEBUG - Verifying the vn in opserver 2024-09-18 05:02:51,863 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79831507:ctest-vn-28806314 virtual network link through opserver 10.0.0.55 2024-09-18 05:02:51,863 - DEBUG - Requesting: http://10.0.0.55:8081/analytics/uves/virtual-networks 2024-09-18 05:02:52,164 - DEBUG - Requesting: http://10.0.0.55:8081/analytics/uves/virtual-networks 2024-09-18 05:02:52,236 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79831507:ctest-vn-28806314', 'href': 'http://10.0.0.55:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79831507:ctest-vn-28806314?flat'} 2024-09-18 05:02:52,236 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79831507:ctest-vn-28806314 is found in opserver 2024-09-18 05:02:52,250 - DEBUG - Do not have enough data to verify VN in agent 2024-09-18 05:02:52,257 - DEBUG - VRF ids for VN ctest-vn-28806314: {} 2024-09-18 05:02:52,257 - DEBUG - Requesting: http://10.0.0.55:8082/domains 2024-09-18 05:02:52,263 - DEBUG - Requesting: http://10.0.0.55:8082/domain/39a159ba-11b2-44d3-967b-adba3792bf57 2024-09-18 05:02:52,280 - DEBUG - Requesting: http://10.0.0.55:8082/project/95adf7c9-3e81-495f-ad27-fb63442015c2 2024-09-18 05:02:52,370 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-network/76f3951e-1a6e-4d94-8430-340447e34fa2 2024-09-18 05:02:52,396 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-network/76f3951e-1a6e-4d94-8430-340447e34fa2 2024-09-18 05:02:52,412 - DEBUG - Requesting: http://10.0.0.55:8082/routing-instance/639a643a-db7f-431b-9543-eccdee457bf4 2024-09-18 05:02:52,424 - DEBUG - Requesting: http://10.0.0.55:8082/routing-instance/639a643a-db7f-431b-9543-eccdee457bf4 2024-09-18 05:02:52,434 - DEBUG - Requesting: http://10.0.0.55:8082/route-target/0ac1a2e3-1114-4bca-86f4-ac9e7878973c 2024-09-18 05:02:52,443 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-18 05:02:52,443 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-network/76f3951e-1a6e-4d94-8430-340447e34fa2 2024-09-18 05:02:52,458 - DEBUG - Requesting: http://10.0.0.55:8082/routing-instance/639a643a-db7f-431b-9543-eccdee457bf4 2024-09-18 05:02:52,481 - INFO - Verified VN network id 9 for VN 76f3951e-1a6e-4d94-8430-340447e34fa2 2024-09-18 05:02:52,481 - INFO - Verifications in API Server for VN ctest-vn-52798467 passed 2024-09-18 05:02:52,481 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-network/76f3951e-1a6e-4d94-8430-340447e34fa2 2024-09-18 05:02:52,497 - DEBUG - Requesting: http://10.0.0.55:8082/routing-instance/639a643a-db7f-431b-9543-eccdee457bf4 2024-09-18 05:02:52,506 - DEBUG - Requesting: http://10.0.0.55:8082/routing-instance/639a643a-db7f-431b-9543-eccdee457bf4 2024-09-18 05:02:52,516 - DEBUG - Requesting: http://10.0.0.55:8082/route-target/0ac1a2e3-1114-4bca-86f4-ac9e7878973c 2024-09-18 05:02:52,531 - DEBUG - Control-node 10.0.0.55 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79831507:ctest-vn-52798467', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79831507', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8571358472341179796', 'uuid-lslong': '9525170404879191970'}, 'enable': 'true', 'created': '2024-09-18T05:02:49', 'last-modified': '2024-09-18T05:02:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.598430'} 2024-09-18 05:02:52,538 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-18 05:02:52,538 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52798467 passed 2024-09-18 05:02:52,538 - DEBUG - ====Verifying policy data for ctest-vn-52798467 in API_Server ====== 2024-09-18 05:02:52,538 - DEBUG - Requesting: http://10.0.0.55:8082/domains 2024-09-18 05:02:52,551 - DEBUG - Requesting: http://10.0.0.55:8082/domain/39a159ba-11b2-44d3-967b-adba3792bf57 2024-09-18 05:02:52,574 - DEBUG - Requesting: http://10.0.0.55:8082/project/95adf7c9-3e81-495f-ad27-fb63442015c2 2024-09-18 05:02:52,666 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-network/76f3951e-1a6e-4d94-8430-340447e34fa2 2024-09-18 05:02:52,681 - DEBUG - ==>Verifying data for policy with id: f4d752ee-f535-4b60-bfd1-5e38c11b97d9, fqn: ['default-domain', 'ctest-TestBasicPolicy-79831507', 'ctest-policy-allow-all-10477647'] 2024-09-18 05:02:52,681 - INFO - VN ctest-vn-52798467 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-18 05:02:52,681 - DEBUG - Verifying the vn in opserver 2024-09-18 05:02:52,681 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79831507:ctest-vn-52798467 virtual network link through opserver 10.0.0.55 2024-09-18 05:02:52,681 - DEBUG - Requesting: http://10.0.0.55:8081/analytics/uves/virtual-networks 2024-09-18 05:02:52,694 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79831507:ctest-vn-52798467', 'href': 'http://10.0.0.55:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79831507:ctest-vn-52798467?flat'} 2024-09-18 05:02:52,694 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79831507:ctest-vn-52798467 is found in opserver 2024-09-18 05:02:52,705 - DEBUG - Do not have enough data to verify VN in agent 2024-09-18 05:02:52,711 - DEBUG - VRF ids for VN ctest-vn-52798467: {} 2024-09-18 05:02:52,775 - DEBUG - Services list from nova: [, , ] 2024-09-18 05:02:53,901 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1983-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1983-1) 2024-09-18 05:02:55,226 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1983-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1983-1) 2024-09-18 05:02:55,227 - INFO - Waiting for VM ctest-TestBasicPolicy-79831507-65441442 to be up.. 2024-09-18 05:02:55,323 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-18 05:03:00,422 - DEBUG - VM is in ACTIVE state now 2024-09-18 05:03:00,422 - INFO - VM name : ctest-TestBasicPolicy-79831507-65441442 2024-09-18 05:03:00,524 - DEBUG - VM ctest-TestBasicPolicy-79831507-65441442 ID is 2044eff9-b65f-444b-bf1d-c8b91c36fc82 2024-09-18 05:03:00,548 - DEBUG - VM ctest-TestBasicPolicy-79831507-65441442 launched on Node cn-jenkins-deploy-platform-ansible-os-1983-1 2024-09-18 05:03:00,654 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine/2044eff9-b65f-444b-bf1d-c8b91c36fc82 2024-09-18 05:03:00,676 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine-interface/0a54e44b-26ed-4ebb-a9b6-a1a73be72261 2024-09-18 05:03:03,966 - 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 1027ms') 2024-09-18 05:03:03,966 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79831507-65441442 failed! 2024-09-18 05:03:04,028 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-79831507:ctest-vn-28806314 is 80.23.19.65 and allocation pool is NOT set 2024-09-18 05:03:06,089 - 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=12.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.387 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.387/6.366/12.345/5.979 ms') 2024-09-18 05:03:06,089 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79831507-65441442 passed 2024-09-18 05:03:06,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 05:03:06,248 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79831507-65441442, IP 80.23.19.67, Port 22 2024-09-18 05:03:06,403 - DEBUG - VM ctest-TestBasicPolicy-79831507-65441442 is ready for SSH connections 2024-09-18 05:03:06,403 - INFO - Waiting for VM ctest-TestBasicPolicy-79831507-33569856 to be up.. 2024-09-18 05:03:06,491 - DEBUG - VM is in ACTIVE state now 2024-09-18 05:03:06,491 - INFO - VM name : ctest-TestBasicPolicy-79831507-33569856 2024-09-18 05:03:06,580 - DEBUG - VM ctest-TestBasicPolicy-79831507-33569856 ID is 2f9541ff-f601-4aa2-8b92-48641bdfc01e 2024-09-18 05:03:06,580 - DEBUG - VM ctest-TestBasicPolicy-79831507-33569856 launched on Node cn-jenkins-deploy-platform-ansible-os-1983-1 2024-09-18 05:03:06,669 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine/2f9541ff-f601-4aa2-8b92-48641bdfc01e 2024-09-18 05:03:06,679 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine-interface/dc08235b-c2f5-463e-96b9-ae399933e5f8 2024-09-18 05:03:07,943 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.947 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.947/2.751/4.555/1.804 ms') 2024-09-18 05:03:07,943 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-79831507-33569856 passed 2024-09-18 05:03:08,108 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 05:03:08,108 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79831507-33569856, IP 5.253.176.3, Port 22 2024-09-18 05:03:08,264 - DEBUG - VM ctest-TestBasicPolicy-79831507-33569856 is ready for SSH connections 2024-09-18 05:03:08,264 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 05:03:08,264 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.253.176.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.55, gateway password: c0ntrail123 2024-09-18 05:03:08,264 - DEBUG - ping -s 56 -c 3 -W 1 5.253.176.3 2024-09-18 05:03:12,296 - DEBUG - PING 5.253.176.3 (5.253.176.3): 56 data bytes 64 bytes from 5.253.176.3: seq=0 ttl=63 time=3.557 ms 64 bytes from 5.253.176.3: seq=1 ttl=63 time=1.020 ms 64 bytes from 5.253.176.3: seq=2 ttl=63 time=0.805 ms --- 5.253.176.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.805/1.794/3.557 ms 2024-09-18 05:03:12,296 - INFO - Ping to IP 5.253.176.3 from VM ctest-TestBasicPolicy-79831507-65441442 passed 2024-09-18 05:03:12,500 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f4d752ee-f535-4b60-bfd1-5e38c11b97d9", "href": "http://10.0.0.55:8082/network-policy/f4d752ee-f535-4b60-bfd1-5e38c11b97d9"}} 2024-09-18 05:03:12,500 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 05:03:12,500 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.253.176.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.55, gateway password: c0ntrail123 2024-09-18 05:03:12,500 - DEBUG - ping -s 56 -c 3 -W 1 5.253.176.3 2024-09-18 05:03:15,711 - DEBUG - PING 5.253.176.3 (5.253.176.3): 56 data bytes 64 bytes from 5.253.176.3: seq=0 ttl=63 time=1.445 ms --- 5.253.176.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.445/1.445/1.445 ms 2024-09-18 05:03:15,712 - WARNING - Ping to IP 5.253.176.3 from VM ctest-TestBasicPolicy-79831507-65441442 failed 2024-09-18 05:03:15,712 - INFO - Deleting VM ctest-TestBasicPolicy-79831507-33569856 2024-09-18 05:03:15,791 - INFO - Deleting VM ctest-TestBasicPolicy-79831507-65441442 2024-09-18 05:03:16,254 - INFO - Deleted policy ctest-policy-allow-all-10477647 2024-09-18 05:03:16,255 - INFO - Deleting VN ctest-vn-52798467 2024-09-18 05:03:16,302 - DEBUG - VN 76f3951e-1a6e-4d94-8430-340447e34fa2 still in use: Unable to complete operation on network 76f3951e-1a6e-4d94-8430-340447e34fa2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5525f78b-a5a2-4ff8-bb03-72c93341b660'] 2024-09-18 05:03:16,302 - WARNING - Deleting VN ctest-vn-52798467 failed..Will retry 2024-09-18 05:03:18,414 - DEBUG - Response for deleting network () 2024-09-18 05:03:18,414 - DEBUG - Requesting: http://10.0.0.55:8082/routing-instance/639a643a-db7f-431b-9543-eccdee457bf4 2024-09-18 05:03:18,420 - DEBUG - Response Code: 404 2024-09-18 05:03:18,420 - DEBUG - Requesting: http://10.0.0.55:8082/domains 2024-09-18 05:03:18,430 - DEBUG - Requesting: http://10.0.0.55:8082/domain/39a159ba-11b2-44d3-967b-adba3792bf57 2024-09-18 05:03:18,488 - DEBUG - Requesting: http://10.0.0.55:8082/project/95adf7c9-3e81-495f-ad27-fb63442015c2 2024-09-18 05:03:18,573 - INFO - Validated that VN ctest-vn-52798467 is not found in API Server 2024-09-18 05:03:18,585 - DEBUG - VN ctest-vn-52798467 is not present in Agent 10.0.0.55 2024-09-18 05:03:18,585 - INFO - Validated that VN ctest-vn-52798467 is not in any agent 2024-09-18 05:03:18,603 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52798467 info 2024-09-18 05:03:18,603 - INFO - Deleting VN ctest-vn-28806314 2024-09-18 05:03:18,729 - DEBUG - Response for deleting network () 2024-09-18 05:03:18,729 - DEBUG - Requesting: http://10.0.0.55:8082/routing-instance/1a905738-2ee9-44e3-ba46-330f303d26b9 2024-09-18 05:03:18,737 - DEBUG - Response Code: 404 2024-09-18 05:03:18,737 - DEBUG - Requesting: http://10.0.0.55:8082/domains 2024-09-18 05:03:18,744 - DEBUG - Requesting: http://10.0.0.55:8082/domain/39a159ba-11b2-44d3-967b-adba3792bf57 2024-09-18 05:03:18,799 - DEBUG - Requesting: http://10.0.0.55:8082/project/95adf7c9-3e81-495f-ad27-fb63442015c2 2024-09-18 05:03:18,885 - INFO - Validated that VN ctest-vn-28806314 is not found in API Server 2024-09-18 05:03:18,898 - DEBUG - VN ctest-vn-28806314 is not present in Agent 10.0.0.55 2024-09-18 05:03:18,898 - INFO - Validated that VN ctest-vn-28806314 is not in any agent 2024-09-18 05:03:18,917 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28806314 info 2024-09-18 05:03:19,178 - DEBUG - No XMPP flaps were noticed during the test 2024-09-18 05:03:19,178 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2024-09-18 05:03:19,178 - INFO - -------------------------------------------------------------------------------- 2024-09-18 05:03:19,892 - INFO - Deleted project: ctest-TestBasicPolicy-79831507, ID : 95adf7c9-3e81-495f-ad27-fb63442015c2