2025-02-04 21:34:54,408 - INFO - Domain Default found not creating 2025-02-04 21:34:54,605 - INFO - Project ctest-TestBasicPolicy-79233957 not found, creating it 2025-02-04 21:34:55,114 - INFO - Created Project:ctest-TestBasicPolicy-79233957, ID : da6b778f-817c-4196-8d11-1edf67a6db9a 2025-02-04 21:34:56,726 - INFO - ================================================================================ 2025-02-04 21:34:56,726 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-04 21:34:56,726 - 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-02-04 21:34:57,004 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.5': '0'}} with 2025-02-04 21:34:57,004 - INFO - Initial checks done. Running the testcase now 2025-02-04 21:34:57,004 - INFO - 2025-02-04 21:34:57,621 - DEBUG - Response for create_network : {'network': {'id': 'bdecb9dc-0226-4919-8a81-bcef3301776c', 'name': 'ctest-vn-65612592', 'tenant_id': 'da6b778f817c41968d111edf67a6db9a', 'project_id': 'da6b778f817c41968d111edf67a6db9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79233957', 'ctest-vn-65612592'], 'port_security_enabled': True, 'description': ''}} 2025-02-04 21:34:57,803 - DEBUG - Response for create_subnet : {'subnet': {'id': '876520d2-b72c-428c-93e5-c09ced01094f', 'name': '', 'tenant_id': 'da6b778f817c41968d111edf67a6db9a', 'network_id': 'bdecb9dc-0226-4919-8a81-bcef3301776c', 'ip_version': 4, 'cidr': '157.62.102.0/26', 'allocation_pools': [{'start': '157.62.102.2', 'end': '157.62.102.62'}], 'gateway_ip': '157.62.102.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.62.102.2', 'tags': [], 'project_id': 'da6b778f817c41968d111edf67a6db9a'}} 2025-02-04 21:34:57,827 - INFO - Created VN ctest-vn-65612592 2025-02-04 21:34:57,880 - DEBUG - VN ctest-vn-65612592 UUID is bdecb9dc-0226-4919-8a81-bcef3301776c 2025-02-04 21:34:58,224 - DEBUG - Response for create_network : {'network': {'id': 'd33a7ae1-7334-4a4d-859f-3dd72e0d90b2', 'name': 'ctest-vn-67363657', 'tenant_id': 'da6b778f817c41968d111edf67a6db9a', 'project_id': 'da6b778f817c41968d111edf67a6db9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79233957', 'ctest-vn-67363657'], 'port_security_enabled': True, 'description': ''}} 2025-02-04 21:34:58,430 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f47fc16-fbba-4f0f-9456-7ff1a02b1378', 'name': '', 'tenant_id': 'da6b778f817c41968d111edf67a6db9a', 'network_id': 'd33a7ae1-7334-4a4d-859f-3dd72e0d90b2', 'ip_version': 4, 'cidr': '49.175.27.128/26', 'allocation_pools': [{'start': '49.175.27.130', 'end': '49.175.27.190'}], 'gateway_ip': '49.175.27.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.175.27.130', 'tags': [], 'project_id': 'da6b778f817c41968d111edf67a6db9a'}} 2025-02-04 21:34:58,450 - INFO - Created VN ctest-vn-67363657 2025-02-04 21:34:58,504 - DEBUG - VN ctest-vn-67363657 UUID is d33a7ae1-7334-4a4d-859f-3dd72e0d90b2 2025-02-04 21:34:58,643 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-79233957:ctest-vn-65612592, 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-79233957:ctest-vn-67363657, 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-02-04 21:34:58,983 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bdecb9dc-0226-4919-8a81-bcef3301776c', 'name': 'ctest-vn-65612592', 'tenant_id': 'da6b778f817c41968d111edf67a6db9a', 'project_id': 'da6b778f817c41968d111edf67a6db9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['876520d2-b72c-428c-93e5-c09ced01094f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79233957', 'ctest-vn-65612592'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79233957', 'ctest-policy-allow-all-70498599']], 'subnet_ipam': [{'subnet_cidr': '157.62.102.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-04 21:34:59,241 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd33a7ae1-7334-4a4d-859f-3dd72e0d90b2', 'name': 'ctest-vn-67363657', 'tenant_id': 'da6b778f817c41968d111edf67a6db9a', 'project_id': 'da6b778f817c41968d111edf67a6db9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0f47fc16-fbba-4f0f-9456-7ff1a02b1378'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79233957', 'ctest-vn-67363657'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79233957', 'ctest-policy-allow-all-70498599']], 'subnet_ipam': [{'subnet_cidr': '49.175.27.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-04 21:34:59,400 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-02-04 21:34:59,714 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-02-04 21:34:59,748 - DEBUG - Requesting: http://10.0.0.17:8082/domain/809c5091-19bf-4392-8173-730f899e9ebb 2025-02-04 21:34:59,763 - DEBUG - Requesting: http://10.0.0.17:8082/project/da6b778f-817c-4196-8d11-1edf67a6db9a 2025-02-04 21:34:59,841 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/bdecb9dc-0226-4919-8a81-bcef3301776c 2025-02-04 21:34:59,852 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/bdecb9dc-0226-4919-8a81-bcef3301776c 2025-02-04 21:34:59,863 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/d97be5fe-b6a0-4d5a-9621-7e7faa7c5c42 2025-02-04 21:34:59,871 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/d97be5fe-b6a0-4d5a-9621-7e7faa7c5c42 2025-02-04 21:34:59,879 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/81bdef06-e184-447b-9dc0-b336feafb7f9 2025-02-04 21:34:59,888 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-04 21:34:59,888 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/bdecb9dc-0226-4919-8a81-bcef3301776c 2025-02-04 21:34:59,897 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/d97be5fe-b6a0-4d5a-9621-7e7faa7c5c42 2025-02-04 21:34:59,915 - INFO - Verified VN network id 8 for VN bdecb9dc-0226-4919-8a81-bcef3301776c 2025-02-04 21:34:59,915 - INFO - Verifications in API Server for VN ctest-vn-65612592 passed 2025-02-04 21:34:59,915 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/bdecb9dc-0226-4919-8a81-bcef3301776c 2025-02-04 21:34:59,925 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/d97be5fe-b6a0-4d5a-9621-7e7faa7c5c42 2025-02-04 21:34:59,934 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/d97be5fe-b6a0-4d5a-9621-7e7faa7c5c42 2025-02-04 21:34:59,944 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/81bdef06-e184-447b-9dc0-b336feafb7f9 2025-02-04 21:34:59,962 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79233957:ctest-vn-65612592', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79233957', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13685517722252101913', 'uuid-lslong': '9980465984768669548'}, 'enable': 'true', 'created': '2025-02-04T21:34:57', 'last-modified': '2025-02-04T21:34:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.005932'} 2025-02-04 21:34:59,971 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-04 21:34:59,972 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65612592 passed 2025-02-04 21:34:59,972 - DEBUG - ====Verifying policy data for ctest-vn-65612592 in API_Server ====== 2025-02-04 21:34:59,972 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-02-04 21:34:59,980 - DEBUG - Requesting: http://10.0.0.17:8082/domain/809c5091-19bf-4392-8173-730f899e9ebb 2025-02-04 21:34:59,994 - DEBUG - Requesting: http://10.0.0.17:8082/project/da6b778f-817c-4196-8d11-1edf67a6db9a 2025-02-04 21:35:00,067 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/bdecb9dc-0226-4919-8a81-bcef3301776c 2025-02-04 21:35:00,078 - DEBUG - ==>Verifying data for policy with id: cf4170c6-4cfc-45bd-8e76-14c92ce08256, fqn: ['default-domain', 'ctest-TestBasicPolicy-79233957', 'ctest-policy-allow-all-70498599'] 2025-02-04 21:35:00,078 - INFO - VN ctest-vn-65612592 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-04 21:35:00,078 - DEBUG - Verifying the vn in opserver 2025-02-04 21:35:00,078 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79233957:ctest-vn-65612592 virtual network link through opserver 10.0.0.17 2025-02-04 21:35:00,078 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-02-04 21:35:00,390 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-02-04 21:35:00,467 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79233957:ctest-vn-65612592', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79233957:ctest-vn-65612592?flat'} 2025-02-04 21:35:00,467 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79233957:ctest-vn-65612592 is found in opserver 2025-02-04 21:35:00,480 - DEBUG - Do not have enough data to verify VN in agent 2025-02-04 21:35:00,487 - DEBUG - VRF ids for VN ctest-vn-65612592: {} 2025-02-04 21:35:00,487 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-02-04 21:35:00,496 - DEBUG - Requesting: http://10.0.0.17:8082/domain/809c5091-19bf-4392-8173-730f899e9ebb 2025-02-04 21:35:00,509 - DEBUG - Requesting: http://10.0.0.17:8082/project/da6b778f-817c-4196-8d11-1edf67a6db9a 2025-02-04 21:35:00,582 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/d33a7ae1-7334-4a4d-859f-3dd72e0d90b2 2025-02-04 21:35:00,596 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/d33a7ae1-7334-4a4d-859f-3dd72e0d90b2 2025-02-04 21:35:00,609 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/8c3ea9c9-9afe-46e6-9dee-201782ca50f8 2025-02-04 21:35:00,618 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/8c3ea9c9-9afe-46e6-9dee-201782ca50f8 2025-02-04 21:35:00,626 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/fb428235-e2cd-4f0f-99c8-01067c9e4897 2025-02-04 21:35:00,635 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-02-04 21:35:00,635 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/d33a7ae1-7334-4a4d-859f-3dd72e0d90b2 2025-02-04 21:35:00,650 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/8c3ea9c9-9afe-46e6-9dee-201782ca50f8 2025-02-04 21:35:00,665 - INFO - Verified VN network id 9 for VN d33a7ae1-7334-4a4d-859f-3dd72e0d90b2 2025-02-04 21:35:00,665 - INFO - Verifications in API Server for VN ctest-vn-67363657 passed 2025-02-04 21:35:00,665 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/d33a7ae1-7334-4a4d-859f-3dd72e0d90b2 2025-02-04 21:35:00,679 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/8c3ea9c9-9afe-46e6-9dee-201782ca50f8 2025-02-04 21:35:00,690 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/8c3ea9c9-9afe-46e6-9dee-201782ca50f8 2025-02-04 21:35:00,699 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/fb428235-e2cd-4f0f-99c8-01067c9e4897 2025-02-04 21:35:00,715 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79233957:ctest-vn-67363657', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79233957', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15220612999371049549', 'uuid-lslong': '9628482522741313714'}, 'enable': 'true', 'created': '2025-02-04T21:34:58', 'last-modified': '2025-02-04T21:34:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.493700'} 2025-02-04 21:35:00,724 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-02-04 21:35:00,724 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67363657 passed 2025-02-04 21:35:00,724 - DEBUG - ====Verifying policy data for ctest-vn-67363657 in API_Server ====== 2025-02-04 21:35:00,724 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-02-04 21:35:00,737 - DEBUG - Requesting: http://10.0.0.17:8082/domain/809c5091-19bf-4392-8173-730f899e9ebb 2025-02-04 21:35:00,752 - DEBUG - Requesting: http://10.0.0.17:8082/project/da6b778f-817c-4196-8d11-1edf67a6db9a 2025-02-04 21:35:00,834 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/d33a7ae1-7334-4a4d-859f-3dd72e0d90b2 2025-02-04 21:35:00,844 - DEBUG - ==>Verifying data for policy with id: cf4170c6-4cfc-45bd-8e76-14c92ce08256, fqn: ['default-domain', 'ctest-TestBasicPolicy-79233957', 'ctest-policy-allow-all-70498599'] 2025-02-04 21:35:00,844 - INFO - VN ctest-vn-67363657 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-04 21:35:00,845 - DEBUG - Verifying the vn in opserver 2025-02-04 21:35:00,845 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79233957:ctest-vn-67363657 virtual network link through opserver 10.0.0.17 2025-02-04 21:35:00,845 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-02-04 21:35:00,860 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79233957:ctest-vn-67363657', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79233957:ctest-vn-67363657?flat'} 2025-02-04 21:35:00,860 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79233957:ctest-vn-67363657 is found in opserver 2025-02-04 21:35:00,877 - DEBUG - Do not have enough data to verify VN in agent 2025-02-04 21:35:00,884 - DEBUG - VRF ids for VN ctest-vn-67363657: {} 2025-02-04 21:35:00,957 - DEBUG - Services list from nova: [, , ] 2025-02-04 21:35:02,078 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2687-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2687-1) 2025-02-04 21:35:03,534 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2687-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2687-1) 2025-02-04 21:35:03,534 - INFO - Waiting for VM ctest-TestBasicPolicy-79233957-34211510 to be up.. 2025-02-04 21:35:03,641 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-04 21:35:08,736 - DEBUG - VM is in ACTIVE state now 2025-02-04 21:35:08,736 - INFO - VM name : ctest-TestBasicPolicy-79233957-34211510 2025-02-04 21:35:08,837 - DEBUG - VM ctest-TestBasicPolicy-79233957-34211510 ID is 478b733f-1b34-4ce2-96b2-e01dff18093b 2025-02-04 21:35:08,865 - DEBUG - VM ctest-TestBasicPolicy-79233957-34211510 launched on Node cn-jenkins-deploy-platform-ansible-os-2687-1 2025-02-04 21:35:08,964 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/478b733f-1b34-4ce2-96b2-e01dff18093b 2025-02-04 21:35:08,974 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/bb882f20-cbdc-408e-9f15-9c2b2e1b9d12 2025-02-04 21:35:12,275 - 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 1026ms') 2025-02-04 21:35:12,275 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79233957-34211510 failed! 2025-02-04 21:35:12,332 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-79233957:ctest-vn-65612592 is 157.62.102.1 and allocation pool is NOT set 2025-02-04 21:35:14,398 - 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=9.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.37 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 = 2.369/5.767/9.165/3.398 ms') 2025-02-04 21:35:14,398 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79233957-34211510 passed 2025-02-04 21:35:14,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-04 21:35:14,552 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79233957-34211510, IP 157.62.102.3, Port 22 2025-02-04 21:35:14,728 - DEBUG - VM ctest-TestBasicPolicy-79233957-34211510 is ready for SSH connections 2025-02-04 21:35:14,728 - INFO - Waiting for VM ctest-TestBasicPolicy-79233957-37101121 to be up.. 2025-02-04 21:35:14,828 - DEBUG - VM is in ACTIVE state now 2025-02-04 21:35:14,829 - INFO - VM name : ctest-TestBasicPolicy-79233957-37101121 2025-02-04 21:35:14,923 - DEBUG - VM ctest-TestBasicPolicy-79233957-37101121 ID is 7735b320-ea23-4006-a745-3787b818d2dd 2025-02-04 21:35:14,924 - DEBUG - VM ctest-TestBasicPolicy-79233957-37101121 launched on Node cn-jenkins-deploy-platform-ansible-os-2687-1 2025-02-04 21:35:15,014 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/7735b320-ea23-4006-a745-3787b818d2dd 2025-02-04 21:35:15,024 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/010ef0ec-ed66-4f01-9a88-5b11ad64c46f 2025-02-04 21:35:16,266 - 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.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.19 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.192/2.766/4.341/1.574 ms') 2025-02-04 21:35:16,266 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-79233957-37101121 passed 2025-02-04 21:35:16,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-04 21:35:16,424 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79233957-37101121, IP 49.175.27.131, Port 22 2025-02-04 21:35:16,590 - DEBUG - VM ctest-TestBasicPolicy-79233957-37101121 is ready for SSH connections 2025-02-04 21:35:16,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-04 21:35:16,591 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.175.27.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-02-04 21:35:16,591 - DEBUG - ping -s 56 -c 3 -W 1 49.175.27.131 2025-02-04 21:35:20,756 - DEBUG - PING 49.175.27.131 (49.175.27.131): 56 data bytes 64 bytes from 49.175.27.131: seq=0 ttl=63 time=4.442 ms 64 bytes from 49.175.27.131: seq=1 ttl=63 time=1.212 ms 64 bytes from 49.175.27.131: seq=2 ttl=63 time=1.084 ms --- 49.175.27.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.084/2.246/4.442 ms 2025-02-04 21:35:20,756 - INFO - Ping to IP 49.175.27.131 from VM ctest-TestBasicPolicy-79233957-34211510 passed 2025-02-04 21:35:20,944 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cf4170c6-4cfc-45bd-8e76-14c92ce08256", "href": "http://10.0.0.17:8082/network-policy/cf4170c6-4cfc-45bd-8e76-14c92ce08256"}} 2025-02-04 21:35:20,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-04 21:35:20,944 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.175.27.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-02-04 21:35:20,944 - DEBUG - ping -s 56 -c 3 -W 1 49.175.27.131 2025-02-04 21:35:24,180 - DEBUG - PING 49.175.27.131 (49.175.27.131): 56 data bytes 64 bytes from 49.175.27.131: seq=0 ttl=63 time=2.518 ms --- 49.175.27.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.518/2.518/2.518 ms 2025-02-04 21:35:24,181 - WARNING - Ping to IP 49.175.27.131 from VM ctest-TestBasicPolicy-79233957-34211510 failed 2025-02-04 21:35:24,181 - INFO - Deleting VM ctest-TestBasicPolicy-79233957-37101121 2025-02-04 21:35:24,290 - INFO - Deleting VM ctest-TestBasicPolicy-79233957-34211510 2025-02-04 21:35:24,715 - INFO - Deleted policy ctest-policy-allow-all-70498599 2025-02-04 21:35:24,715 - INFO - Deleting VN ctest-vn-67363657 2025-02-04 21:35:24,762 - DEBUG - VN d33a7ae1-7334-4a4d-859f-3dd72e0d90b2 still in use: Unable to complete operation on network d33a7ae1-7334-4a4d-859f-3dd72e0d90b2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-52ee81d4-78b8-40f2-b4fa-9d30ce8b3c49'] 2025-02-04 21:35:24,762 - WARNING - Deleting VN ctest-vn-67363657 failed..Will retry 2025-02-04 21:35:26,887 - DEBUG - Response for deleting network () 2025-02-04 21:35:26,887 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/8c3ea9c9-9afe-46e6-9dee-201782ca50f8 2025-02-04 21:35:26,895 - DEBUG - Response Code: 404 2025-02-04 21:35:26,895 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-02-04 21:35:26,902 - DEBUG - Requesting: http://10.0.0.17:8082/domain/809c5091-19bf-4392-8173-730f899e9ebb 2025-02-04 21:35:26,961 - DEBUG - Requesting: http://10.0.0.17:8082/project/da6b778f-817c-4196-8d11-1edf67a6db9a 2025-02-04 21:35:27,037 - INFO - Validated that VN ctest-vn-67363657 is not found in API Server 2025-02-04 21:35:27,051 - DEBUG - VN ctest-vn-67363657 is not present in Agent 10.0.0.17 2025-02-04 21:35:27,051 - INFO - Validated that VN ctest-vn-67363657 is not in any agent 2025-02-04 21:35:27,074 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67363657 info 2025-02-04 21:35:27,074 - INFO - Deleting VN ctest-vn-65612592 2025-02-04 21:35:27,202 - DEBUG - Response for deleting network () 2025-02-04 21:35:27,202 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/d97be5fe-b6a0-4d5a-9621-7e7faa7c5c42 2025-02-04 21:35:27,212 - DEBUG - Response Code: 404 2025-02-04 21:35:27,213 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-02-04 21:35:27,221 - DEBUG - Requesting: http://10.0.0.17:8082/domain/809c5091-19bf-4392-8173-730f899e9ebb 2025-02-04 21:35:27,278 - DEBUG - Requesting: http://10.0.0.17:8082/project/da6b778f-817c-4196-8d11-1edf67a6db9a 2025-02-04 21:35:27,354 - INFO - Validated that VN ctest-vn-65612592 is not found in API Server 2025-02-04 21:35:27,368 - DEBUG - VN ctest-vn-65612592 is not present in Agent 10.0.0.17 2025-02-04 21:35:27,368 - INFO - Validated that VN ctest-vn-65612592 is not in any agent 2025-02-04 21:35:27,389 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65612592 info 2025-02-04 21:35:27,653 - DEBUG - No XMPP flaps were noticed during the test 2025-02-04 21:35:27,653 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-02-04 21:35:27,653 - INFO - -------------------------------------------------------------------------------- 2025-02-04 21:35:28,390 - INFO - Deleted project: ctest-TestBasicPolicy-79233957, ID : da6b778f-817c-4196-8d11-1edf67a6db9a