2025-10-27 20:33:05,410 - INFO - Domain Default found not creating 2025-10-27 20:33:05,556 - INFO - Project ctest-TestBasicPolicy-42892245 not found, creating it 2025-10-27 20:33:06,002 - INFO - Created Project:ctest-TestBasicPolicy-42892245, ID : 715e585f-2c30-4f27-8fd3-5cbb1634246f 2025-10-27 20:33:07,412 - INFO - ================================================================================ 2025-10-27 20:33:07,412 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-27 20:33:07,412 - 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 20:33:07,667 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-27 20:33:07,667 - INFO - Initial checks done. Running the testcase now 2025-10-27 20:33:07,667 - INFO - 2025-10-27 20:33:08,184 - DEBUG - Response for create_network : {'network': {'id': 'db424e97-1e6f-4ff8-a673-e877fc6e4514', 'name': 'ctest-vn-75246259', 'tenant_id': '715e585f2c304f278fd35cbb1634246f', 'project_id': '715e585f2c304f278fd35cbb1634246f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42892245', 'ctest-vn-75246259'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 20:33:08,373 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6eb46b6-4d80-47af-8e0a-fa3216ae60a1', 'name': '', 'tenant_id': '715e585f2c304f278fd35cbb1634246f', 'network_id': 'db424e97-1e6f-4ff8-a673-e877fc6e4514', 'ip_version': 4, 'cidr': '166.47.251.128/26', 'allocation_pools': [{'start': '166.47.251.130', 'end': '166.47.251.190'}], 'gateway_ip': '166.47.251.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.47.251.130', 'tags': [], 'project_id': '715e585f2c304f278fd35cbb1634246f'}} 2025-10-27 20:33:08,389 - INFO - Created VN ctest-vn-75246259 2025-10-27 20:33:08,442 - DEBUG - VN ctest-vn-75246259 UUID is db424e97-1e6f-4ff8-a673-e877fc6e4514 2025-10-27 20:33:08,765 - DEBUG - Response for create_network : {'network': {'id': '335d4104-c85f-40a9-9d88-ebc2edcb7900', 'name': 'ctest-vn-90463059', 'tenant_id': '715e585f2c304f278fd35cbb1634246f', 'project_id': '715e585f2c304f278fd35cbb1634246f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42892245', 'ctest-vn-90463059'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 20:33:08,920 - DEBUG - Response for create_subnet : {'subnet': {'id': '75af70fb-2355-4291-833b-7d22056c749f', 'name': '', 'tenant_id': '715e585f2c304f278fd35cbb1634246f', 'network_id': '335d4104-c85f-40a9-9d88-ebc2edcb7900', 'ip_version': 4, 'cidr': '38.229.157.128/26', 'allocation_pools': [{'start': '38.229.157.130', 'end': '38.229.157.190'}], 'gateway_ip': '38.229.157.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.229.157.130', 'tags': [], 'project_id': '715e585f2c304f278fd35cbb1634246f'}} 2025-10-27 20:33:08,937 - INFO - Created VN ctest-vn-90463059 2025-10-27 20:33:08,990 - DEBUG - VN ctest-vn-90463059 UUID is 335d4104-c85f-40a9-9d88-ebc2edcb7900 2025-10-27 20:33:09,112 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-42892245:ctest-vn-75246259, 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-42892245:ctest-vn-90463059, 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 20:33:09,407 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'db424e97-1e6f-4ff8-a673-e877fc6e4514', 'name': 'ctest-vn-75246259', 'tenant_id': '715e585f2c304f278fd35cbb1634246f', 'project_id': '715e585f2c304f278fd35cbb1634246f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f6eb46b6-4d80-47af-8e0a-fa3216ae60a1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42892245', 'ctest-vn-75246259'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-42892245', 'ctest-policy-allow-all-54349225']], 'subnet_ipam': [{'subnet_cidr': '166.47.251.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 20:33:09,645 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '335d4104-c85f-40a9-9d88-ebc2edcb7900', 'name': 'ctest-vn-90463059', 'tenant_id': '715e585f2c304f278fd35cbb1634246f', 'project_id': '715e585f2c304f278fd35cbb1634246f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['75af70fb-2355-4291-833b-7d22056c749f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42892245', 'ctest-vn-90463059'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-42892245', 'ctest-policy-allow-all-54349225']], 'subnet_ipam': [{'subnet_cidr': '38.229.157.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 20:33:09,814 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-27 20:33:10,107 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-27 20:33:10,133 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2e47e640-8f8e-4871-bd9a-90fac508bcd4 2025-10-27 20:33:10,144 - DEBUG - Requesting: http://10.0.0.254:8082/project/715e585f-2c30-4f27-8fd3-5cbb1634246f 2025-10-27 20:33:10,212 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/db424e97-1e6f-4ff8-a673-e877fc6e4514 2025-10-27 20:33:10,222 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/db424e97-1e6f-4ff8-a673-e877fc6e4514 2025-10-27 20:33:10,230 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3b35e449-7d44-4e71-8d10-5195083f0346 2025-10-27 20:33:10,237 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3b35e449-7d44-4e71-8d10-5195083f0346 2025-10-27 20:33:10,243 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d12ffd70-5153-40b9-ae3e-863db65c6dcd 2025-10-27 20:33:10,248 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 20:33:10,248 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/db424e97-1e6f-4ff8-a673-e877fc6e4514 2025-10-27 20:33:10,256 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3b35e449-7d44-4e71-8d10-5195083f0346 2025-10-27 20:33:10,269 - INFO - Verified VN network id 11 for VN db424e97-1e6f-4ff8-a673-e877fc6e4514 2025-10-27 20:33:10,269 - INFO - Verifications in API Server for VN ctest-vn-75246259 passed 2025-10-27 20:33:10,269 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/db424e97-1e6f-4ff8-a673-e877fc6e4514 2025-10-27 20:33:10,277 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3b35e449-7d44-4e71-8d10-5195083f0346 2025-10-27 20:33:10,284 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3b35e449-7d44-4e71-8d10-5195083f0346 2025-10-27 20:33:10,291 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d12ffd70-5153-40b9-ae3e-863db65c6dcd 2025-10-27 20:33:10,303 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-42892245:ctest-vn-75246259', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-42892245', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15799276853726760952', 'uuid-lslong': '11994185834651600148'}, 'enable': 'true', 'created': '2025-10-27T20:33:08', 'last-modified': '2025-10-27T20:33:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.915895'} 2025-10-27 20:33:10,310 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 20:33:10,310 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75246259 passed 2025-10-27 20:33:10,310 - DEBUG - ====Verifying policy data for ctest-vn-75246259 in API_Server ====== 2025-10-27 20:33:10,310 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-27 20:33:10,316 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2e47e640-8f8e-4871-bd9a-90fac508bcd4 2025-10-27 20:33:10,329 - DEBUG - Requesting: http://10.0.0.254:8082/project/715e585f-2c30-4f27-8fd3-5cbb1634246f 2025-10-27 20:33:10,399 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/db424e97-1e6f-4ff8-a673-e877fc6e4514 2025-10-27 20:33:10,408 - DEBUG - ==>Verifying data for policy with id: 5a223919-3f38-4fcf-a065-f2fb5246f92b, fqn: ['default-domain', 'ctest-TestBasicPolicy-42892245', 'ctest-policy-allow-all-54349225'] 2025-10-27 20:33:10,408 - INFO - VN ctest-vn-75246259 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 20:33:10,408 - DEBUG - Verifying the vn in opserver 2025-10-27 20:33:10,408 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-42892245:ctest-vn-75246259 virtual network link through opserver 10.0.0.254 2025-10-27 20:33:10,409 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-27 20:33:10,696 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-27 20:33:10,750 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-42892245:ctest-vn-75246259', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-42892245:ctest-vn-75246259?flat'} 2025-10-27 20:33:10,750 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-42892245:ctest-vn-75246259 is found in opserver 2025-10-27 20:33:10,759 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 20:33:10,763 - DEBUG - VRF ids for VN ctest-vn-75246259: {} 2025-10-27 20:33:10,763 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-27 20:33:10,768 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2e47e640-8f8e-4871-bd9a-90fac508bcd4 2025-10-27 20:33:10,779 - DEBUG - Requesting: http://10.0.0.254:8082/project/715e585f-2c30-4f27-8fd3-5cbb1634246f 2025-10-27 20:33:10,848 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/335d4104-c85f-40a9-9d88-ebc2edcb7900 2025-10-27 20:33:10,858 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/335d4104-c85f-40a9-9d88-ebc2edcb7900 2025-10-27 20:33:10,867 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/959fc976-63bd-438d-acd1-068a609a79c5 2025-10-27 20:33:10,874 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/959fc976-63bd-438d-acd1-068a609a79c5 2025-10-27 20:33:10,880 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/0d14c496-45c0-416d-9641-3262c1406987 2025-10-27 20:33:10,886 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 20:33:10,886 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/335d4104-c85f-40a9-9d88-ebc2edcb7900 2025-10-27 20:33:10,894 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/959fc976-63bd-438d-acd1-068a609a79c5 2025-10-27 20:33:10,906 - INFO - Verified VN network id 12 for VN 335d4104-c85f-40a9-9d88-ebc2edcb7900 2025-10-27 20:33:10,906 - INFO - Verifications in API Server for VN ctest-vn-90463059 passed 2025-10-27 20:33:10,906 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/335d4104-c85f-40a9-9d88-ebc2edcb7900 2025-10-27 20:33:10,915 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/959fc976-63bd-438d-acd1-068a609a79c5 2025-10-27 20:33:10,922 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/959fc976-63bd-438d-acd1-068a609a79c5 2025-10-27 20:33:10,929 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/0d14c496-45c0-416d-9641-3262c1406987 2025-10-27 20:33:10,940 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-42892245:ctest-vn-90463059', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-42892245', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3701185957565776041', 'uuid-lslong': '11351582083233052928'}, 'enable': 'true', 'created': '2025-10-27T20:33:08', 'last-modified': '2025-10-27T20:33:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.318332'} 2025-10-27 20:33:10,947 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 20:33:10,947 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90463059 passed 2025-10-27 20:33:10,947 - DEBUG - ====Verifying policy data for ctest-vn-90463059 in API_Server ====== 2025-10-27 20:33:10,948 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-27 20:33:10,953 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2e47e640-8f8e-4871-bd9a-90fac508bcd4 2025-10-27 20:33:10,963 - DEBUG - Requesting: http://10.0.0.254:8082/project/715e585f-2c30-4f27-8fd3-5cbb1634246f 2025-10-27 20:33:11,035 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/335d4104-c85f-40a9-9d88-ebc2edcb7900 2025-10-27 20:33:11,045 - DEBUG - ==>Verifying data for policy with id: 5a223919-3f38-4fcf-a065-f2fb5246f92b, fqn: ['default-domain', 'ctest-TestBasicPolicy-42892245', 'ctest-policy-allow-all-54349225'] 2025-10-27 20:33:11,045 - INFO - VN ctest-vn-90463059 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 20:33:11,045 - DEBUG - Verifying the vn in opserver 2025-10-27 20:33:11,045 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-42892245:ctest-vn-90463059 virtual network link through opserver 10.0.0.254 2025-10-27 20:33:11,045 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-27 20:33:11,056 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-42892245:ctest-vn-90463059', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-42892245:ctest-vn-90463059?flat'} 2025-10-27 20:33:11,056 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-42892245:ctest-vn-90463059 is found in opserver 2025-10-27 20:33:11,067 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 20:33:11,071 - DEBUG - VRF ids for VN ctest-vn-90463059: {} 2025-10-27 20:33:11,128 - DEBUG - Services list from nova: [, , ] 2025-10-27 20:33:12,167 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4511-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4511-1) 2025-10-27 20:33:13,363 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4511-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4511-1) 2025-10-27 20:33:13,364 - INFO - Waiting for VM ctest-TestBasicPolicy-42892245-90088860 to be up.. 2025-10-27 20:33:13,443 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 20:33:18,516 - DEBUG - VM is in ACTIVE state now 2025-10-27 20:33:18,516 - INFO - VM name : ctest-TestBasicPolicy-42892245-90088860 2025-10-27 20:33:18,584 - DEBUG - VM ctest-TestBasicPolicy-42892245-90088860 ID is 79eef765-45d0-4179-b983-1bc8c0a47f30 2025-10-27 20:33:18,603 - DEBUG - VM ctest-TestBasicPolicy-42892245-90088860 launched on Node cn-jenkins-deploy-platform-ansible-os-4511-1 2025-10-27 20:33:18,680 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/79eef765-45d0-4179-b983-1bc8c0a47f30 2025-10-27 20:33:18,688 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/05205b98-a375-4ef8-a3be-dd6b117364f2 2025-10-27 20:33:21,943 - 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 1023ms') 2025-10-27 20:33:21,943 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-42892245-90088860 failed! 2025-10-27 20:33:21,998 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-42892245:ctest-vn-75246259 is 166.47.251.129 and allocation pool is NOT set 2025-10-27 20:33:24,057 - 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=2.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.646 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.646/1.761/2.876/1.115 ms') 2025-10-27 20:33:24,057 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-42892245-90088860 passed 2025-10-27 20:33:24,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:33:24,206 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-42892245-90088860, IP 166.47.251.131, Port 22 2025-10-27 20:33:24,361 - DEBUG - VM ctest-TestBasicPolicy-42892245-90088860 is ready for SSH connections 2025-10-27 20:33:24,361 - INFO - Waiting for VM ctest-TestBasicPolicy-42892245-71346679 to be up.. 2025-10-27 20:33:24,438 - DEBUG - VM is in ACTIVE state now 2025-10-27 20:33:24,438 - INFO - VM name : ctest-TestBasicPolicy-42892245-71346679 2025-10-27 20:33:24,504 - DEBUG - VM ctest-TestBasicPolicy-42892245-71346679 ID is a3df60eb-9489-4ea3-a874-3e795026e0e6 2025-10-27 20:33:24,505 - DEBUG - VM ctest-TestBasicPolicy-42892245-71346679 launched on Node cn-jenkins-deploy-platform-ansible-os-4511-1 2025-10-27 20:33:24,573 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a3df60eb-9489-4ea3-a874-3e795026e0e6 2025-10-27 20:33:24,580 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/04d1fb18-3269-4e82-853e-2c60a83bdb08 2025-10-27 20:33:25,831 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.476 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 = 0.476/1.557/2.639/1.081 ms') 2025-10-27 20:33:25,831 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-42892245-71346679 passed 2025-10-27 20:33:25,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:33:25,978 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-42892245-71346679, IP 38.229.157.131, Port 22 2025-10-27 20:33:26,133 - DEBUG - VM ctest-TestBasicPolicy-42892245-71346679 is ready for SSH connections 2025-10-27 20:33:26,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:33:26,133 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.229.157.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-27 20:33:26,134 - DEBUG - ping -s 56 -c 3 -W 1 38.229.157.131 2025-10-27 20:33:29,825 - DEBUG - PING 38.229.157.131 (38.229.157.131): 56 data bytes 64 bytes from 38.229.157.131: seq=0 ttl=63 time=3.407 ms 64 bytes from 38.229.157.131: seq=1 ttl=63 time=0.938 ms 64 bytes from 38.229.157.131: seq=2 ttl=63 time=1.070 ms --- 38.229.157.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.938/1.805/3.407 ms 2025-10-27 20:33:29,826 - INFO - Ping to IP 38.229.157.131 from VM ctest-TestBasicPolicy-42892245-90088860 passed 2025-10-27 20:33:29,997 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5a223919-3f38-4fcf-a065-f2fb5246f92b", "href": "http://10.0.0.254:8082/network-policy/5a223919-3f38-4fcf-a065-f2fb5246f92b"}} 2025-10-27 20:33:29,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:33:29,998 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.229.157.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-27 20:33:29,998 - DEBUG - ping -s 56 -c 3 -W 1 38.229.157.131 2025-10-27 20:33:33,199 - DEBUG - PING 38.229.157.131 (38.229.157.131): 56 data bytes --- 38.229.157.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 20:33:33,199 - WARNING - Ping to IP 38.229.157.131 from VM ctest-TestBasicPolicy-42892245-90088860 failed 2025-10-27 20:33:33,199 - INFO - Deleting VM ctest-TestBasicPolicy-42892245-71346679 2025-10-27 20:33:33,271 - INFO - Deleting VM ctest-TestBasicPolicy-42892245-90088860 2025-10-27 20:33:33,627 - INFO - Deleted policy ctest-policy-allow-all-54349225 2025-10-27 20:33:33,627 - INFO - Deleting VN ctest-vn-90463059 2025-10-27 20:33:33,664 - DEBUG - VN 335d4104-c85f-40a9-9d88-ebc2edcb7900 still in use: Unable to complete operation on network 335d4104-c85f-40a9-9d88-ebc2edcb7900. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2fc6c080-ca5a-4af2-a207-47a3b245edc9'] 2025-10-27 20:33:33,664 - WARNING - Deleting VN ctest-vn-90463059 failed..Will retry 2025-10-27 20:33:35,763 - DEBUG - Response for deleting network () 2025-10-27 20:33:35,764 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/959fc976-63bd-438d-acd1-068a609a79c5 2025-10-27 20:33:35,773 - DEBUG - Response Code: 404 2025-10-27 20:33:35,773 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-27 20:33:35,779 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2e47e640-8f8e-4871-bd9a-90fac508bcd4 2025-10-27 20:33:35,830 - DEBUG - Requesting: http://10.0.0.254:8082/project/715e585f-2c30-4f27-8fd3-5cbb1634246f 2025-10-27 20:33:35,899 - INFO - Validated that VN ctest-vn-90463059 is not found in API Server 2025-10-27 20:33:35,911 - DEBUG - VN ctest-vn-90463059 is not present in Agent 10.0.0.254 2025-10-27 20:33:35,911 - INFO - Validated that VN ctest-vn-90463059 is not in any agent 2025-10-27 20:33:35,925 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90463059 info 2025-10-27 20:33:35,926 - INFO - Deleting VN ctest-vn-75246259 2025-10-27 20:33:36,036 - DEBUG - Response for deleting network () 2025-10-27 20:33:36,036 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3b35e449-7d44-4e71-8d10-5195083f0346 2025-10-27 20:33:36,043 - DEBUG - Response Code: 404 2025-10-27 20:33:36,044 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-27 20:33:36,049 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2e47e640-8f8e-4871-bd9a-90fac508bcd4 2025-10-27 20:33:36,103 - DEBUG - Requesting: http://10.0.0.254:8082/project/715e585f-2c30-4f27-8fd3-5cbb1634246f 2025-10-27 20:33:36,174 - INFO - Validated that VN ctest-vn-75246259 is not found in API Server 2025-10-27 20:33:36,185 - DEBUG - VN ctest-vn-75246259 is not present in Agent 10.0.0.254 2025-10-27 20:33:36,185 - INFO - Validated that VN ctest-vn-75246259 is not in any agent 2025-10-27 20:33:36,197 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75246259 info 2025-10-27 20:33:36,450 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 20:33:36,451 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-27 20:33:36,451 - INFO - -------------------------------------------------------------------------------- 2025-10-27 20:33:37,166 - INFO - Deleted project: ctest-TestBasicPolicy-42892245, ID : 715e585f-2c30-4f27-8fd3-5cbb1634246f