2025-06-10 19:45:56,243 - INFO - Domain Default found not creating 2025-06-10 19:45:56,381 - INFO - Project ctest-TestBasicPolicy-34040270 not found, creating it 2025-06-10 19:45:56,823 - INFO - Created Project:ctest-TestBasicPolicy-34040270, ID : fb038279-1a4e-4ceb-b5fa-a2f9c90dcda3 2025-06-10 19:45:58,238 - INFO - ================================================================================ 2025-06-10 19:45:58,238 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-10 19:45:58,238 - 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-06-10 19:45:58,492 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-06-10 19:45:58,492 - INFO - Initial checks done. Running the testcase now 2025-06-10 19:45:58,492 - INFO - 2025-06-10 19:45:59,053 - DEBUG - Response for create_network : {'network': {'id': '6b2a2a7f-87f5-4c87-9421-5ecf0b7523c7', 'name': 'ctest-vn-53411621', 'tenant_id': 'fb0382791a4e4cebb5faa2f9c90dcda3', 'project_id': 'fb0382791a4e4cebb5faa2f9c90dcda3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34040270', 'ctest-vn-53411621'], 'port_security_enabled': True, 'description': ''}} 2025-06-10 19:45:59,275 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa45b05e-8d66-4fdd-8f21-badbc43d4808', 'name': '', 'tenant_id': 'fb0382791a4e4cebb5faa2f9c90dcda3', 'network_id': '6b2a2a7f-87f5-4c87-9421-5ecf0b7523c7', 'ip_version': 4, 'cidr': '60.57.213.192/26', 'allocation_pools': [{'start': '60.57.213.194', 'end': '60.57.213.254'}], 'gateway_ip': '60.57.213.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.57.213.194', 'tags': [], 'project_id': 'fb0382791a4e4cebb5faa2f9c90dcda3'}} 2025-06-10 19:45:59,292 - INFO - Created VN ctest-vn-53411621 2025-06-10 19:45:59,341 - DEBUG - VN ctest-vn-53411621 UUID is 6b2a2a7f-87f5-4c87-9421-5ecf0b7523c7 2025-06-10 19:45:59,647 - DEBUG - Response for create_network : {'network': {'id': '7f256842-0ee6-44d5-90ba-4787fbf4dc86', 'name': 'ctest-vn-10102946', 'tenant_id': 'fb0382791a4e4cebb5faa2f9c90dcda3', 'project_id': 'fb0382791a4e4cebb5faa2f9c90dcda3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34040270', 'ctest-vn-10102946'], 'port_security_enabled': True, 'description': ''}} 2025-06-10 19:45:59,826 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da52a675-4727-4600-8c1b-dac87f1a43c9', 'name': '', 'tenant_id': 'fb0382791a4e4cebb5faa2f9c90dcda3', 'network_id': '7f256842-0ee6-44d5-90ba-4787fbf4dc86', 'ip_version': 4, 'cidr': '102.206.98.64/26', 'allocation_pools': [{'start': '102.206.98.66', 'end': '102.206.98.126'}], 'gateway_ip': '102.206.98.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.206.98.66', 'tags': [], 'project_id': 'fb0382791a4e4cebb5faa2f9c90dcda3'}} 2025-06-10 19:45:59,846 - INFO - Created VN ctest-vn-10102946 2025-06-10 19:45:59,897 - DEBUG - VN ctest-vn-10102946 UUID is 7f256842-0ee6-44d5-90ba-4787fbf4dc86 2025-06-10 19:46:00,005 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-34040270:ctest-vn-53411621, 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-34040270:ctest-vn-10102946, 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-06-10 19:46:00,306 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6b2a2a7f-87f5-4c87-9421-5ecf0b7523c7', 'name': 'ctest-vn-53411621', 'tenant_id': 'fb0382791a4e4cebb5faa2f9c90dcda3', 'project_id': 'fb0382791a4e4cebb5faa2f9c90dcda3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fa45b05e-8d66-4fdd-8f21-badbc43d4808'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34040270', 'ctest-vn-53411621'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34040270', 'ctest-policy-allow-all-65066742']], 'subnet_ipam': [{'subnet_cidr': '60.57.213.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-10 19:46:00,574 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7f256842-0ee6-44d5-90ba-4787fbf4dc86', 'name': 'ctest-vn-10102946', 'tenant_id': 'fb0382791a4e4cebb5faa2f9c90dcda3', 'project_id': 'fb0382791a4e4cebb5faa2f9c90dcda3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['da52a675-4727-4600-8c1b-dac87f1a43c9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34040270', 'ctest-vn-10102946'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34040270', 'ctest-policy-allow-all-65066742']], 'subnet_ipam': [{'subnet_cidr': '102.206.98.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-10 19:46:00,721 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-10 19:46:01,013 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-10 19:46:01,042 - DEBUG - Requesting: http://10.0.0.254:8082/domain/62273700-e40f-43a3-9b9c-abc0ffc8c067 2025-06-10 19:46:01,055 - DEBUG - Requesting: http://10.0.0.254:8082/project/fb038279-1a4e-4ceb-b5fa-a2f9c90dcda3 2025-06-10 19:46:01,130 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6b2a2a7f-87f5-4c87-9421-5ecf0b7523c7 2025-06-10 19:46:01,141 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6b2a2a7f-87f5-4c87-9421-5ecf0b7523c7 2025-06-10 19:46:01,150 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f1095ff6-8209-458f-bb39-9b6189229dc5 2025-06-10 19:46:01,157 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f1095ff6-8209-458f-bb39-9b6189229dc5 2025-06-10 19:46:01,163 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/529c9d87-fe60-417b-8aac-202e515830d8 2025-06-10 19:46:01,170 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-10 19:46:01,170 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6b2a2a7f-87f5-4c87-9421-5ecf0b7523c7 2025-06-10 19:46:01,179 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f1095ff6-8209-458f-bb39-9b6189229dc5 2025-06-10 19:46:01,193 - INFO - Verified VN network id 8 for VN 6b2a2a7f-87f5-4c87-9421-5ecf0b7523c7 2025-06-10 19:46:01,193 - INFO - Verifications in API Server for VN ctest-vn-53411621 passed 2025-06-10 19:46:01,193 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6b2a2a7f-87f5-4c87-9421-5ecf0b7523c7 2025-06-10 19:46:01,203 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f1095ff6-8209-458f-bb39-9b6189229dc5 2025-06-10 19:46:01,211 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f1095ff6-8209-458f-bb39-9b6189229dc5 2025-06-10 19:46:01,218 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/529c9d87-fe60-417b-8aac-202e515830d8 2025-06-10 19:46:01,231 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34040270:ctest-vn-53411621', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34040270', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7722031238310349959', 'uuid-lslong': '10673916835188253639'}, 'enable': 'true', 'created': '2025-06-10T19:45:59', 'last-modified': '2025-06-10T19:46:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.954525'} 2025-06-10 19:46:01,238 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-10 19:46:01,238 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53411621 passed 2025-06-10 19:46:01,238 - DEBUG - ====Verifying policy data for ctest-vn-53411621 in API_Server ====== 2025-06-10 19:46:01,238 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-10 19:46:01,244 - DEBUG - Requesting: http://10.0.0.254:8082/domain/62273700-e40f-43a3-9b9c-abc0ffc8c067 2025-06-10 19:46:01,255 - DEBUG - Requesting: http://10.0.0.254:8082/project/fb038279-1a4e-4ceb-b5fa-a2f9c90dcda3 2025-06-10 19:46:01,321 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6b2a2a7f-87f5-4c87-9421-5ecf0b7523c7 2025-06-10 19:46:01,330 - DEBUG - ==>Verifying data for policy with id: 88e2e0f7-c2cd-413f-a296-fc554fc82803, fqn: ['default-domain', 'ctest-TestBasicPolicy-34040270', 'ctest-policy-allow-all-65066742'] 2025-06-10 19:46:01,330 - INFO - VN ctest-vn-53411621 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-10 19:46:01,330 - DEBUG - Verifying the vn in opserver 2025-06-10 19:46:01,330 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34040270:ctest-vn-53411621 virtual network link through opserver 10.0.0.254 2025-06-10 19:46:01,330 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-10 19:46:01,619 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-10 19:46:01,672 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34040270:ctest-vn-53411621', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34040270:ctest-vn-53411621?flat'} 2025-06-10 19:46:01,672 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34040270:ctest-vn-53411621 is found in opserver 2025-06-10 19:46:01,683 - DEBUG - Do not have enough data to verify VN in agent 2025-06-10 19:46:01,688 - DEBUG - VRF ids for VN ctest-vn-53411621: {} 2025-06-10 19:46:01,688 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-10 19:46:01,694 - DEBUG - Requesting: http://10.0.0.254:8082/domain/62273700-e40f-43a3-9b9c-abc0ffc8c067 2025-06-10 19:46:01,705 - DEBUG - Requesting: http://10.0.0.254:8082/project/fb038279-1a4e-4ceb-b5fa-a2f9c90dcda3 2025-06-10 19:46:01,784 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7f256842-0ee6-44d5-90ba-4787fbf4dc86 2025-06-10 19:46:01,797 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7f256842-0ee6-44d5-90ba-4787fbf4dc86 2025-06-10 19:46:01,806 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/82f18212-02c6-45ac-a6e5-6e2f0c681a82 2025-06-10 19:46:01,814 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/82f18212-02c6-45ac-a6e5-6e2f0c681a82 2025-06-10 19:46:01,821 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/0c6a3abb-761b-47a7-8131-9f267e5e0987 2025-06-10 19:46:01,827 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-10 19:46:01,828 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7f256842-0ee6-44d5-90ba-4787fbf4dc86 2025-06-10 19:46:01,837 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/82f18212-02c6-45ac-a6e5-6e2f0c681a82 2025-06-10 19:46:01,851 - INFO - Verified VN network id 9 for VN 7f256842-0ee6-44d5-90ba-4787fbf4dc86 2025-06-10 19:46:01,851 - INFO - Verifications in API Server for VN ctest-vn-10102946 passed 2025-06-10 19:46:01,851 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7f256842-0ee6-44d5-90ba-4787fbf4dc86 2025-06-10 19:46:01,860 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/82f18212-02c6-45ac-a6e5-6e2f0c681a82 2025-06-10 19:46:01,872 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/82f18212-02c6-45ac-a6e5-6e2f0c681a82 2025-06-10 19:46:01,880 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/0c6a3abb-761b-47a7-8131-9f267e5e0987 2025-06-10 19:46:01,894 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34040270:ctest-vn-10102946', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34040270', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9161843649882244309', 'uuid-lslong': '10428726536503090310'}, 'enable': 'true', 'created': '2025-06-10T19:45:59', 'last-modified': '2025-06-10T19:46:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.383623'} 2025-06-10 19:46:01,900 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-10 19:46:01,900 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10102946 passed 2025-06-10 19:46:01,901 - DEBUG - ====Verifying policy data for ctest-vn-10102946 in API_Server ====== 2025-06-10 19:46:01,901 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-10 19:46:01,906 - DEBUG - Requesting: http://10.0.0.254:8082/domain/62273700-e40f-43a3-9b9c-abc0ffc8c067 2025-06-10 19:46:01,918 - DEBUG - Requesting: http://10.0.0.254:8082/project/fb038279-1a4e-4ceb-b5fa-a2f9c90dcda3 2025-06-10 19:46:01,986 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7f256842-0ee6-44d5-90ba-4787fbf4dc86 2025-06-10 19:46:01,998 - DEBUG - ==>Verifying data for policy with id: 88e2e0f7-c2cd-413f-a296-fc554fc82803, fqn: ['default-domain', 'ctest-TestBasicPolicy-34040270', 'ctest-policy-allow-all-65066742'] 2025-06-10 19:46:01,998 - INFO - VN ctest-vn-10102946 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-10 19:46:01,998 - DEBUG - Verifying the vn in opserver 2025-06-10 19:46:01,998 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34040270:ctest-vn-10102946 virtual network link through opserver 10.0.0.254 2025-06-10 19:46:01,998 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-10 19:46:02,010 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34040270:ctest-vn-10102946', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34040270:ctest-vn-10102946?flat'} 2025-06-10 19:46:02,010 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34040270:ctest-vn-10102946 is found in opserver 2025-06-10 19:46:02,021 - DEBUG - Do not have enough data to verify VN in agent 2025-06-10 19:46:02,026 - DEBUG - VRF ids for VN ctest-vn-10102946: {} 2025-06-10 19:46:02,085 - DEBUG - Services list from nova: [, , ] 2025-06-10 19:46:03,079 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3437-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3437-1) 2025-06-10 19:46:04,313 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3437-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3437-1) 2025-06-10 19:46:04,313 - INFO - Waiting for VM ctest-TestBasicPolicy-34040270-35416858 to be up.. 2025-06-10 19:46:04,399 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-10 19:46:09,533 - DEBUG - VM is in ACTIVE state now 2025-06-10 19:46:09,534 - INFO - VM name : ctest-TestBasicPolicy-34040270-35416858 2025-06-10 19:46:09,669 - DEBUG - VM ctest-TestBasicPolicy-34040270-35416858 ID is c89a3f01-4db5-43b5-aa4c-77a8ad77cc58 2025-06-10 19:46:09,699 - DEBUG - VM ctest-TestBasicPolicy-34040270-35416858 launched on Node cn-jenkins-deploy-platform-ansible-os-3437-1 2025-06-10 19:46:09,822 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c89a3f01-4db5-43b5-aa4c-77a8ad77cc58 2025-06-10 19:46:09,834 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e32675a4-c280-41ce-ae86-b90b6fa47832 2025-06-10 19:46:13,116 - 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 1015ms') 2025-06-10 19:46:13,116 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34040270-35416858 failed! 2025-06-10 19:46:13,169 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-34040270:ctest-vn-53411621 is 60.57.213.193 and allocation pool is NOT set 2025-06-10 19:46:15,232 - 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=7.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.430 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.430/3.749/7.069/3.319 ms') 2025-06-10 19:46:15,232 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34040270-35416858 passed 2025-06-10 19:46:15,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 19:46:15,382 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34040270-35416858, IP 60.57.213.195, Port 22 2025-06-10 19:46:15,537 - DEBUG - VM ctest-TestBasicPolicy-34040270-35416858 is ready for SSH connections 2025-06-10 19:46:15,538 - INFO - Waiting for VM ctest-TestBasicPolicy-34040270-07182760 to be up.. 2025-06-10 19:46:15,618 - DEBUG - VM is in ACTIVE state now 2025-06-10 19:46:15,618 - INFO - VM name : ctest-TestBasicPolicy-34040270-07182760 2025-06-10 19:46:15,695 - DEBUG - VM ctest-TestBasicPolicy-34040270-07182760 ID is 59350b46-b5af-4dfc-84a6-9fbcf0ce77c7 2025-06-10 19:46:15,695 - DEBUG - VM ctest-TestBasicPolicy-34040270-07182760 launched on Node cn-jenkins-deploy-platform-ansible-os-3437-1 2025-06-10 19:46:15,773 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/59350b46-b5af-4dfc-84a6-9fbcf0ce77c7 2025-06-10 19:46:15,782 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/efcc847f-9bbc-438e-81f1-52741e25ff93 2025-06-10 19:46:17,017 - 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=2.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.409 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.409/1.641/2.873/1.232 ms') 2025-06-10 19:46:17,017 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-34040270-07182760 passed 2025-06-10 19:46:17,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 19:46:17,174 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34040270-07182760, IP 102.206.98.67, Port 22 2025-06-10 19:46:17,345 - DEBUG - VM ctest-TestBasicPolicy-34040270-07182760 is ready for SSH connections 2025-06-10 19:46:17,345 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 19:46:17,345 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.206.98.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-10 19:46:17,346 - DEBUG - ping -s 56 -c 3 -W 1 102.206.98.67 2025-06-10 19:46:21,024 - DEBUG - PING 102.206.98.67 (102.206.98.67): 56 data bytes 64 bytes from 102.206.98.67: seq=0 ttl=63 time=4.077 ms 64 bytes from 102.206.98.67: seq=1 ttl=63 time=1.173 ms 64 bytes from 102.206.98.67: seq=2 ttl=63 time=1.860 ms --- 102.206.98.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.173/2.370/4.077 ms 2025-06-10 19:46:21,024 - INFO - Ping to IP 102.206.98.67 from VM ctest-TestBasicPolicy-34040270-35416858 passed 2025-06-10 19:46:21,209 - DEBUG - Policy Update Response {"network-policy": {"uuid": "88e2e0f7-c2cd-413f-a296-fc554fc82803", "href": "http://10.0.0.254:8082/network-policy/88e2e0f7-c2cd-413f-a296-fc554fc82803"}} 2025-06-10 19:46:21,210 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 19:46:21,210 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.206.98.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-10 19:46:21,210 - DEBUG - ping -s 56 -c 3 -W 1 102.206.98.67 2025-06-10 19:46:24,431 - DEBUG - PING 102.206.98.67 (102.206.98.67): 56 data bytes 64 bytes from 102.206.98.67: seq=0 ttl=63 time=1.555 ms --- 102.206.98.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.555/1.555/1.555 ms 2025-06-10 19:46:24,431 - WARNING - Ping to IP 102.206.98.67 from VM ctest-TestBasicPolicy-34040270-35416858 failed 2025-06-10 19:46:24,432 - INFO - Deleting VM ctest-TestBasicPolicy-34040270-07182760 2025-06-10 19:46:24,508 - INFO - Deleting VM ctest-TestBasicPolicy-34040270-35416858 2025-06-10 19:46:24,915 - INFO - Deleted policy ctest-policy-allow-all-65066742 2025-06-10 19:46:24,915 - INFO - Deleting VN ctest-vn-10102946 2025-06-10 19:46:24,958 - DEBUG - VN 7f256842-0ee6-44d5-90ba-4787fbf4dc86 still in use: Unable to complete operation on network 7f256842-0ee6-44d5-90ba-4787fbf4dc86. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bc5760c5-dd86-438e-bcdc-c45a4a82c911'] 2025-06-10 19:46:24,959 - WARNING - Deleting VN ctest-vn-10102946 failed..Will retry 2025-06-10 19:46:27,069 - DEBUG - Response for deleting network () 2025-06-10 19:46:27,069 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/82f18212-02c6-45ac-a6e5-6e2f0c681a82 2025-06-10 19:46:27,082 - DEBUG - Response Code: 404 2025-06-10 19:46:27,082 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-10 19:46:27,088 - DEBUG - Requesting: http://10.0.0.254:8082/domain/62273700-e40f-43a3-9b9c-abc0ffc8c067 2025-06-10 19:46:27,144 - DEBUG - Requesting: http://10.0.0.254:8082/project/fb038279-1a4e-4ceb-b5fa-a2f9c90dcda3 2025-06-10 19:46:27,222 - INFO - Validated that VN ctest-vn-10102946 is not found in API Server 2025-06-10 19:46:27,233 - DEBUG - VN ctest-vn-10102946 is not present in Agent 10.0.0.254 2025-06-10 19:46:27,233 - INFO - Validated that VN ctest-vn-10102946 is not in any agent 2025-06-10 19:46:27,249 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10102946 info 2025-06-10 19:46:27,249 - INFO - Deleting VN ctest-vn-53411621 2025-06-10 19:46:27,381 - DEBUG - Response for deleting network () 2025-06-10 19:46:27,381 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f1095ff6-8209-458f-bb39-9b6189229dc5 2025-06-10 19:46:27,390 - DEBUG - Response Code: 404 2025-06-10 19:46:27,390 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-10 19:46:27,397 - DEBUG - Requesting: http://10.0.0.254:8082/domain/62273700-e40f-43a3-9b9c-abc0ffc8c067 2025-06-10 19:46:27,451 - DEBUG - Requesting: http://10.0.0.254:8082/project/fb038279-1a4e-4ceb-b5fa-a2f9c90dcda3 2025-06-10 19:46:27,529 - INFO - Validated that VN ctest-vn-53411621 is not found in API Server 2025-06-10 19:46:27,544 - DEBUG - VN ctest-vn-53411621 is not present in Agent 10.0.0.254 2025-06-10 19:46:27,544 - INFO - Validated that VN ctest-vn-53411621 is not in any agent 2025-06-10 19:46:27,564 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53411621 info 2025-06-10 19:46:27,835 - DEBUG - No XMPP flaps were noticed during the test 2025-06-10 19:46:27,835 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-06-10 19:46:27,835 - INFO - -------------------------------------------------------------------------------- 2025-06-10 19:46:28,553 - INFO - Deleted project: ctest-TestBasicPolicy-34040270, ID : fb038279-1a4e-4ceb-b5fa-a2f9c90dcda3