2025-10-27 02:26:42,825 - INFO - Domain Default found not creating 2025-10-27 02:26:42,970 - INFO - Project ctest-TestBasicPolicy-25334675 not found, creating it 2025-10-27 02:26:43,416 - INFO - Created Project:ctest-TestBasicPolicy-25334675, ID : e098b65a-c8fe-4aab-b5bb-a3cdc9c67fe5 2025-10-27 02:26:44,986 - INFO - ================================================================================ 2025-10-27 02:26:44,987 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-27 02:26:44,987 - 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-10-27 02:26:45,240 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.192': '0'}} with 2025-10-27 02:26:45,240 - INFO - Initial checks done. Running the testcase now 2025-10-27 02:26:45,240 - INFO - 2025-10-27 02:26:45,837 - DEBUG - Response for create_network : {'network': {'id': '89e68239-758f-453f-80dd-2c99c9245749', 'name': 'ctest-vn-66256116', 'tenant_id': 'e098b65ac8fe4aabb5bba3cdc9c67fe5', 'project_id': 'e098b65ac8fe4aabb5bba3cdc9c67fe5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25334675', 'ctest-vn-66256116'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 02:26:46,066 - DEBUG - Response for create_subnet : {'subnet': {'id': '647039a1-cf86-4b90-b9fc-5413c6e351ea', 'name': '', 'tenant_id': 'e098b65ac8fe4aabb5bba3cdc9c67fe5', 'network_id': '89e68239-758f-453f-80dd-2c99c9245749', 'ip_version': 4, 'cidr': '207.240.247.0/26', 'allocation_pools': [{'start': '207.240.247.2', 'end': '207.240.247.62'}], 'gateway_ip': '207.240.247.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.240.247.2', 'tags': [], 'project_id': 'e098b65ac8fe4aabb5bba3cdc9c67fe5'}} 2025-10-27 02:26:46,089 - INFO - Created VN ctest-vn-66256116 2025-10-27 02:26:46,143 - DEBUG - VN ctest-vn-66256116 UUID is 89e68239-758f-453f-80dd-2c99c9245749 2025-10-27 02:26:46,467 - DEBUG - Response for create_network : {'network': {'id': '0d128de9-283b-49cf-90cc-1be1f39b3fae', 'name': 'ctest-vn-41408839', 'tenant_id': 'e098b65ac8fe4aabb5bba3cdc9c67fe5', 'project_id': 'e098b65ac8fe4aabb5bba3cdc9c67fe5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25334675', 'ctest-vn-41408839'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 02:26:46,654 - DEBUG - Response for create_subnet : {'subnet': {'id': '176b875b-e998-41b0-a3aa-b77885dd4aca', 'name': '', 'tenant_id': 'e098b65ac8fe4aabb5bba3cdc9c67fe5', 'network_id': '0d128de9-283b-49cf-90cc-1be1f39b3fae', 'ip_version': 4, 'cidr': '73.200.192.192/26', 'allocation_pools': [{'start': '73.200.192.194', 'end': '73.200.192.254'}], 'gateway_ip': '73.200.192.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.200.192.194', 'tags': [], 'project_id': 'e098b65ac8fe4aabb5bba3cdc9c67fe5'}} 2025-10-27 02:26:46,671 - INFO - Created VN ctest-vn-41408839 2025-10-27 02:26:46,723 - DEBUG - VN ctest-vn-41408839 UUID is 0d128de9-283b-49cf-90cc-1be1f39b3fae 2025-10-27 02:26:46,834 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-25334675:ctest-vn-66256116, 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-25334675:ctest-vn-41408839, 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-10-27 02:26:47,130 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '89e68239-758f-453f-80dd-2c99c9245749', 'name': 'ctest-vn-66256116', 'tenant_id': 'e098b65ac8fe4aabb5bba3cdc9c67fe5', 'project_id': 'e098b65ac8fe4aabb5bba3cdc9c67fe5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['647039a1-cf86-4b90-b9fc-5413c6e351ea'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25334675', 'ctest-vn-66256116'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25334675', 'ctest-policy-allow-all-20249980']], 'subnet_ipam': [{'subnet_cidr': '207.240.247.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 02:26:47,346 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0d128de9-283b-49cf-90cc-1be1f39b3fae', 'name': 'ctest-vn-41408839', 'tenant_id': 'e098b65ac8fe4aabb5bba3cdc9c67fe5', 'project_id': 'e098b65ac8fe4aabb5bba3cdc9c67fe5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['176b875b-e998-41b0-a3aa-b77885dd4aca'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25334675', 'ctest-vn-41408839'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25334675', 'ctest-policy-allow-all-20249980']], 'subnet_ipam': [{'subnet_cidr': '73.200.192.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 02:26:47,515 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-27 02:26:47,858 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-27 02:26:47,885 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c99b2c44-ad08-473a-b2cd-7c69aec9f90b 2025-10-27 02:26:47,897 - DEBUG - Requesting: http://10.0.0.22:8082/project/e098b65a-c8fe-4aab-b5bb-a3cdc9c67fe5 2025-10-27 02:26:47,966 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/89e68239-758f-453f-80dd-2c99c9245749 2025-10-27 02:26:47,976 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/89e68239-758f-453f-80dd-2c99c9245749 2025-10-27 02:26:47,985 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6480727c-6e7e-4cf8-9387-a79cd74fe18a 2025-10-27 02:26:47,991 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6480727c-6e7e-4cf8-9387-a79cd74fe18a 2025-10-27 02:26:47,997 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/4b0bc298-b145-4a46-b8d7-19ee10871bbe 2025-10-27 02:26:48,003 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 02:26:48,003 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/89e68239-758f-453f-80dd-2c99c9245749 2025-10-27 02:26:48,012 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6480727c-6e7e-4cf8-9387-a79cd74fe18a 2025-10-27 02:26:48,025 - INFO - Verified VN network id 11 for VN 89e68239-758f-453f-80dd-2c99c9245749 2025-10-27 02:26:48,025 - INFO - Verifications in API Server for VN ctest-vn-66256116 passed 2025-10-27 02:26:48,025 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/89e68239-758f-453f-80dd-2c99c9245749 2025-10-27 02:26:48,033 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6480727c-6e7e-4cf8-9387-a79cd74fe18a 2025-10-27 02:26:48,039 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6480727c-6e7e-4cf8-9387-a79cd74fe18a 2025-10-27 02:26:48,044 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/4b0bc298-b145-4a46-b8d7-19ee10871bbe 2025-10-27 02:26:48,055 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25334675:ctest-vn-66256116', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25334675', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9936772811136648511', 'uuid-lslong': '9285627045724051273'}, 'enable': 'true', 'created': '2025-10-27T02:26:45', 'last-modified': '2025-10-27T02:26:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.947665'} 2025-10-27 02:26:48,063 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 02:26:48,063 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66256116 passed 2025-10-27 02:26:48,063 - DEBUG - ====Verifying policy data for ctest-vn-66256116 in API_Server ====== 2025-10-27 02:26:48,063 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-27 02:26:48,069 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c99b2c44-ad08-473a-b2cd-7c69aec9f90b 2025-10-27 02:26:48,079 - DEBUG - Requesting: http://10.0.0.22:8082/project/e098b65a-c8fe-4aab-b5bb-a3cdc9c67fe5 2025-10-27 02:26:48,148 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/89e68239-758f-453f-80dd-2c99c9245749 2025-10-27 02:26:48,156 - DEBUG - ==>Verifying data for policy with id: 40f103af-fd9e-428f-98aa-851d2f2fd37e, fqn: ['default-domain', 'ctest-TestBasicPolicy-25334675', 'ctest-policy-allow-all-20249980'] 2025-10-27 02:26:48,156 - INFO - VN ctest-vn-66256116 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 02:26:48,156 - DEBUG - Verifying the vn in opserver 2025-10-27 02:26:48,156 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25334675:ctest-vn-66256116 virtual network link through opserver 10.0.0.22 2025-10-27 02:26:48,156 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-27 02:26:48,489 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-27 02:26:48,544 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25334675:ctest-vn-66256116', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25334675:ctest-vn-66256116?flat'} 2025-10-27 02:26:48,544 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25334675:ctest-vn-66256116 is found in opserver 2025-10-27 02:26:48,553 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 02:26:48,558 - DEBUG - VRF ids for VN ctest-vn-66256116: {} 2025-10-27 02:26:48,558 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-27 02:26:48,564 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c99b2c44-ad08-473a-b2cd-7c69aec9f90b 2025-10-27 02:26:48,575 - DEBUG - Requesting: http://10.0.0.22:8082/project/e098b65a-c8fe-4aab-b5bb-a3cdc9c67fe5 2025-10-27 02:26:48,644 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0d128de9-283b-49cf-90cc-1be1f39b3fae 2025-10-27 02:26:48,654 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0d128de9-283b-49cf-90cc-1be1f39b3fae 2025-10-27 02:26:48,662 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b24eafb8-8ce6-4454-b1d8-16a7b6a2bfd2 2025-10-27 02:26:48,668 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b24eafb8-8ce6-4454-b1d8-16a7b6a2bfd2 2025-10-27 02:26:48,673 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/18b6e8b8-79ab-4d2f-9d33-fcc03e4b2052 2025-10-27 02:26:48,679 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 02:26:48,679 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0d128de9-283b-49cf-90cc-1be1f39b3fae 2025-10-27 02:26:48,687 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b24eafb8-8ce6-4454-b1d8-16a7b6a2bfd2 2025-10-27 02:26:48,698 - INFO - Verified VN network id 12 for VN 0d128de9-283b-49cf-90cc-1be1f39b3fae 2025-10-27 02:26:48,698 - INFO - Verifications in API Server for VN ctest-vn-41408839 passed 2025-10-27 02:26:48,698 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0d128de9-283b-49cf-90cc-1be1f39b3fae 2025-10-27 02:26:48,706 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b24eafb8-8ce6-4454-b1d8-16a7b6a2bfd2 2025-10-27 02:26:48,712 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b24eafb8-8ce6-4454-b1d8-16a7b6a2bfd2 2025-10-27 02:26:48,717 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/18b6e8b8-79ab-4d2f-9d33-fcc03e4b2052 2025-10-27 02:26:48,727 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25334675:ctest-vn-41408839', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25334675', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '941971304615725519', 'uuid-lslong': '10433745093979226030'}, 'enable': 'true', 'created': '2025-10-27T02:26:46', 'last-modified': '2025-10-27T02:26:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.401302'} 2025-10-27 02:26:48,732 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 02:26:48,732 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41408839 passed 2025-10-27 02:26:48,732 - DEBUG - ====Verifying policy data for ctest-vn-41408839 in API_Server ====== 2025-10-27 02:26:48,732 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-27 02:26:48,736 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c99b2c44-ad08-473a-b2cd-7c69aec9f90b 2025-10-27 02:26:48,746 - DEBUG - Requesting: http://10.0.0.22:8082/project/e098b65a-c8fe-4aab-b5bb-a3cdc9c67fe5 2025-10-27 02:26:48,811 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0d128de9-283b-49cf-90cc-1be1f39b3fae 2025-10-27 02:26:48,820 - DEBUG - ==>Verifying data for policy with id: 40f103af-fd9e-428f-98aa-851d2f2fd37e, fqn: ['default-domain', 'ctest-TestBasicPolicy-25334675', 'ctest-policy-allow-all-20249980'] 2025-10-27 02:26:48,821 - INFO - VN ctest-vn-41408839 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 02:26:48,821 - DEBUG - Verifying the vn in opserver 2025-10-27 02:26:48,821 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25334675:ctest-vn-41408839 virtual network link through opserver 10.0.0.22 2025-10-27 02:26:48,821 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-27 02:26:48,829 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25334675:ctest-vn-41408839', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25334675:ctest-vn-41408839?flat'} 2025-10-27 02:26:48,829 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25334675:ctest-vn-41408839 is found in opserver 2025-10-27 02:26:48,839 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 02:26:48,844 - DEBUG - VRF ids for VN ctest-vn-41408839: {} 2025-10-27 02:26:48,900 - DEBUG - Services list from nova: [, , ] 2025-10-27 02:26:49,975 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4486-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4486-1) 2025-10-27 02:26:51,210 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4486-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4486-1) 2025-10-27 02:26:51,210 - INFO - Waiting for VM ctest-TestBasicPolicy-25334675-12336713 to be up.. 2025-10-27 02:26:51,290 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 02:26:56,360 - DEBUG - VM is in ACTIVE state now 2025-10-27 02:26:56,361 - INFO - VM name : ctest-TestBasicPolicy-25334675-12336713 2025-10-27 02:26:56,430 - DEBUG - VM ctest-TestBasicPolicy-25334675-12336713 ID is 99898f4b-b2a9-4c04-b135-b8f22f83a437 2025-10-27 02:26:56,449 - DEBUG - VM ctest-TestBasicPolicy-25334675-12336713 launched on Node cn-jenkins-deploy-platform-ansible-os-4486-1 2025-10-27 02:26:56,518 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/99898f4b-b2a9-4c04-b135-b8f22f83a437 2025-10-27 02:26:56,527 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b83e00eb-88db-4bec-b8f2-884e9661a1ca 2025-10-27 02:26:59,771 - 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 1011ms') 2025-10-27 02:26:59,771 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25334675-12336713 failed! 2025-10-27 02:26:59,827 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-25334675:ctest-vn-66256116 is 207.240.247.1 and allocation pool is NOT set 2025-10-27 02:27:01,893 - 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.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.13 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 = 1.127/5.377/9.628/4.250 ms') 2025-10-27 02:27:01,893 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25334675-12336713 passed 2025-10-27 02:27:02,043 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:27:02,043 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25334675-12336713, IP 207.240.247.3, Port 22 2025-10-27 02:27:02,199 - DEBUG - VM ctest-TestBasicPolicy-25334675-12336713 is ready for SSH connections 2025-10-27 02:27:02,199 - INFO - Waiting for VM ctest-TestBasicPolicy-25334675-16201593 to be up.. 2025-10-27 02:27:02,271 - DEBUG - VM is in ACTIVE state now 2025-10-27 02:27:02,271 - INFO - VM name : ctest-TestBasicPolicy-25334675-16201593 2025-10-27 02:27:02,342 - DEBUG - VM ctest-TestBasicPolicy-25334675-16201593 ID is 54743d16-5b49-424a-a255-e9784621f87e 2025-10-27 02:27:02,342 - DEBUG - VM ctest-TestBasicPolicy-25334675-16201593 launched on Node cn-jenkins-deploy-platform-ansible-os-4486-1 2025-10-27 02:27:02,412 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/54743d16-5b49-424a-a255-e9784621f87e 2025-10-27 02:27:02,420 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e2995996-12d3-450e-a5e8-a7319012e9a7 2025-10-27 02:27:03,666 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.922 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 = 0.922/2.614/4.307/1.692 ms') 2025-10-27 02:27:03,667 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-25334675-16201593 passed 2025-10-27 02:27:03,815 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:27:03,815 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25334675-16201593, IP 73.200.192.195, Port 22 2025-10-27 02:27:03,971 - DEBUG - VM ctest-TestBasicPolicy-25334675-16201593 is ready for SSH connections 2025-10-27 02:27:03,971 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:27:03,971 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.200.192.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-27 02:27:03,971 - DEBUG - ping -s 56 -c 3 -W 1 73.200.192.195 2025-10-27 02:27:08,075 - DEBUG - PING 73.200.192.195 (73.200.192.195): 56 data bytes 64 bytes from 73.200.192.195: seq=0 ttl=63 time=3.584 ms 64 bytes from 73.200.192.195: seq=1 ttl=63 time=0.756 ms 64 bytes from 73.200.192.195: seq=2 ttl=63 time=0.930 ms --- 73.200.192.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.756/1.756/3.584 ms 2025-10-27 02:27:08,075 - INFO - Ping to IP 73.200.192.195 from VM ctest-TestBasicPolicy-25334675-12336713 passed 2025-10-27 02:27:08,255 - DEBUG - Policy Update Response {"network-policy": {"uuid": "40f103af-fd9e-428f-98aa-851d2f2fd37e", "href": "http://10.0.0.22:8082/network-policy/40f103af-fd9e-428f-98aa-851d2f2fd37e"}} 2025-10-27 02:27:08,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:27:08,255 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.200.192.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-27 02:27:08,255 - DEBUG - ping -s 56 -c 3 -W 1 73.200.192.195 2025-10-27 02:27:11,472 - DEBUG - PING 73.200.192.195 (73.200.192.195): 56 data bytes --- 73.200.192.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 02:27:11,473 - WARNING - Ping to IP 73.200.192.195 from VM ctest-TestBasicPolicy-25334675-12336713 failed 2025-10-27 02:27:11,473 - INFO - Deleting VM ctest-TestBasicPolicy-25334675-16201593 2025-10-27 02:27:11,549 - INFO - Deleting VM ctest-TestBasicPolicy-25334675-12336713 2025-10-27 02:27:11,912 - INFO - Deleted policy ctest-policy-allow-all-20249980 2025-10-27 02:27:11,912 - INFO - Deleting VN ctest-vn-41408839 2025-10-27 02:27:11,950 - DEBUG - VN 0d128de9-283b-49cf-90cc-1be1f39b3fae still in use: Unable to complete operation on network 0d128de9-283b-49cf-90cc-1be1f39b3fae. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-090b7232-fc90-4eb9-b1b6-355ea993241f'] 2025-10-27 02:27:11,950 - WARNING - Deleting VN ctest-vn-41408839 failed..Will retry 2025-10-27 02:27:14,044 - DEBUG - Response for deleting network () 2025-10-27 02:27:14,045 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b24eafb8-8ce6-4454-b1d8-16a7b6a2bfd2 2025-10-27 02:27:14,052 - DEBUG - Response Code: 404 2025-10-27 02:27:14,052 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-27 02:27:14,057 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c99b2c44-ad08-473a-b2cd-7c69aec9f90b 2025-10-27 02:27:14,108 - DEBUG - Requesting: http://10.0.0.22:8082/project/e098b65a-c8fe-4aab-b5bb-a3cdc9c67fe5 2025-10-27 02:27:14,188 - INFO - Validated that VN ctest-vn-41408839 is not found in API Server 2025-10-27 02:27:14,198 - DEBUG - VN ctest-vn-41408839 is not present in Agent 10.0.0.22 2025-10-27 02:27:14,198 - INFO - Validated that VN ctest-vn-41408839 is not in any agent 2025-10-27 02:27:14,214 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41408839 info 2025-10-27 02:27:14,214 - INFO - Deleting VN ctest-vn-66256116 2025-10-27 02:27:14,317 - DEBUG - Response for deleting network () 2025-10-27 02:27:14,317 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6480727c-6e7e-4cf8-9387-a79cd74fe18a 2025-10-27 02:27:14,323 - DEBUG - Response Code: 404 2025-10-27 02:27:14,323 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-27 02:27:14,328 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c99b2c44-ad08-473a-b2cd-7c69aec9f90b 2025-10-27 02:27:14,380 - DEBUG - Requesting: http://10.0.0.22:8082/project/e098b65a-c8fe-4aab-b5bb-a3cdc9c67fe5 2025-10-27 02:27:14,452 - INFO - Validated that VN ctest-vn-66256116 is not found in API Server 2025-10-27 02:27:14,462 - DEBUG - VN ctest-vn-66256116 is not present in Agent 10.0.0.22 2025-10-27 02:27:14,462 - INFO - Validated that VN ctest-vn-66256116 is not in any agent 2025-10-27 02:27:14,475 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66256116 info 2025-10-27 02:27:14,732 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 02:27:14,732 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-10-27 02:27:14,732 - INFO - -------------------------------------------------------------------------------- 2025-10-27 02:27:15,445 - INFO - Deleted project: ctest-TestBasicPolicy-25334675, ID : e098b65a-c8fe-4aab-b5bb-a3cdc9c67fe5