2025-03-27 16:43:22,347 - INFO - Domain Default found not creating 2025-03-27 16:43:22,483 - INFO - Project ctest-TestBasicPolicy-07941733 not found, creating it 2025-03-27 16:43:22,931 - INFO - Created Project:ctest-TestBasicPolicy-07941733, ID : 46f2c4e1-2fa3-4c4b-8ff4-e80a549c7127 2025-03-27 16:43:24,340 - INFO - ================================================================================ 2025-03-27 16:43:24,340 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-27 16:43:24,340 - 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-03-27 16:43:24,593 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.22': '0'}} with 2025-03-27 16:43:24,593 - INFO - Initial checks done. Running the testcase now 2025-03-27 16:43:24,593 - INFO - 2025-03-27 16:43:25,135 - DEBUG - Response for create_network : {'network': {'id': '382ee179-5536-4a7f-b413-00a0c782f56b', 'name': 'ctest-vn-65868622', 'tenant_id': '46f2c4e12fa34c4b8ff4e80a549c7127', 'project_id': '46f2c4e12fa34c4b8ff4e80a549c7127', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07941733', 'ctest-vn-65868622'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 16:43:25,347 - DEBUG - Response for create_subnet : {'subnet': {'id': '3ab740c3-da32-4757-accd-32f0e3c2c41d', 'name': '', 'tenant_id': '46f2c4e12fa34c4b8ff4e80a549c7127', 'network_id': '382ee179-5536-4a7f-b413-00a0c782f56b', 'ip_version': 4, 'cidr': '76.4.173.192/26', 'allocation_pools': [{'start': '76.4.173.194', 'end': '76.4.173.254'}], 'gateway_ip': '76.4.173.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.4.173.194', 'tags': [], 'project_id': '46f2c4e12fa34c4b8ff4e80a549c7127'}} 2025-03-27 16:43:25,365 - INFO - Created VN ctest-vn-65868622 2025-03-27 16:43:25,419 - DEBUG - VN ctest-vn-65868622 UUID is 382ee179-5536-4a7f-b413-00a0c782f56b 2025-03-27 16:43:25,739 - DEBUG - Response for create_network : {'network': {'id': 'ad71932d-ae26-408a-a442-f1e8ac6e3c61', 'name': 'ctest-vn-43437967', 'tenant_id': '46f2c4e12fa34c4b8ff4e80a549c7127', 'project_id': '46f2c4e12fa34c4b8ff4e80a549c7127', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07941733', 'ctest-vn-43437967'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 16:43:25,923 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a518c72d-73e1-478a-9378-30b23f8e5b78', 'name': '', 'tenant_id': '46f2c4e12fa34c4b8ff4e80a549c7127', 'network_id': 'ad71932d-ae26-408a-a442-f1e8ac6e3c61', 'ip_version': 4, 'cidr': '125.11.179.64/26', 'allocation_pools': [{'start': '125.11.179.66', 'end': '125.11.179.126'}], 'gateway_ip': '125.11.179.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.11.179.66', 'tags': [], 'project_id': '46f2c4e12fa34c4b8ff4e80a549c7127'}} 2025-03-27 16:43:25,941 - INFO - Created VN ctest-vn-43437967 2025-03-27 16:43:25,991 - DEBUG - VN ctest-vn-43437967 UUID is ad71932d-ae26-408a-a442-f1e8ac6e3c61 2025-03-27 16:43:26,104 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07941733:ctest-vn-65868622, 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-07941733:ctest-vn-43437967, 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-03-27 16:43:26,401 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '382ee179-5536-4a7f-b413-00a0c782f56b', 'name': 'ctest-vn-65868622', 'tenant_id': '46f2c4e12fa34c4b8ff4e80a549c7127', 'project_id': '46f2c4e12fa34c4b8ff4e80a549c7127', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3ab740c3-da32-4757-accd-32f0e3c2c41d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07941733', 'ctest-vn-65868622'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07941733', 'ctest-policy-allow-all-62562987']], 'subnet_ipam': [{'subnet_cidr': '76.4.173.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-27 16:43:26,648 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ad71932d-ae26-408a-a442-f1e8ac6e3c61', 'name': 'ctest-vn-43437967', 'tenant_id': '46f2c4e12fa34c4b8ff4e80a549c7127', 'project_id': '46f2c4e12fa34c4b8ff4e80a549c7127', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a518c72d-73e1-478a-9378-30b23f8e5b78'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07941733', 'ctest-vn-43437967'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07941733', 'ctest-policy-allow-all-62562987']], 'subnet_ipam': [{'subnet_cidr': '125.11.179.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-27 16:43:26,807 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-03-27 16:43:27,108 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-03-27 16:43:27,136 - DEBUG - Requesting: http://10.0.0.49:8082/domain/5488e45e-0785-404b-890b-365ae4eb8a18 2025-03-27 16:43:27,149 - DEBUG - Requesting: http://10.0.0.49:8082/project/46f2c4e1-2fa3-4c4b-8ff4-e80a549c7127 2025-03-27 16:43:27,222 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/382ee179-5536-4a7f-b413-00a0c782f56b 2025-03-27 16:43:27,232 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/382ee179-5536-4a7f-b413-00a0c782f56b 2025-03-27 16:43:27,242 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/7450d00d-7996-4c65-88e4-997373af301d 2025-03-27 16:43:27,251 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/7450d00d-7996-4c65-88e4-997373af301d 2025-03-27 16:43:27,258 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/e8481a9c-1fd5-425e-9e7b-b7f76359be11 2025-03-27 16:43:27,263 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-27 16:43:27,264 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/382ee179-5536-4a7f-b413-00a0c782f56b 2025-03-27 16:43:27,272 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/7450d00d-7996-4c65-88e4-997373af301d 2025-03-27 16:43:27,285 - INFO - Verified VN network id 9 for VN 382ee179-5536-4a7f-b413-00a0c782f56b 2025-03-27 16:43:27,285 - INFO - Verifications in API Server for VN ctest-vn-65868622 passed 2025-03-27 16:43:27,285 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/382ee179-5536-4a7f-b413-00a0c782f56b 2025-03-27 16:43:27,295 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/7450d00d-7996-4c65-88e4-997373af301d 2025-03-27 16:43:27,302 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/7450d00d-7996-4c65-88e4-997373af301d 2025-03-27 16:43:27,308 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/e8481a9c-1fd5-425e-9e7b-b7f76359be11 2025-03-27 16:43:27,319 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07941733:ctest-vn-65868622', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07941733', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4048421026289568383', 'uuid-lslong': '12975715641926546795'}, 'enable': 'true', 'created': '2025-03-27T16:43:25', 'last-modified': '2025-03-27T16:43:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.942487'} 2025-03-27 16:43:27,325 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-27 16:43:27,325 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65868622 passed 2025-03-27 16:43:27,325 - DEBUG - ====Verifying policy data for ctest-vn-65868622 in API_Server ====== 2025-03-27 16:43:27,325 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-03-27 16:43:27,330 - DEBUG - Requesting: http://10.0.0.49:8082/domain/5488e45e-0785-404b-890b-365ae4eb8a18 2025-03-27 16:43:27,341 - DEBUG - Requesting: http://10.0.0.49:8082/project/46f2c4e1-2fa3-4c4b-8ff4-e80a549c7127 2025-03-27 16:43:27,415 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/382ee179-5536-4a7f-b413-00a0c782f56b 2025-03-27 16:43:27,425 - DEBUG - ==>Verifying data for policy with id: 69132123-3077-4268-8c9f-0795f9830db9, fqn: ['default-domain', 'ctest-TestBasicPolicy-07941733', 'ctest-policy-allow-all-62562987'] 2025-03-27 16:43:27,426 - INFO - VN ctest-vn-65868622 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-27 16:43:27,426 - DEBUG - Verifying the vn in opserver 2025-03-27 16:43:27,426 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07941733:ctest-vn-65868622 virtual network link through opserver 10.0.0.49 2025-03-27 16:43:27,426 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-03-27 16:43:27,722 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-03-27 16:43:27,779 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07941733:ctest-vn-65868622', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07941733:ctest-vn-65868622?flat'} 2025-03-27 16:43:27,779 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07941733:ctest-vn-65868622 is found in opserver 2025-03-27 16:43:27,792 - DEBUG - Do not have enough data to verify VN in agent 2025-03-27 16:43:27,797 - DEBUG - VRF ids for VN ctest-vn-65868622: {} 2025-03-27 16:43:27,797 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-03-27 16:43:27,803 - DEBUG - Requesting: http://10.0.0.49:8082/domain/5488e45e-0785-404b-890b-365ae4eb8a18 2025-03-27 16:43:27,820 - DEBUG - Requesting: http://10.0.0.49:8082/project/46f2c4e1-2fa3-4c4b-8ff4-e80a549c7127 2025-03-27 16:43:27,894 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/ad71932d-ae26-408a-a442-f1e8ac6e3c61 2025-03-27 16:43:27,909 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/ad71932d-ae26-408a-a442-f1e8ac6e3c61 2025-03-27 16:43:27,920 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/aa59d796-1569-4926-be31-0707d0adbe1e 2025-03-27 16:43:27,927 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/aa59d796-1569-4926-be31-0707d0adbe1e 2025-03-27 16:43:27,935 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/99128c4f-dbe3-4b7a-a16b-8ca1609cec59 2025-03-27 16:43:27,941 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-27 16:43:27,942 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/ad71932d-ae26-408a-a442-f1e8ac6e3c61 2025-03-27 16:43:27,951 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/aa59d796-1569-4926-be31-0707d0adbe1e 2025-03-27 16:43:27,965 - INFO - Verified VN network id 10 for VN ad71932d-ae26-408a-a442-f1e8ac6e3c61 2025-03-27 16:43:27,965 - INFO - Verifications in API Server for VN ctest-vn-43437967 passed 2025-03-27 16:43:27,965 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/ad71932d-ae26-408a-a442-f1e8ac6e3c61 2025-03-27 16:43:27,976 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/aa59d796-1569-4926-be31-0707d0adbe1e 2025-03-27 16:43:27,983 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/aa59d796-1569-4926-be31-0707d0adbe1e 2025-03-27 16:43:27,990 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/99128c4f-dbe3-4b7a-a16b-8ca1609cec59 2025-03-27 16:43:28,002 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07941733:ctest-vn-43437967', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07941733', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12497932265334390922', 'uuid-lslong': '11836288752310697057'}, 'enable': 'true', 'created': '2025-03-27T16:43:25', 'last-modified': '2025-03-27T16:43:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.377037'} 2025-03-27 16:43:28,007 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-27 16:43:28,008 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43437967 passed 2025-03-27 16:43:28,008 - DEBUG - ====Verifying policy data for ctest-vn-43437967 in API_Server ====== 2025-03-27 16:43:28,008 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-03-27 16:43:28,014 - DEBUG - Requesting: http://10.0.0.49:8082/domain/5488e45e-0785-404b-890b-365ae4eb8a18 2025-03-27 16:43:28,026 - DEBUG - Requesting: http://10.0.0.49:8082/project/46f2c4e1-2fa3-4c4b-8ff4-e80a549c7127 2025-03-27 16:43:28,101 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/ad71932d-ae26-408a-a442-f1e8ac6e3c61 2025-03-27 16:43:28,112 - DEBUG - ==>Verifying data for policy with id: 69132123-3077-4268-8c9f-0795f9830db9, fqn: ['default-domain', 'ctest-TestBasicPolicy-07941733', 'ctest-policy-allow-all-62562987'] 2025-03-27 16:43:28,112 - INFO - VN ctest-vn-43437967 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-27 16:43:28,112 - DEBUG - Verifying the vn in opserver 2025-03-27 16:43:28,112 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07941733:ctest-vn-43437967 virtual network link through opserver 10.0.0.49 2025-03-27 16:43:28,112 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-03-27 16:43:28,123 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07941733:ctest-vn-43437967', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07941733:ctest-vn-43437967?flat'} 2025-03-27 16:43:28,123 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07941733:ctest-vn-43437967 is found in opserver 2025-03-27 16:43:28,134 - DEBUG - Do not have enough data to verify VN in agent 2025-03-27 16:43:28,138 - DEBUG - VRF ids for VN ctest-vn-43437967: {} 2025-03-27 16:43:28,194 - DEBUG - Services list from nova: [, , ] 2025-03-27 16:43:29,199 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2981-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2981-1) 2025-03-27 16:43:30,485 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2981-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2981-1) 2025-03-27 16:43:30,485 - INFO - Waiting for VM ctest-TestBasicPolicy-07941733-65648091 to be up.. 2025-03-27 16:43:30,585 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-27 16:43:35,665 - DEBUG - VM is in ACTIVE state now 2025-03-27 16:43:35,665 - INFO - VM name : ctest-TestBasicPolicy-07941733-65648091 2025-03-27 16:43:35,741 - DEBUG - VM ctest-TestBasicPolicy-07941733-65648091 ID is d3a59cf4-9a86-4879-835b-876818553c30 2025-03-27 16:43:35,760 - DEBUG - VM ctest-TestBasicPolicy-07941733-65648091 launched on Node cn-jenkins-deploy-platform-ansible-os-2981-1 2025-03-27 16:43:35,835 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/d3a59cf4-9a86-4879-835b-876818553c30 2025-03-27 16:43:35,846 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/cf2fd0cc-621c-44ed-bd35-77870d0fbd79 2025-03-27 16:43:39,109 - 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-03-27 16:43:39,109 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07941733-65648091 failed! 2025-03-27 16:43:39,163 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-07941733:ctest-vn-65868622 is 76.4.173.193 and allocation pool is NOT set 2025-03-27 16:43:41,234 - 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.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.532 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.532/2.374/4.217/1.842 ms') 2025-03-27 16:43:41,234 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07941733-65648091 passed 2025-03-27 16:43:41,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 16:43:41,384 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07941733-65648091, IP 76.4.173.195, Port 22 2025-03-27 16:43:41,543 - DEBUG - VM ctest-TestBasicPolicy-07941733-65648091 is ready for SSH connections 2025-03-27 16:43:41,543 - INFO - Waiting for VM ctest-TestBasicPolicy-07941733-11796441 to be up.. 2025-03-27 16:43:41,614 - DEBUG - VM is in ACTIVE state now 2025-03-27 16:43:41,614 - INFO - VM name : ctest-TestBasicPolicy-07941733-11796441 2025-03-27 16:43:41,688 - DEBUG - VM ctest-TestBasicPolicy-07941733-11796441 ID is f9d21fd1-2556-4451-998c-d9b4ae3af4ba 2025-03-27 16:43:41,689 - DEBUG - VM ctest-TestBasicPolicy-07941733-11796441 launched on Node cn-jenkins-deploy-platform-ansible-os-2981-1 2025-03-27 16:43:41,776 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/f9d21fd1-2556-4451-998c-d9b4ae3af4ba 2025-03-27 16:43:41,785 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/3aba5257-b063-4467-8434-b1d182ceadcb 2025-03-27 16:43:43,018 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.15 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 = 2.154/3.296/4.439/1.142 ms') 2025-03-27 16:43:43,018 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-07941733-11796441 passed 2025-03-27 16:43:43,167 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 16:43:43,167 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07941733-11796441, IP 125.11.179.67, Port 22 2025-03-27 16:43:43,318 - DEBUG - VM ctest-TestBasicPolicy-07941733-11796441 is ready for SSH connections 2025-03-27 16:43:43,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 16:43:43,318 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.11.179.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-03-27 16:43:43,319 - DEBUG - ping -s 56 -c 3 -W 1 125.11.179.67 2025-03-27 16:43:47,299 - DEBUG - PING 125.11.179.67 (125.11.179.67): 56 data bytes 64 bytes from 125.11.179.67: seq=0 ttl=63 time=3.615 ms 64 bytes from 125.11.179.67: seq=1 ttl=63 time=0.862 ms 64 bytes from 125.11.179.67: seq=2 ttl=63 time=0.874 ms --- 125.11.179.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.862/1.783/3.615 ms 2025-03-27 16:43:47,299 - INFO - Ping to IP 125.11.179.67 from VM ctest-TestBasicPolicy-07941733-65648091 passed 2025-03-27 16:43:47,491 - DEBUG - Policy Update Response {"network-policy": {"uuid": "69132123-3077-4268-8c9f-0795f9830db9", "href": "http://10.0.0.49:8082/network-policy/69132123-3077-4268-8c9f-0795f9830db9"}} 2025-03-27 16:43:47,491 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 16:43:47,491 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.11.179.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-03-27 16:43:47,491 - DEBUG - ping -s 56 -c 3 -W 1 125.11.179.67 2025-03-27 16:43:50,699 - DEBUG - PING 125.11.179.67 (125.11.179.67): 56 data bytes --- 125.11.179.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-03-27 16:43:50,700 - WARNING - Ping to IP 125.11.179.67 from VM ctest-TestBasicPolicy-07941733-65648091 failed 2025-03-27 16:43:50,700 - INFO - Deleting VM ctest-TestBasicPolicy-07941733-11796441 2025-03-27 16:43:50,761 - INFO - Deleting VM ctest-TestBasicPolicy-07941733-65648091 2025-03-27 16:43:51,113 - INFO - Deleted policy ctest-policy-allow-all-62562987 2025-03-27 16:43:51,113 - INFO - Deleting VN ctest-vn-43437967 2025-03-27 16:43:51,151 - DEBUG - VN ad71932d-ae26-408a-a442-f1e8ac6e3c61 still in use: Unable to complete operation on network ad71932d-ae26-408a-a442-f1e8ac6e3c61. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-67abe713-4195-42bd-9b7c-0e89a668d4dc'] 2025-03-27 16:43:51,151 - WARNING - Deleting VN ctest-vn-43437967 failed..Will retry 2025-03-27 16:43:53,266 - DEBUG - Response for deleting network () 2025-03-27 16:43:53,266 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/aa59d796-1569-4926-be31-0707d0adbe1e 2025-03-27 16:43:53,271 - DEBUG - Response Code: 404 2025-03-27 16:43:53,272 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-03-27 16:43:53,278 - DEBUG - Requesting: http://10.0.0.49:8082/domain/5488e45e-0785-404b-890b-365ae4eb8a18 2025-03-27 16:43:53,334 - DEBUG - Requesting: http://10.0.0.49:8082/project/46f2c4e1-2fa3-4c4b-8ff4-e80a549c7127 2025-03-27 16:43:53,404 - INFO - Validated that VN ctest-vn-43437967 is not found in API Server 2025-03-27 16:43:53,416 - DEBUG - VN ctest-vn-43437967 is not present in Agent 10.0.0.49 2025-03-27 16:43:53,416 - INFO - Validated that VN ctest-vn-43437967 is not in any agent 2025-03-27 16:43:53,432 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43437967 info 2025-03-27 16:43:53,432 - INFO - Deleting VN ctest-vn-65868622 2025-03-27 16:43:53,543 - DEBUG - Response for deleting network () 2025-03-27 16:43:53,543 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/7450d00d-7996-4c65-88e4-997373af301d 2025-03-27 16:43:53,551 - DEBUG - Response Code: 404 2025-03-27 16:43:53,551 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-03-27 16:43:53,557 - DEBUG - Requesting: http://10.0.0.49:8082/domain/5488e45e-0785-404b-890b-365ae4eb8a18 2025-03-27 16:43:53,613 - DEBUG - Requesting: http://10.0.0.49:8082/project/46f2c4e1-2fa3-4c4b-8ff4-e80a549c7127 2025-03-27 16:43:53,687 - INFO - Validated that VN ctest-vn-65868622 is not found in API Server 2025-03-27 16:43:53,698 - DEBUG - VN ctest-vn-65868622 is not present in Agent 10.0.0.49 2025-03-27 16:43:53,698 - INFO - Validated that VN ctest-vn-65868622 is not in any agent 2025-03-27 16:43:53,713 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65868622 info 2025-03-27 16:43:53,973 - DEBUG - No XMPP flaps were noticed during the test 2025-03-27 16:43:53,973 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-03-27 16:43:53,973 - INFO - -------------------------------------------------------------------------------- 2025-03-27 16:43:54,649 - INFO - Deleted project: ctest-TestBasicPolicy-07941733, ID : 46f2c4e1-2fa3-4c4b-8ff4-e80a549c7127