2025-01-16 02:34:24,567 - INFO - Domain Default found not creating 2025-01-16 02:34:24,762 - INFO - Project ctest-TestBasicPolicy-92259881 not found, creating it 2025-01-16 02:34:25,300 - INFO - Created Project:ctest-TestBasicPolicy-92259881, ID : 793c1f12-4fd4-4188-836c-9b20a5119e18 2025-01-16 02:34:27,716 - INFO - ================================================================================ 2025-01-16 02:34:27,716 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-16 02:34:27,716 - 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 2025-01-16 02:34:27,971 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.23': '0'}} with 2025-01-16 02:34:27,972 - INFO - Initial checks done. Running the testcase now 2025-01-16 02:34:27,972 - INFO - 2025-01-16 02:34:28,570 - DEBUG - Response for create_network : {'network': {'id': '9dc8a7a8-fc46-423b-80d2-28cd06e43bdc', 'name': 'ctest-vn-84728462', 'tenant_id': '793c1f124fd44188836c9b20a5119e18', 'project_id': '793c1f124fd44188836c9b20a5119e18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92259881', 'ctest-vn-84728462'], 'port_security_enabled': True, 'description': ''}} 2025-01-16 02:34:28,778 - DEBUG - Response for create_subnet : {'subnet': {'id': '34265fd2-cd62-4962-81c6-e14b8453f25b', 'name': '', 'tenant_id': '793c1f124fd44188836c9b20a5119e18', 'network_id': '9dc8a7a8-fc46-423b-80d2-28cd06e43bdc', 'ip_version': 4, 'cidr': '116.205.12.0/26', 'allocation_pools': [{'start': '116.205.12.2', 'end': '116.205.12.62'}], 'gateway_ip': '116.205.12.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.205.12.2', 'tags': [], 'project_id': '793c1f124fd44188836c9b20a5119e18'}} 2025-01-16 02:34:28,800 - INFO - Created VN ctest-vn-84728462 2025-01-16 02:34:28,856 - DEBUG - VN ctest-vn-84728462 UUID is 9dc8a7a8-fc46-423b-80d2-28cd06e43bdc 2025-01-16 02:34:29,180 - DEBUG - Response for create_network : {'network': {'id': '11e34749-27c7-4ee3-8ea8-285a4a501d04', 'name': 'ctest-vn-07476260', 'tenant_id': '793c1f124fd44188836c9b20a5119e18', 'project_id': '793c1f124fd44188836c9b20a5119e18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92259881', 'ctest-vn-07476260'], 'port_security_enabled': True, 'description': ''}} 2025-01-16 02:34:29,352 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb0ca1b6-8801-46b1-b66e-217b8529e5f3', 'name': '', 'tenant_id': '793c1f124fd44188836c9b20a5119e18', 'network_id': '11e34749-27c7-4ee3-8ea8-285a4a501d04', 'ip_version': 4, 'cidr': '94.119.53.0/26', 'allocation_pools': [{'start': '94.119.53.2', 'end': '94.119.53.62'}], 'gateway_ip': '94.119.53.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.119.53.2', 'tags': [], 'project_id': '793c1f124fd44188836c9b20a5119e18'}} 2025-01-16 02:34:29,376 - INFO - Created VN ctest-vn-07476260 2025-01-16 02:34:29,432 - DEBUG - VN ctest-vn-07476260 UUID is 11e34749-27c7-4ee3-8ea8-285a4a501d04 2025-01-16 02:34:29,561 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92259881:ctest-vn-84728462, 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-92259881:ctest-vn-07476260, 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] 2025-01-16 02:34:29,892 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9dc8a7a8-fc46-423b-80d2-28cd06e43bdc', 'name': 'ctest-vn-84728462', 'tenant_id': '793c1f124fd44188836c9b20a5119e18', 'project_id': '793c1f124fd44188836c9b20a5119e18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['34265fd2-cd62-4962-81c6-e14b8453f25b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92259881', 'ctest-vn-84728462'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92259881', 'ctest-policy-allow-all-70678840']], 'subnet_ipam': [{'subnet_cidr': '116.205.12.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-16 02:34:30,155 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '11e34749-27c7-4ee3-8ea8-285a4a501d04', 'name': 'ctest-vn-07476260', 'tenant_id': '793c1f124fd44188836c9b20a5119e18', 'project_id': '793c1f124fd44188836c9b20a5119e18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fb0ca1b6-8801-46b1-b66e-217b8529e5f3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92259881', 'ctest-vn-07476260'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92259881', 'ctest-policy-allow-all-70678840']], 'subnet_ipam': [{'subnet_cidr': '94.119.53.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-16 02:34:30,320 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-01-16 02:34:30,669 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-01-16 02:34:30,709 - DEBUG - Requesting: http://10.0.0.24:8082/domain/dea5725e-ca52-4bf1-898d-7446fcf384b8 2025-01-16 02:34:30,726 - DEBUG - Requesting: http://10.0.0.24:8082/project/793c1f12-4fd4-4188-836c-9b20a5119e18 2025-01-16 02:34:30,809 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/9dc8a7a8-fc46-423b-80d2-28cd06e43bdc 2025-01-16 02:34:30,826 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/9dc8a7a8-fc46-423b-80d2-28cd06e43bdc 2025-01-16 02:34:30,841 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/e80dcf60-5fa3-46a2-aa03-1f551a89e874 2025-01-16 02:34:30,851 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/e80dcf60-5fa3-46a2-aa03-1f551a89e874 2025-01-16 02:34:30,861 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/4fbbdc6b-2990-4f79-8075-06935c7e2d62 2025-01-16 02:34:30,869 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-16 02:34:30,870 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/9dc8a7a8-fc46-423b-80d2-28cd06e43bdc 2025-01-16 02:34:30,882 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/e80dcf60-5fa3-46a2-aa03-1f551a89e874 2025-01-16 02:34:30,903 - INFO - Verified VN network id 8 for VN 9dc8a7a8-fc46-423b-80d2-28cd06e43bdc 2025-01-16 02:34:30,904 - INFO - Verifications in API Server for VN ctest-vn-84728462 passed 2025-01-16 02:34:30,904 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/9dc8a7a8-fc46-423b-80d2-28cd06e43bdc 2025-01-16 02:34:30,921 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/e80dcf60-5fa3-46a2-aa03-1f551a89e874 2025-01-16 02:34:30,932 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/e80dcf60-5fa3-46a2-aa03-1f551a89e874 2025-01-16 02:34:30,944 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/4fbbdc6b-2990-4f79-8075-06935c7e2d62 2025-01-16 02:34:30,963 - DEBUG - Control-node 10.0.0.24 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92259881:ctest-vn-84728462', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92259881', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11369521603525624379', 'uuid-lslong': '9282526643013041116'}, 'enable': 'true', 'created': '2025-01-16T02:34:28', 'last-modified': '2025-01-16T02:34:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.107269'} 2025-01-16 02:34:30,973 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-16 02:34:30,974 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84728462 passed 2025-01-16 02:34:30,974 - DEBUG - ====Verifying policy data for ctest-vn-84728462 in API_Server ====== 2025-01-16 02:34:30,974 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-01-16 02:34:30,983 - DEBUG - Requesting: http://10.0.0.24:8082/domain/dea5725e-ca52-4bf1-898d-7446fcf384b8 2025-01-16 02:34:30,998 - DEBUG - Requesting: http://10.0.0.24:8082/project/793c1f12-4fd4-4188-836c-9b20a5119e18 2025-01-16 02:34:31,077 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/9dc8a7a8-fc46-423b-80d2-28cd06e43bdc 2025-01-16 02:34:31,091 - DEBUG - ==>Verifying data for policy with id: 4d399e12-a919-45de-85d5-92a542f72e75, fqn: ['default-domain', 'ctest-TestBasicPolicy-92259881', 'ctest-policy-allow-all-70678840'] 2025-01-16 02:34:31,091 - INFO - VN ctest-vn-84728462 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-16 02:34:31,092 - DEBUG - Verifying the vn in opserver 2025-01-16 02:34:31,092 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92259881:ctest-vn-84728462 virtual network link through opserver 10.0.0.24 2025-01-16 02:34:31,092 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2025-01-16 02:34:31,436 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2025-01-16 02:34:31,506 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92259881:ctest-vn-84728462', 'href': 'http://10.0.0.24:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92259881:ctest-vn-84728462?flat'} 2025-01-16 02:34:31,506 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92259881:ctest-vn-84728462 is found in opserver 2025-01-16 02:34:31,521 - DEBUG - Do not have enough data to verify VN in agent 2025-01-16 02:34:31,527 - DEBUG - VRF ids for VN ctest-vn-84728462: {} 2025-01-16 02:34:31,527 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-01-16 02:34:31,534 - DEBUG - Requesting: http://10.0.0.24:8082/domain/dea5725e-ca52-4bf1-898d-7446fcf384b8 2025-01-16 02:34:31,548 - DEBUG - Requesting: http://10.0.0.24:8082/project/793c1f12-4fd4-4188-836c-9b20a5119e18 2025-01-16 02:34:31,635 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/11e34749-27c7-4ee3-8ea8-285a4a501d04 2025-01-16 02:34:31,656 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/11e34749-27c7-4ee3-8ea8-285a4a501d04 2025-01-16 02:34:31,671 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/af1ac704-a14c-40d5-ae3d-cfef7c0be143 2025-01-16 02:34:31,682 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/af1ac704-a14c-40d5-ae3d-cfef7c0be143 2025-01-16 02:34:31,692 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/ee7d0d78-3c9a-4a5e-90ef-9ad59e472f9d 2025-01-16 02:34:31,700 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-16 02:34:31,701 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/11e34749-27c7-4ee3-8ea8-285a4a501d04 2025-01-16 02:34:31,713 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/af1ac704-a14c-40d5-ae3d-cfef7c0be143 2025-01-16 02:34:31,732 - INFO - Verified VN network id 9 for VN 11e34749-27c7-4ee3-8ea8-285a4a501d04 2025-01-16 02:34:31,733 - INFO - Verifications in API Server for VN ctest-vn-07476260 passed 2025-01-16 02:34:31,733 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/11e34749-27c7-4ee3-8ea8-285a4a501d04 2025-01-16 02:34:31,746 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/af1ac704-a14c-40d5-ae3d-cfef7c0be143 2025-01-16 02:34:31,755 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/af1ac704-a14c-40d5-ae3d-cfef7c0be143 2025-01-16 02:34:31,764 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/ee7d0d78-3c9a-4a5e-90ef-9ad59e472f9d 2025-01-16 02:34:31,779 - DEBUG - Control-node 10.0.0.24 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92259881:ctest-vn-07476260', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92259881', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1288952297883651811', 'uuid-lslong': '10279510517732089092'}, 'enable': 'true', 'created': '2025-01-16T02:34:29', 'last-modified': '2025-01-16T02:34:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.652510'} 2025-01-16 02:34:31,787 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-16 02:34:31,787 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07476260 passed 2025-01-16 02:34:31,787 - DEBUG - ====Verifying policy data for ctest-vn-07476260 in API_Server ====== 2025-01-16 02:34:31,787 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-01-16 02:34:31,795 - DEBUG - Requesting: http://10.0.0.24:8082/domain/dea5725e-ca52-4bf1-898d-7446fcf384b8 2025-01-16 02:34:31,813 - DEBUG - Requesting: http://10.0.0.24:8082/project/793c1f12-4fd4-4188-836c-9b20a5119e18 2025-01-16 02:34:31,897 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/11e34749-27c7-4ee3-8ea8-285a4a501d04 2025-01-16 02:34:31,910 - DEBUG - ==>Verifying data for policy with id: 4d399e12-a919-45de-85d5-92a542f72e75, fqn: ['default-domain', 'ctest-TestBasicPolicy-92259881', 'ctest-policy-allow-all-70678840'] 2025-01-16 02:34:31,910 - INFO - VN ctest-vn-07476260 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-16 02:34:31,910 - DEBUG - Verifying the vn in opserver 2025-01-16 02:34:31,910 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92259881:ctest-vn-07476260 virtual network link through opserver 10.0.0.24 2025-01-16 02:34:31,910 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2025-01-16 02:34:31,923 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92259881:ctest-vn-07476260', 'href': 'http://10.0.0.24:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92259881:ctest-vn-07476260?flat'} 2025-01-16 02:34:31,923 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92259881:ctest-vn-07476260 is found in opserver 2025-01-16 02:34:31,939 - DEBUG - Do not have enough data to verify VN in agent 2025-01-16 02:34:31,948 - DEBUG - VRF ids for VN ctest-vn-07476260: {} 2025-01-16 02:34:32,022 - DEBUG - Services list from nova: [, , ] 2025-01-16 02:34:33,199 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2649-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2649-1) 2025-01-16 02:34:34,616 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2649-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2649-1) 2025-01-16 02:34:34,617 - INFO - Waiting for VM ctest-TestBasicPolicy-92259881-59067355 to be up.. 2025-01-16 02:34:34,712 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-16 02:34:39,797 - DEBUG - VM is in ACTIVE state now 2025-01-16 02:34:39,797 - INFO - VM name : ctest-TestBasicPolicy-92259881-59067355 2025-01-16 02:34:39,881 - DEBUG - VM ctest-TestBasicPolicy-92259881-59067355 ID is 70ffe638-da2b-44bf-9ee4-597aabc3f358 2025-01-16 02:34:39,902 - DEBUG - VM ctest-TestBasicPolicy-92259881-59067355 launched on Node cn-jenkins-deploy-platform-ansible-os-2649-1 2025-01-16 02:34:39,982 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/70ffe638-da2b-44bf-9ee4-597aabc3f358 2025-01-16 02:34:39,991 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/6e06be3b-f973-4302-9476-2a9743f94c0f 2025-01-16 02:34:43,242 - 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') 2025-01-16 02:34:43,242 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92259881-59067355 failed! 2025-01-16 02:34:43,300 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92259881:ctest-vn-84728462 is 116.205.12.1 and allocation pool is NOT set 2025-01-16 02:34:45,360 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=8.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.449 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.449/4.437/8.426/3.988 ms') 2025-01-16 02:34:45,360 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92259881-59067355 passed 2025-01-16 02:34:45,520 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-16 02:34:45,520 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92259881-59067355, IP 116.205.12.3, Port 22 2025-01-16 02:34:45,686 - DEBUG - VM ctest-TestBasicPolicy-92259881-59067355 is ready for SSH connections 2025-01-16 02:34:45,687 - INFO - Waiting for VM ctest-TestBasicPolicy-92259881-23123776 to be up.. 2025-01-16 02:34:45,792 - DEBUG - VM is in ACTIVE state now 2025-01-16 02:34:45,792 - INFO - VM name : ctest-TestBasicPolicy-92259881-23123776 2025-01-16 02:34:45,888 - DEBUG - VM ctest-TestBasicPolicy-92259881-23123776 ID is 92a0652b-6714-4078-8ebd-b211c1b0b3b7 2025-01-16 02:34:45,888 - DEBUG - VM ctest-TestBasicPolicy-92259881-23123776 launched on Node cn-jenkins-deploy-platform-ansible-os-2649-1 2025-01-16 02:34:45,989 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/92a0652b-6714-4078-8ebd-b211c1b0b3b7 2025-01-16 02:34:46,002 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/0ae80d91-3f35-4db7-8193-b215cef3837e 2025-01-16 02:34:47,258 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.969 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.969/2.905/4.841/1.936 ms') 2025-01-16 02:34:47,258 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-92259881-23123776 passed 2025-01-16 02:34:47,416 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-16 02:34:47,416 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92259881-23123776, IP 94.119.53.3, Port 22 2025-01-16 02:34:47,586 - DEBUG - VM ctest-TestBasicPolicy-92259881-23123776 is ready for SSH connections 2025-01-16 02:34:47,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-16 02:34:47,586 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.119.53.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-01-16 02:34:47,586 - DEBUG - ping -s 56 -c 3 -W 1 94.119.53.3 2025-01-16 02:34:51,335 - DEBUG - PING 94.119.53.3 (94.119.53.3): 56 data bytes 64 bytes from 94.119.53.3: seq=0 ttl=63 time=4.038 ms 64 bytes from 94.119.53.3: seq=1 ttl=63 time=0.989 ms 64 bytes from 94.119.53.3: seq=2 ttl=63 time=0.835 ms --- 94.119.53.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.835/1.954/4.038 ms 2025-01-16 02:34:51,335 - INFO - Ping to IP 94.119.53.3 from VM ctest-TestBasicPolicy-92259881-59067355 passed 2025-01-16 02:34:51,516 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4d399e12-a919-45de-85d5-92a542f72e75", "href": "http://10.0.0.24:8082/network-policy/4d399e12-a919-45de-85d5-92a542f72e75"}} 2025-01-16 02:34:51,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-16 02:34:51,516 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.119.53.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-01-16 02:34:51,516 - DEBUG - ping -s 56 -c 3 -W 1 94.119.53.3 2025-01-16 02:34:54,738 - DEBUG - PING 94.119.53.3 (94.119.53.3): 56 data bytes 64 bytes from 94.119.53.3: seq=0 ttl=63 time=1.542 ms --- 94.119.53.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.542/1.542/1.542 ms 2025-01-16 02:34:54,738 - WARNING - Ping to IP 94.119.53.3 from VM ctest-TestBasicPolicy-92259881-59067355 failed 2025-01-16 02:34:54,739 - INFO - Deleting VM ctest-TestBasicPolicy-92259881-23123776 2025-01-16 02:34:54,812 - INFO - Deleting VM ctest-TestBasicPolicy-92259881-59067355 2025-01-16 02:34:55,225 - INFO - Deleted policy ctest-policy-allow-all-70678840 2025-01-16 02:34:55,225 - INFO - Deleting VN ctest-vn-07476260 2025-01-16 02:34:55,263 - DEBUG - VN 11e34749-27c7-4ee3-8ea8-285a4a501d04 still in use: Unable to complete operation on network 11e34749-27c7-4ee3-8ea8-285a4a501d04. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f18a95b6-81ef-42c9-909e-3b8960368834'] 2025-01-16 02:34:55,263 - WARNING - Deleting VN ctest-vn-07476260 failed..Will retry 2025-01-16 02:34:57,376 - DEBUG - Response for deleting network () 2025-01-16 02:34:57,376 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/af1ac704-a14c-40d5-ae3d-cfef7c0be143 2025-01-16 02:34:57,385 - DEBUG - Response Code: 404 2025-01-16 02:34:57,385 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-01-16 02:34:57,391 - DEBUG - Requesting: http://10.0.0.24:8082/domain/dea5725e-ca52-4bf1-898d-7446fcf384b8 2025-01-16 02:34:57,446 - DEBUG - Requesting: http://10.0.0.24:8082/project/793c1f12-4fd4-4188-836c-9b20a5119e18 2025-01-16 02:34:57,523 - INFO - Validated that VN ctest-vn-07476260 is not found in API Server 2025-01-16 02:34:57,535 - DEBUG - VN ctest-vn-07476260 is not present in Agent 10.0.0.24 2025-01-16 02:34:57,535 - INFO - Validated that VN ctest-vn-07476260 is not in any agent 2025-01-16 02:34:57,551 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07476260 info 2025-01-16 02:34:57,551 - INFO - Deleting VN ctest-vn-84728462 2025-01-16 02:34:57,680 - DEBUG - Response for deleting network () 2025-01-16 02:34:57,680 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/e80dcf60-5fa3-46a2-aa03-1f551a89e874 2025-01-16 02:34:57,691 - DEBUG - Response Code: 404 2025-01-16 02:34:57,692 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-01-16 02:34:57,699 - DEBUG - Requesting: http://10.0.0.24:8082/domain/dea5725e-ca52-4bf1-898d-7446fcf384b8 2025-01-16 02:34:57,754 - DEBUG - Requesting: http://10.0.0.24:8082/project/793c1f12-4fd4-4188-836c-9b20a5119e18 2025-01-16 02:34:57,828 - INFO - Validated that VN ctest-vn-84728462 is not found in API Server 2025-01-16 02:34:57,839 - DEBUG - VN ctest-vn-84728462 is not present in Agent 10.0.0.24 2025-01-16 02:34:57,839 - INFO - Validated that VN ctest-vn-84728462 is not in any agent 2025-01-16 02:34:57,856 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84728462 info 2025-01-16 02:34:58,114 - DEBUG - No XMPP flaps were noticed during the test 2025-01-16 02:34:58,115 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-01-16 02:34:58,115 - INFO - -------------------------------------------------------------------------------- 2025-01-16 02:34:58,869 - INFO - Deleted project: ctest-TestBasicPolicy-92259881, ID : 793c1f12-4fd4-4188-836c-9b20a5119e18