2025-10-09 16:30:56,136 - INFO - Domain Default found not creating 2025-10-09 16:30:56,311 - INFO - Project ctest-TestBasicPolicy-90779815 not found, creating it 2025-10-09 16:30:56,787 - INFO - Created Project:ctest-TestBasicPolicy-90779815, ID : f1cc9295-27c4-4e2f-aa62-094ebf7ab602 2025-10-09 16:30:58,439 - INFO - ================================================================================ 2025-10-09 16:30:58,439 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-09 16:30:58,439 - 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-09 16:30:58,709 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-10-09 16:30:58,709 - INFO - Initial checks done. Running the testcase now 2025-10-09 16:30:58,709 - INFO - 2025-10-09 16:30:59,313 - DEBUG - Response for create_network : {'network': {'id': 'f51dcd5e-a9e4-43b6-9a47-76ea09e23eaf', 'name': 'ctest-vn-67678770', 'tenant_id': 'f1cc929527c44e2faa62094ebf7ab602', 'project_id': 'f1cc929527c44e2faa62094ebf7ab602', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90779815', 'ctest-vn-67678770'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 16:30:59,524 - DEBUG - Response for create_subnet : {'subnet': {'id': '160731f8-dd2e-4c42-86d3-87ef487b60a7', 'name': '', 'tenant_id': 'f1cc929527c44e2faa62094ebf7ab602', 'network_id': 'f51dcd5e-a9e4-43b6-9a47-76ea09e23eaf', 'ip_version': 4, 'cidr': '109.56.58.192/26', 'allocation_pools': [{'start': '109.56.58.194', 'end': '109.56.58.254'}], 'gateway_ip': '109.56.58.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.56.58.194', 'tags': [], 'project_id': 'f1cc929527c44e2faa62094ebf7ab602'}} 2025-10-09 16:30:59,545 - INFO - Created VN ctest-vn-67678770 2025-10-09 16:30:59,600 - DEBUG - VN ctest-vn-67678770 UUID is f51dcd5e-a9e4-43b6-9a47-76ea09e23eaf 2025-10-09 16:30:59,923 - DEBUG - Response for create_network : {'network': {'id': '2583d3ca-9ab3-40ad-a4da-5a3ab02b0970', 'name': 'ctest-vn-48438326', 'tenant_id': 'f1cc929527c44e2faa62094ebf7ab602', 'project_id': 'f1cc929527c44e2faa62094ebf7ab602', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90779815', 'ctest-vn-48438326'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 16:31:00,147 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db316b82-909c-4ccd-8a4d-966e850cc53a', 'name': '', 'tenant_id': 'f1cc929527c44e2faa62094ebf7ab602', 'network_id': '2583d3ca-9ab3-40ad-a4da-5a3ab02b0970', 'ip_version': 4, 'cidr': '70.225.155.192/26', 'allocation_pools': [{'start': '70.225.155.194', 'end': '70.225.155.254'}], 'gateway_ip': '70.225.155.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.225.155.194', 'tags': [], 'project_id': 'f1cc929527c44e2faa62094ebf7ab602'}} 2025-10-09 16:31:00,170 - INFO - Created VN ctest-vn-48438326 2025-10-09 16:31:00,224 - DEBUG - VN ctest-vn-48438326 UUID is 2583d3ca-9ab3-40ad-a4da-5a3ab02b0970 2025-10-09 16:31:00,358 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90779815:ctest-vn-67678770, 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-90779815:ctest-vn-48438326, 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-09 16:31:00,678 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f51dcd5e-a9e4-43b6-9a47-76ea09e23eaf', 'name': 'ctest-vn-67678770', 'tenant_id': 'f1cc929527c44e2faa62094ebf7ab602', 'project_id': 'f1cc929527c44e2faa62094ebf7ab602', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['160731f8-dd2e-4c42-86d3-87ef487b60a7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90779815', 'ctest-vn-67678770'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90779815', 'ctest-policy-allow-all-21755522']], 'subnet_ipam': [{'subnet_cidr': '109.56.58.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 16:31:00,974 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2583d3ca-9ab3-40ad-a4da-5a3ab02b0970', 'name': 'ctest-vn-48438326', 'tenant_id': 'f1cc929527c44e2faa62094ebf7ab602', 'project_id': 'f1cc929527c44e2faa62094ebf7ab602', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['db316b82-909c-4ccd-8a4d-966e850cc53a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90779815', 'ctest-vn-48438326'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90779815', 'ctest-policy-allow-all-21755522']], 'subnet_ipam': [{'subnet_cidr': '70.225.155.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 16:31:01,129 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-09 16:31:01,446 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-09 16:31:01,483 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4e068b91-0bfe-45a1-839d-acbe5dc27105 2025-10-09 16:31:01,496 - DEBUG - Requesting: http://10.0.0.22:8082/project/f1cc9295-27c4-4e2f-aa62-094ebf7ab602 2025-10-09 16:31:01,571 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f51dcd5e-a9e4-43b6-9a47-76ea09e23eaf 2025-10-09 16:31:01,583 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f51dcd5e-a9e4-43b6-9a47-76ea09e23eaf 2025-10-09 16:31:01,594 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1a72dd99-7364-43e0-b554-21661ad921a4 2025-10-09 16:31:01,604 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1a72dd99-7364-43e0-b554-21661ad921a4 2025-10-09 16:31:01,613 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/308a50e4-30ee-4b06-97af-8f45f263f38c 2025-10-09 16:31:01,622 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 16:31:01,622 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f51dcd5e-a9e4-43b6-9a47-76ea09e23eaf 2025-10-09 16:31:01,633 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1a72dd99-7364-43e0-b554-21661ad921a4 2025-10-09 16:31:01,651 - INFO - Verified VN network id 11 for VN f51dcd5e-a9e4-43b6-9a47-76ea09e23eaf 2025-10-09 16:31:01,651 - INFO - Verifications in API Server for VN ctest-vn-67678770 passed 2025-10-09 16:31:01,652 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f51dcd5e-a9e4-43b6-9a47-76ea09e23eaf 2025-10-09 16:31:01,662 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1a72dd99-7364-43e0-b554-21661ad921a4 2025-10-09 16:31:01,673 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1a72dd99-7364-43e0-b554-21661ad921a4 2025-10-09 16:31:01,682 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/308a50e4-30ee-4b06-97af-8f45f263f38c 2025-10-09 16:31:01,697 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90779815:ctest-vn-67678770', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90779815', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17662499120077882294', 'uuid-lslong': '11116984952747605679'}, 'enable': 'true', 'created': '2025-10-09T16:30:59', 'last-modified': '2025-10-09T16:31:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.046495'} 2025-10-09 16:31:01,706 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 16:31:01,706 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67678770 passed 2025-10-09 16:31:01,706 - DEBUG - ====Verifying policy data for ctest-vn-67678770 in API_Server ====== 2025-10-09 16:31:01,706 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-09 16:31:01,713 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4e068b91-0bfe-45a1-839d-acbe5dc27105 2025-10-09 16:31:01,725 - DEBUG - Requesting: http://10.0.0.22:8082/project/f1cc9295-27c4-4e2f-aa62-094ebf7ab602 2025-10-09 16:31:01,803 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f51dcd5e-a9e4-43b6-9a47-76ea09e23eaf 2025-10-09 16:31:01,814 - DEBUG - ==>Verifying data for policy with id: e078c0b7-5c24-46f2-a510-9f3cee912ff6, fqn: ['default-domain', 'ctest-TestBasicPolicy-90779815', 'ctest-policy-allow-all-21755522'] 2025-10-09 16:31:01,814 - INFO - VN ctest-vn-67678770 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 16:31:01,814 - DEBUG - Verifying the vn in opserver 2025-10-09 16:31:01,815 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90779815:ctest-vn-67678770 virtual network link through opserver 10.0.0.22 2025-10-09 16:31:01,815 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-09 16:31:02,130 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-09 16:31:02,198 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90779815:ctest-vn-67678770', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90779815:ctest-vn-67678770?flat'} 2025-10-09 16:31:02,198 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90779815:ctest-vn-67678770 is found in opserver 2025-10-09 16:31:02,211 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 16:31:02,216 - DEBUG - VRF ids for VN ctest-vn-67678770: {} 2025-10-09 16:31:02,216 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-09 16:31:02,222 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4e068b91-0bfe-45a1-839d-acbe5dc27105 2025-10-09 16:31:02,235 - DEBUG - Requesting: http://10.0.0.22:8082/project/f1cc9295-27c4-4e2f-aa62-094ebf7ab602 2025-10-09 16:31:02,325 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2583d3ca-9ab3-40ad-a4da-5a3ab02b0970 2025-10-09 16:31:02,337 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2583d3ca-9ab3-40ad-a4da-5a3ab02b0970 2025-10-09 16:31:02,348 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9ab24a98-7653-49f2-bb63-6a1a461a7790 2025-10-09 16:31:02,357 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9ab24a98-7653-49f2-bb63-6a1a461a7790 2025-10-09 16:31:02,365 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/911be0c1-f91d-4d64-ad02-7504cd80bbcb 2025-10-09 16:31:02,372 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 16:31:02,372 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2583d3ca-9ab3-40ad-a4da-5a3ab02b0970 2025-10-09 16:31:02,383 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9ab24a98-7653-49f2-bb63-6a1a461a7790 2025-10-09 16:31:02,400 - INFO - Verified VN network id 12 for VN 2583d3ca-9ab3-40ad-a4da-5a3ab02b0970 2025-10-09 16:31:02,400 - INFO - Verifications in API Server for VN ctest-vn-48438326 passed 2025-10-09 16:31:02,400 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2583d3ca-9ab3-40ad-a4da-5a3ab02b0970 2025-10-09 16:31:02,411 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9ab24a98-7653-49f2-bb63-6a1a461a7790 2025-10-09 16:31:02,421 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9ab24a98-7653-49f2-bb63-6a1a461a7790 2025-10-09 16:31:02,429 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/911be0c1-f91d-4d64-ad02-7504cd80bbcb 2025-10-09 16:31:02,441 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90779815:ctest-vn-48438326', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90779815', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2703237068484722861', 'uuid-lslong': '11878906175253318000'}, 'enable': 'true', 'created': '2025-10-09T16:30:59', 'last-modified': '2025-10-09T16:31:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.540496'} 2025-10-09 16:31:02,447 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 16:31:02,447 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48438326 passed 2025-10-09 16:31:02,447 - DEBUG - ====Verifying policy data for ctest-vn-48438326 in API_Server ====== 2025-10-09 16:31:02,447 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-09 16:31:02,454 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4e068b91-0bfe-45a1-839d-acbe5dc27105 2025-10-09 16:31:02,466 - DEBUG - Requesting: http://10.0.0.22:8082/project/f1cc9295-27c4-4e2f-aa62-094ebf7ab602 2025-10-09 16:31:02,545 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2583d3ca-9ab3-40ad-a4da-5a3ab02b0970 2025-10-09 16:31:02,555 - DEBUG - ==>Verifying data for policy with id: e078c0b7-5c24-46f2-a510-9f3cee912ff6, fqn: ['default-domain', 'ctest-TestBasicPolicy-90779815', 'ctest-policy-allow-all-21755522'] 2025-10-09 16:31:02,555 - INFO - VN ctest-vn-48438326 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 16:31:02,555 - DEBUG - Verifying the vn in opserver 2025-10-09 16:31:02,555 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90779815:ctest-vn-48438326 virtual network link through opserver 10.0.0.22 2025-10-09 16:31:02,555 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-09 16:31:02,566 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90779815:ctest-vn-48438326', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90779815:ctest-vn-48438326?flat'} 2025-10-09 16:31:02,566 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90779815:ctest-vn-48438326 is found in opserver 2025-10-09 16:31:02,578 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 16:31:02,583 - DEBUG - VRF ids for VN ctest-vn-48438326: {} 2025-10-09 16:31:02,663 - DEBUG - Services list from nova: [, , ] 2025-10-09 16:31:03,790 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4267-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4267-1) 2025-10-09 16:31:05,054 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4267-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4267-1) 2025-10-09 16:31:05,054 - INFO - Waiting for VM ctest-TestBasicPolicy-90779815-77036821 to be up.. 2025-10-09 16:31:05,164 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 16:31:10,265 - DEBUG - VM is in ACTIVE state now 2025-10-09 16:31:10,266 - INFO - VM name : ctest-TestBasicPolicy-90779815-77036821 2025-10-09 16:31:10,360 - DEBUG - VM ctest-TestBasicPolicy-90779815-77036821 ID is 12392430-f296-418e-a7a3-f57f8ad8df1e 2025-10-09 16:31:10,385 - DEBUG - VM ctest-TestBasicPolicy-90779815-77036821 launched on Node cn-jenkins-deploy-platform-ansible-os-4267-1 2025-10-09 16:31:10,474 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/12392430-f296-418e-a7a3-f57f8ad8df1e 2025-10-09 16:31:10,484 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7cf3de52-32d3-4a8e-94e9-3f68a28ad02e 2025-10-09 16:31:13,754 - 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 1024ms') 2025-10-09 16:31:13,754 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90779815-77036821 failed! 2025-10-09 16:31:13,812 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-90779815:ctest-vn-67678770 is 109.56.58.193 and allocation pool is NOT set 2025-10-09 16:31:15,886 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.93 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.931/5.676/9.421/3.745 ms') 2025-10-09 16:31:15,886 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90779815-77036821 passed 2025-10-09 16:31:16,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 16:31:16,041 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90779815-77036821, IP 109.56.58.195, Port 22 2025-10-09 16:31:16,210 - DEBUG - VM ctest-TestBasicPolicy-90779815-77036821 is ready for SSH connections 2025-10-09 16:31:16,210 - INFO - Waiting for VM ctest-TestBasicPolicy-90779815-09381997 to be up.. 2025-10-09 16:31:16,307 - DEBUG - VM is in ACTIVE state now 2025-10-09 16:31:16,307 - INFO - VM name : ctest-TestBasicPolicy-90779815-09381997 2025-10-09 16:31:16,408 - DEBUG - VM ctest-TestBasicPolicy-90779815-09381997 ID is acf793f9-88a2-4919-8ab1-d68144d5912d 2025-10-09 16:31:16,409 - DEBUG - VM ctest-TestBasicPolicy-90779815-09381997 launched on Node cn-jenkins-deploy-platform-ansible-os-4267-1 2025-10-09 16:31:16,498 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/acf793f9-88a2-4919-8ab1-d68144d5912d 2025-10-09 16:31:16,510 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/01a125c2-d4ce-4c12-8796-b6a607725422 2025-10-09 16:31:17,772 - 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=3.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.552 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.552/1.856/3.161/1.304 ms') 2025-10-09 16:31:17,772 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-90779815-09381997 passed 2025-10-09 16:31:17,924 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 16:31:17,925 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90779815-09381997, IP 70.225.155.195, Port 22 2025-10-09 16:31:18,091 - DEBUG - VM ctest-TestBasicPolicy-90779815-09381997 is ready for SSH connections 2025-10-09 16:31:18,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 16:31:18,091 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.225.155.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-09 16:31:18,091 - DEBUG - ping -s 56 -c 3 -W 1 70.225.155.195 2025-10-09 16:31:22,254 - DEBUG - PING 70.225.155.195 (70.225.155.195): 56 data bytes 64 bytes from 70.225.155.195: seq=0 ttl=63 time=4.670 ms 64 bytes from 70.225.155.195: seq=1 ttl=63 time=1.354 ms 64 bytes from 70.225.155.195: seq=2 ttl=63 time=1.178 ms --- 70.225.155.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.178/2.400/4.670 ms 2025-10-09 16:31:22,255 - INFO - Ping to IP 70.225.155.195 from VM ctest-TestBasicPolicy-90779815-77036821 passed 2025-10-09 16:31:22,472 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e078c0b7-5c24-46f2-a510-9f3cee912ff6", "href": "http://10.0.0.22:8082/network-policy/e078c0b7-5c24-46f2-a510-9f3cee912ff6"}} 2025-10-09 16:31:22,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 16:31:22,472 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.225.155.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-09 16:31:22,473 - DEBUG - ping -s 56 -c 3 -W 1 70.225.155.195 2025-10-09 16:31:25,700 - DEBUG - PING 70.225.155.195 (70.225.155.195): 56 data bytes --- 70.225.155.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 16:31:25,700 - WARNING - Ping to IP 70.225.155.195 from VM ctest-TestBasicPolicy-90779815-77036821 failed 2025-10-09 16:31:25,700 - INFO - Deleting VM ctest-TestBasicPolicy-90779815-09381997 2025-10-09 16:31:25,785 - INFO - Deleting VM ctest-TestBasicPolicy-90779815-77036821 2025-10-09 16:31:26,211 - INFO - Deleted policy ctest-policy-allow-all-21755522 2025-10-09 16:31:26,211 - INFO - Deleting VN ctest-vn-48438326 2025-10-09 16:31:26,258 - DEBUG - VN 2583d3ca-9ab3-40ad-a4da-5a3ab02b0970 still in use: Unable to complete operation on network 2583d3ca-9ab3-40ad-a4da-5a3ab02b0970. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-28a7d099-0859-4a85-a808-d27e3f3bbf24'] 2025-10-09 16:31:26,258 - WARNING - Deleting VN ctest-vn-48438326 failed..Will retry 2025-10-09 16:31:28,369 - DEBUG - Response for deleting network () 2025-10-09 16:31:28,369 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9ab24a98-7653-49f2-bb63-6a1a461a7790 2025-10-09 16:31:28,375 - DEBUG - Response Code: 404 2025-10-09 16:31:28,375 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-09 16:31:28,381 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4e068b91-0bfe-45a1-839d-acbe5dc27105 2025-10-09 16:31:28,444 - DEBUG - Requesting: http://10.0.0.22:8082/project/f1cc9295-27c4-4e2f-aa62-094ebf7ab602 2025-10-09 16:31:28,518 - INFO - Validated that VN ctest-vn-48438326 is not found in API Server 2025-10-09 16:31:28,530 - DEBUG - VN ctest-vn-48438326 is not present in Agent 10.0.0.22 2025-10-09 16:31:28,530 - INFO - Validated that VN ctest-vn-48438326 is not in any agent 2025-10-09 16:31:28,546 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48438326 info 2025-10-09 16:31:28,547 - INFO - Deleting VN ctest-vn-67678770 2025-10-09 16:31:28,671 - DEBUG - Response for deleting network () 2025-10-09 16:31:28,671 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1a72dd99-7364-43e0-b554-21661ad921a4 2025-10-09 16:31:28,679 - DEBUG - Response Code: 404 2025-10-09 16:31:28,679 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-09 16:31:28,685 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4e068b91-0bfe-45a1-839d-acbe5dc27105 2025-10-09 16:31:28,741 - DEBUG - Requesting: http://10.0.0.22:8082/project/f1cc9295-27c4-4e2f-aa62-094ebf7ab602 2025-10-09 16:31:28,816 - INFO - Validated that VN ctest-vn-67678770 is not found in API Server 2025-10-09 16:31:28,825 - DEBUG - VN ctest-vn-67678770 is not present in Agent 10.0.0.22 2025-10-09 16:31:28,825 - INFO - Validated that VN ctest-vn-67678770 is not in any agent 2025-10-09 16:31:28,838 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67678770 info 2025-10-09 16:31:29,098 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 16:31:29,099 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-10-09 16:31:29,099 - INFO - -------------------------------------------------------------------------------- 2025-10-09 16:31:29,826 - INFO - Deleted project: ctest-TestBasicPolicy-90779815, ID : f1cc9295-27c4-4e2f-aa62-094ebf7ab602