2025-04-22 12:41:48,445 - INFO - Domain Default found not creating 2025-04-22 12:41:48,659 - INFO - Project ctest-TestBasicPolicy-41898399 not found, creating it 2025-04-22 12:41:48,954 - INFO - Created Project:ctest-TestBasicPolicy-41898399, ID : f01fc141-d5f3-4c51-897d-e59a36505be8 2025-04-22 12:41:50,351 - INFO - ================================================================================ 2025-04-22 12:41:50,351 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-22 12:41:50,352 - 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-04-22 12:41:50,459 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2025-04-22 12:41:50,459 - INFO - Initial checks done. Running the testcase now 2025-04-22 12:41:50,459 - INFO - 2025-04-22 12:41:50,947 - DEBUG - Response for create_network : {'network': {'id': '39f38fc8-e6f1-4d59-a62f-70545ced8439', 'name': 'ctest-vn-51589354', 'tenant_id': 'f01fc141d5f34c51897de59a36505be8', 'project_id': 'f01fc141d5f34c51897de59a36505be8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41898399', 'ctest-vn-51589354'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 12:41:51,106 - DEBUG - Response for create_subnet : {'subnet': {'id': '8bbd7279-92f5-4419-b918-2f74bb0135a3', 'name': '', 'tenant_id': 'f01fc141d5f34c51897de59a36505be8', 'network_id': '39f38fc8-e6f1-4d59-a62f-70545ced8439', 'ip_version': 4, 'cidr': '31.109.156.0/26', 'allocation_pools': [{'start': '31.109.156.2', 'end': '31.109.156.62'}], 'gateway_ip': '31.109.156.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.109.156.2', 'tags': [], 'project_id': 'f01fc141d5f34c51897de59a36505be8'}} 2025-04-22 12:41:51,125 - INFO - Created VN ctest-vn-51589354 2025-04-22 12:41:51,135 - DEBUG - VN ctest-vn-51589354 UUID is 39f38fc8-e6f1-4d59-a62f-70545ced8439 2025-04-22 12:41:51,360 - DEBUG - Response for create_network : {'network': {'id': '11192bbe-a6e0-4abc-bcb2-ff78577a5f00', 'name': 'ctest-vn-45348179', 'tenant_id': 'f01fc141d5f34c51897de59a36505be8', 'project_id': 'f01fc141d5f34c51897de59a36505be8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41898399', 'ctest-vn-45348179'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 12:41:51,520 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd7f70efe-f72a-4c97-8efe-9d8935b95fc2', 'name': '', 'tenant_id': 'f01fc141d5f34c51897de59a36505be8', 'network_id': '11192bbe-a6e0-4abc-bcb2-ff78577a5f00', 'ip_version': 4, 'cidr': '160.132.129.64/26', 'allocation_pools': [{'start': '160.132.129.66', 'end': '160.132.129.126'}], 'gateway_ip': '160.132.129.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.132.129.66', 'tags': [], 'project_id': 'f01fc141d5f34c51897de59a36505be8'}} 2025-04-22 12:41:51,537 - INFO - Created VN ctest-vn-45348179 2025-04-22 12:41:51,588 - DEBUG - VN ctest-vn-45348179 UUID is 11192bbe-a6e0-4abc-bcb2-ff78577a5f00 2025-04-22 12:41:51,653 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41898399:ctest-vn-51589354, 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-41898399:ctest-vn-45348179, 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-04-22 12:41:51,868 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '39f38fc8-e6f1-4d59-a62f-70545ced8439', 'name': 'ctest-vn-51589354', 'tenant_id': 'f01fc141d5f34c51897de59a36505be8', 'project_id': 'f01fc141d5f34c51897de59a36505be8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8bbd7279-92f5-4419-b918-2f74bb0135a3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41898399', 'ctest-vn-51589354'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41898399', 'ctest-policy-allow-all-79963976']], 'subnet_ipam': [{'subnet_cidr': '31.109.156.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-22 12:41:52,043 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '11192bbe-a6e0-4abc-bcb2-ff78577a5f00', 'name': 'ctest-vn-45348179', 'tenant_id': 'f01fc141d5f34c51897de59a36505be8', 'project_id': 'f01fc141d5f34c51897de59a36505be8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d7f70efe-f72a-4c97-8efe-9d8935b95fc2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41898399', 'ctest-vn-45348179'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41898399', 'ctest-policy-allow-all-79963976']], 'subnet_ipam': [{'subnet_cidr': '160.132.129.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-22 12:41:52,132 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-22 12:41:52,422 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-22 12:41:52,450 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b27e9d36-f0e4-4304-9a2b-93f86c6e1a7d 2025-04-22 12:41:52,462 - DEBUG - Requesting: http://10.0.0.130:8082/project/f01fc141-d5f3-4c51-897d-e59a36505be8 2025-04-22 12:41:52,492 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/39f38fc8-e6f1-4d59-a62f-70545ced8439 2025-04-22 12:41:52,502 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/39f38fc8-e6f1-4d59-a62f-70545ced8439 2025-04-22 12:41:52,511 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/15612b4d-7929-4c6e-98a0-16d793c2b472 2025-04-22 12:41:52,518 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/15612b4d-7929-4c6e-98a0-16d793c2b472 2025-04-22 12:41:52,525 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/99b0f82f-c2ac-482c-b4d6-9bd114591b0f 2025-04-22 12:41:52,531 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-22 12:41:52,531 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/39f38fc8-e6f1-4d59-a62f-70545ced8439 2025-04-22 12:41:52,540 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/15612b4d-7929-4c6e-98a0-16d793c2b472 2025-04-22 12:41:52,554 - INFO - Verified VN network id 8 for VN 39f38fc8-e6f1-4d59-a62f-70545ced8439 2025-04-22 12:41:52,554 - INFO - Verifications in API Server for VN ctest-vn-51589354 passed 2025-04-22 12:41:52,554 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/39f38fc8-e6f1-4d59-a62f-70545ced8439 2025-04-22 12:41:52,563 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/15612b4d-7929-4c6e-98a0-16d793c2b472 2025-04-22 12:41:52,570 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/15612b4d-7929-4c6e-98a0-16d793c2b472 2025-04-22 12:41:52,577 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/99b0f82f-c2ac-482c-b4d6-9bd114591b0f 2025-04-22 12:41:52,588 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41898399:ctest-vn-51589354', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41898399', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4175839372533386585', 'uuid-lslong': '11974913441840071737'}, 'enable': 'true', 'created': '2025-04-22T12:41:50', 'last-modified': '2025-04-22T12:41:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.752028'} 2025-04-22 12:41:52,595 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-22 12:41:52,595 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51589354 passed 2025-04-22 12:41:52,595 - DEBUG - ====Verifying policy data for ctest-vn-51589354 in API_Server ====== 2025-04-22 12:41:52,595 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-22 12:41:52,601 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b27e9d36-f0e4-4304-9a2b-93f86c6e1a7d 2025-04-22 12:41:52,612 - DEBUG - Requesting: http://10.0.0.130:8082/project/f01fc141-d5f3-4c51-897d-e59a36505be8 2025-04-22 12:41:52,657 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/39f38fc8-e6f1-4d59-a62f-70545ced8439 2025-04-22 12:41:52,667 - DEBUG - ==>Verifying data for policy with id: ee6800df-aef3-47bc-887b-f267eac3716c, fqn: ['default-domain', 'ctest-TestBasicPolicy-41898399', 'ctest-policy-allow-all-79963976'] 2025-04-22 12:41:52,667 - INFO - VN ctest-vn-51589354 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-22 12:41:52,667 - DEBUG - Verifying the vn in opserver 2025-04-22 12:41:52,667 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41898399:ctest-vn-51589354 virtual network link through opserver 10.0.0.130 2025-04-22 12:41:52,667 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-04-22 12:41:53,211 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-04-22 12:41:53,284 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41898399:ctest-vn-51589354', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41898399:ctest-vn-51589354?flat'} 2025-04-22 12:41:53,284 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41898399:ctest-vn-51589354 is found in opserver 2025-04-22 12:41:53,295 - DEBUG - Do not have enough data to verify VN in agent 2025-04-22 12:41:53,300 - DEBUG - VRF ids for VN ctest-vn-51589354: {} 2025-04-22 12:41:53,300 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-22 12:41:53,306 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b27e9d36-f0e4-4304-9a2b-93f86c6e1a7d 2025-04-22 12:41:53,318 - DEBUG - Requesting: http://10.0.0.130:8082/project/f01fc141-d5f3-4c51-897d-e59a36505be8 2025-04-22 12:41:53,352 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/11192bbe-a6e0-4abc-bcb2-ff78577a5f00 2025-04-22 12:41:53,364 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/11192bbe-a6e0-4abc-bcb2-ff78577a5f00 2025-04-22 12:41:53,374 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/936065d9-c702-4b90-9d0a-4bb2e7c57549 2025-04-22 12:41:53,382 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/936065d9-c702-4b90-9d0a-4bb2e7c57549 2025-04-22 12:41:53,390 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/c2ef3994-9765-429f-9eba-1ce5b839aaeb 2025-04-22 12:41:53,397 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-22 12:41:53,397 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/11192bbe-a6e0-4abc-bcb2-ff78577a5f00 2025-04-22 12:41:53,406 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/936065d9-c702-4b90-9d0a-4bb2e7c57549 2025-04-22 12:41:53,419 - INFO - Verified VN network id 9 for VN 11192bbe-a6e0-4abc-bcb2-ff78577a5f00 2025-04-22 12:41:53,420 - INFO - Verifications in API Server for VN ctest-vn-45348179 passed 2025-04-22 12:41:53,420 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/11192bbe-a6e0-4abc-bcb2-ff78577a5f00 2025-04-22 12:41:53,428 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/936065d9-c702-4b90-9d0a-4bb2e7c57549 2025-04-22 12:41:53,434 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/936065d9-c702-4b90-9d0a-4bb2e7c57549 2025-04-22 12:41:53,441 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/c2ef3994-9765-429f-9eba-1ce5b839aaeb 2025-04-22 12:41:53,452 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41898399:ctest-vn-45348179', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41898399', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1232064070906038972', 'uuid-lslong': '13597211117313744640'}, 'enable': 'true', 'created': '2025-04-22T12:41:51', 'last-modified': '2025-04-22T12:41:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.469969'} 2025-04-22 12:41:53,457 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-22 12:41:53,458 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45348179 passed 2025-04-22 12:41:53,458 - DEBUG - ====Verifying policy data for ctest-vn-45348179 in API_Server ====== 2025-04-22 12:41:53,458 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-22 12:41:53,463 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b27e9d36-f0e4-4304-9a2b-93f86c6e1a7d 2025-04-22 12:41:53,474 - DEBUG - Requesting: http://10.0.0.130:8082/project/f01fc141-d5f3-4c51-897d-e59a36505be8 2025-04-22 12:41:53,545 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/11192bbe-a6e0-4abc-bcb2-ff78577a5f00 2025-04-22 12:41:53,555 - DEBUG - ==>Verifying data for policy with id: ee6800df-aef3-47bc-887b-f267eac3716c, fqn: ['default-domain', 'ctest-TestBasicPolicy-41898399', 'ctest-policy-allow-all-79963976'] 2025-04-22 12:41:53,555 - INFO - VN ctest-vn-45348179 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-22 12:41:53,556 - DEBUG - Verifying the vn in opserver 2025-04-22 12:41:53,556 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41898399:ctest-vn-45348179 virtual network link through opserver 10.0.0.130 2025-04-22 12:41:53,556 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-04-22 12:41:53,566 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41898399:ctest-vn-45348179', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41898399:ctest-vn-45348179?flat'} 2025-04-22 12:41:53,566 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41898399:ctest-vn-45348179 is found in opserver 2025-04-22 12:41:53,577 - DEBUG - Do not have enough data to verify VN in agent 2025-04-22 12:41:53,582 - DEBUG - VRF ids for VN ctest-vn-45348179: {} 2025-04-22 12:41:53,636 - DEBUG - Services list from nova: [, , ] 2025-04-22 12:41:54,559 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3160-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3160-1) 2025-04-22 12:41:55,717 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3160-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3160-1) 2025-04-22 12:41:55,718 - INFO - Waiting for VM ctest-TestBasicPolicy-41898399-04537040 to be up.. 2025-04-22 12:41:55,799 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-22 12:42:00,883 - DEBUG - VM is in ACTIVE state now 2025-04-22 12:42:00,884 - INFO - VM name : ctest-TestBasicPolicy-41898399-04537040 2025-04-22 12:42:00,968 - DEBUG - VM ctest-TestBasicPolicy-41898399-04537040 ID is c95bd6ac-b435-41d1-948b-6e3cb61c9d35 2025-04-22 12:42:00,987 - DEBUG - VM ctest-TestBasicPolicy-41898399-04537040 launched on Node cn-jenkins-deploy-platform-ansible-os-3160-1 2025-04-22 12:42:01,063 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/c95bd6ac-b435-41d1-948b-6e3cb61c9d35 2025-04-22 12:42:01,074 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/56768470-2acf-49d2-bf3f-3169fb7188a6 2025-04-22 12:42:04,252 - 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 1020ms') 2025-04-22 12:42:04,252 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41898399-04537040 failed! 2025-04-22 12:42:04,265 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41898399:ctest-vn-51589354 is 31.109.156.1 and allocation pool is NOT set 2025-04-22 12:42:06,283 - 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=4.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.804 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.804/2.714/4.625/1.910 ms') 2025-04-22 12:42:06,284 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41898399-04537040 passed 2025-04-22 12:42:06,348 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 12:42:06,349 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41898399-04537040, IP 31.109.156.3, Port 22 2025-04-22 12:42:06,386 - DEBUG - VM ctest-TestBasicPolicy-41898399-04537040 is ready for SSH connections 2025-04-22 12:42:06,386 - INFO - Waiting for VM ctest-TestBasicPolicy-41898399-52480479 to be up.. 2025-04-22 12:42:06,465 - DEBUG - VM is in ACTIVE state now 2025-04-22 12:42:06,465 - INFO - VM name : ctest-TestBasicPolicy-41898399-52480479 2025-04-22 12:42:06,533 - DEBUG - VM ctest-TestBasicPolicy-41898399-52480479 ID is 0e4baf0b-7602-4525-8373-c79508820582 2025-04-22 12:42:06,533 - DEBUG - VM ctest-TestBasicPolicy-41898399-52480479 launched on Node cn-jenkins-deploy-platform-ansible-os-3160-1 2025-04-22 12:42:06,599 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/0e4baf0b-7602-4525-8373-c79508820582 2025-04-22 12:42:06,608 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/ef5c8184-7ef5-42f0-be72-0f377baab9f9 2025-04-22 12:42:07,764 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.09 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.086/3.524/4.963/1.438 ms') 2025-04-22 12:42:07,764 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-41898399-52480479 passed 2025-04-22 12:42:07,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 12:42:07,827 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41898399-52480479, IP 160.132.129.67, Port 22 2025-04-22 12:42:07,907 - DEBUG - VM ctest-TestBasicPolicy-41898399-52480479 is ready for SSH connections 2025-04-22 12:42:07,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 12:42:07,908 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.132.129.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-04-22 12:42:07,908 - DEBUG - ping -s 56 -c 3 -W 1 160.132.129.67 2025-04-22 12:42:11,529 - DEBUG - PING 160.132.129.67 (160.132.129.67): 56 data bytes 64 bytes from 160.132.129.67: seq=0 ttl=63 time=4.662 ms 64 bytes from 160.132.129.67: seq=1 ttl=63 time=0.808 ms 64 bytes from 160.132.129.67: seq=2 ttl=63 time=0.866 ms --- 160.132.129.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.808/2.112/4.662 ms 2025-04-22 12:42:11,529 - INFO - Ping to IP 160.132.129.67 from VM ctest-TestBasicPolicy-41898399-04537040 passed 2025-04-22 12:42:11,624 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ee6800df-aef3-47bc-887b-f267eac3716c", "href": "http://10.0.0.130:8082/network-policy/ee6800df-aef3-47bc-887b-f267eac3716c"}} 2025-04-22 12:42:11,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 12:42:11,625 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.132.129.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-04-22 12:42:11,626 - DEBUG - ping -s 56 -c 3 -W 1 160.132.129.67 2025-04-22 12:42:14,792 - DEBUG - PING 160.132.129.67 (160.132.129.67): 56 data bytes --- 160.132.129.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-22 12:42:14,793 - WARNING - Ping to IP 160.132.129.67 from VM ctest-TestBasicPolicy-41898399-04537040 failed 2025-04-22 12:42:14,793 - INFO - Deleting VM ctest-TestBasicPolicy-41898399-52480479 2025-04-22 12:42:14,859 - INFO - Deleting VM ctest-TestBasicPolicy-41898399-04537040 2025-04-22 12:42:15,191 - INFO - Deleted policy ctest-policy-allow-all-79963976 2025-04-22 12:42:15,192 - INFO - Deleting VN ctest-vn-45348179 2025-04-22 12:42:15,238 - DEBUG - VN 11192bbe-a6e0-4abc-bcb2-ff78577a5f00 still in use: Unable to complete operation on network 11192bbe-a6e0-4abc-bcb2-ff78577a5f00. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-56acfb6f-7485-4b28-b609-3bd30f8bfa63'] 2025-04-22 12:42:15,238 - WARNING - Deleting VN ctest-vn-45348179 failed..Will retry 2025-04-22 12:42:17,334 - DEBUG - Response for deleting network () 2025-04-22 12:42:17,335 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/936065d9-c702-4b90-9d0a-4bb2e7c57549 2025-04-22 12:42:17,340 - DEBUG - Response Code: 404 2025-04-22 12:42:17,340 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-22 12:42:17,348 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b27e9d36-f0e4-4304-9a2b-93f86c6e1a7d 2025-04-22 12:42:17,359 - DEBUG - Requesting: http://10.0.0.130:8082/project/f01fc141-d5f3-4c51-897d-e59a36505be8 2025-04-22 12:42:17,387 - INFO - Validated that VN ctest-vn-45348179 is not found in API Server 2025-04-22 12:42:17,397 - DEBUG - VN ctest-vn-45348179 is not present in Agent 10.0.0.130 2025-04-22 12:42:17,397 - INFO - Validated that VN ctest-vn-45348179 is not in any agent 2025-04-22 12:42:17,414 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45348179 info 2025-04-22 12:42:17,414 - INFO - Deleting VN ctest-vn-51589354 2025-04-22 12:42:17,509 - DEBUG - Response for deleting network () 2025-04-22 12:42:17,509 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/15612b4d-7929-4c6e-98a0-16d793c2b472 2025-04-22 12:42:17,516 - DEBUG - Response Code: 404 2025-04-22 12:42:17,516 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-22 12:42:17,521 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b27e9d36-f0e4-4304-9a2b-93f86c6e1a7d 2025-04-22 12:42:17,574 - DEBUG - Requesting: http://10.0.0.130:8082/project/f01fc141-d5f3-4c51-897d-e59a36505be8 2025-04-22 12:42:17,607 - INFO - Validated that VN ctest-vn-51589354 is not found in API Server 2025-04-22 12:42:17,618 - DEBUG - VN ctest-vn-51589354 is not present in Agent 10.0.0.130 2025-04-22 12:42:17,618 - INFO - Validated that VN ctest-vn-51589354 is not in any agent 2025-04-22 12:42:17,633 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51589354 info 2025-04-22 12:42:17,762 - DEBUG - No XMPP flaps were noticed during the test 2025-04-22 12:42:17,762 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:27] 2025-04-22 12:42:17,762 - INFO - -------------------------------------------------------------------------------- 2025-04-22 12:42:18,302 - INFO - Deleted project: ctest-TestBasicPolicy-41898399, ID : f01fc141-d5f3-4c51-897d-e59a36505be8