2025-10-21 22:16:02,047 - INFO - Domain Default found not creating 2025-10-21 22:16:02,180 - INFO - Project ctest-TestBasicPolicy-78821975 not found, creating it 2025-10-21 22:16:02,660 - INFO - Created Project:ctest-TestBasicPolicy-78821975, ID : 4cd5f9d4-0325-49da-bdb1-f0a4a1080cce 2025-10-21 22:16:04,032 - INFO - ================================================================================ 2025-10-21 22:16:04,032 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-21 22:16:04,032 - 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-21 22:16:04,289 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-21 22:16:04,289 - INFO - Initial checks done. Running the testcase now 2025-10-21 22:16:04,289 - INFO - 2025-10-21 22:16:04,821 - DEBUG - Response for create_network : {'network': {'id': 'e107a1a3-2b20-4dd4-8007-60305825c59c', 'name': 'ctest-vn-87626993', 'tenant_id': '4cd5f9d4032549dabdb1f0a4a1080cce', 'project_id': '4cd5f9d4032549dabdb1f0a4a1080cce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78821975', 'ctest-vn-87626993'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 22:16:05,000 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e243497-e31a-4eca-8f59-9fa18c5238d0', 'name': '', 'tenant_id': '4cd5f9d4032549dabdb1f0a4a1080cce', 'network_id': 'e107a1a3-2b20-4dd4-8007-60305825c59c', 'ip_version': 4, 'cidr': '9.76.37.192/26', 'allocation_pools': [{'start': '9.76.37.194', 'end': '9.76.37.254'}], 'gateway_ip': '9.76.37.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.76.37.194', 'tags': [], 'project_id': '4cd5f9d4032549dabdb1f0a4a1080cce'}} 2025-10-21 22:16:05,015 - INFO - Created VN ctest-vn-87626993 2025-10-21 22:16:05,064 - DEBUG - VN ctest-vn-87626993 UUID is e107a1a3-2b20-4dd4-8007-60305825c59c 2025-10-21 22:16:05,382 - DEBUG - Response for create_network : {'network': {'id': 'c4f1479c-2795-4471-a7a1-36fac7ab4746', 'name': 'ctest-vn-68995977', 'tenant_id': '4cd5f9d4032549dabdb1f0a4a1080cce', 'project_id': '4cd5f9d4032549dabdb1f0a4a1080cce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78821975', 'ctest-vn-68995977'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 22:16:05,528 - DEBUG - Response for create_subnet : {'subnet': {'id': '32dbb2c0-ca09-4e9b-b6d5-fe13a52eacb1', 'name': '', 'tenant_id': '4cd5f9d4032549dabdb1f0a4a1080cce', 'network_id': 'c4f1479c-2795-4471-a7a1-36fac7ab4746', 'ip_version': 4, 'cidr': '44.210.226.0/26', 'allocation_pools': [{'start': '44.210.226.2', 'end': '44.210.226.62'}], 'gateway_ip': '44.210.226.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.210.226.2', 'tags': [], 'project_id': '4cd5f9d4032549dabdb1f0a4a1080cce'}} 2025-10-21 22:16:05,544 - INFO - Created VN ctest-vn-68995977 2025-10-21 22:16:05,596 - DEBUG - VN ctest-vn-68995977 UUID is c4f1479c-2795-4471-a7a1-36fac7ab4746 2025-10-21 22:16:05,748 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78821975:ctest-vn-87626993, 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-78821975:ctest-vn-68995977, 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-21 22:16:06,024 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e107a1a3-2b20-4dd4-8007-60305825c59c', 'name': 'ctest-vn-87626993', 'tenant_id': '4cd5f9d4032549dabdb1f0a4a1080cce', 'project_id': '4cd5f9d4032549dabdb1f0a4a1080cce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6e243497-e31a-4eca-8f59-9fa18c5238d0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78821975', 'ctest-vn-87626993'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78821975', 'ctest-policy-allow-all-31973949']], 'subnet_ipam': [{'subnet_cidr': '9.76.37.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 22:16:06,250 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c4f1479c-2795-4471-a7a1-36fac7ab4746', 'name': 'ctest-vn-68995977', 'tenant_id': '4cd5f9d4032549dabdb1f0a4a1080cce', 'project_id': '4cd5f9d4032549dabdb1f0a4a1080cce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['32dbb2c0-ca09-4e9b-b6d5-fe13a52eacb1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78821975', 'ctest-vn-68995977'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78821975', 'ctest-policy-allow-all-31973949']], 'subnet_ipam': [{'subnet_cidr': '44.210.226.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 22:16:06,400 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 22:16:06,689 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 22:16:06,716 - DEBUG - Requesting: http://10.0.0.254:8082/domain/39f1ad4f-8f30-46eb-93a6-f28c30bc5c53 2025-10-21 22:16:06,726 - DEBUG - Requesting: http://10.0.0.254:8082/project/4cd5f9d4-0325-49da-bdb1-f0a4a1080cce 2025-10-21 22:16:06,798 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e107a1a3-2b20-4dd4-8007-60305825c59c 2025-10-21 22:16:06,807 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e107a1a3-2b20-4dd4-8007-60305825c59c 2025-10-21 22:16:06,814 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1a01b937-0ce9-4ec1-b734-ceef6d3676df 2025-10-21 22:16:06,819 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1a01b937-0ce9-4ec1-b734-ceef6d3676df 2025-10-21 22:16:06,824 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/6689b85c-1ca7-4273-bfcf-b2507d737232 2025-10-21 22:16:06,829 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 22:16:06,829 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e107a1a3-2b20-4dd4-8007-60305825c59c 2025-10-21 22:16:06,835 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1a01b937-0ce9-4ec1-b734-ceef6d3676df 2025-10-21 22:16:06,846 - INFO - Verified VN network id 12 for VN e107a1a3-2b20-4dd4-8007-60305825c59c 2025-10-21 22:16:06,846 - INFO - Verifications in API Server for VN ctest-vn-87626993 passed 2025-10-21 22:16:06,846 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e107a1a3-2b20-4dd4-8007-60305825c59c 2025-10-21 22:16:06,853 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1a01b937-0ce9-4ec1-b734-ceef6d3676df 2025-10-21 22:16:06,858 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1a01b937-0ce9-4ec1-b734-ceef6d3676df 2025-10-21 22:16:06,863 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/6689b85c-1ca7-4273-bfcf-b2507d737232 2025-10-21 22:16:06,873 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78821975:ctest-vn-87626993', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78821975', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16215106705546038740', 'uuid-lslong': '9225448122445317532'}, 'enable': 'true', 'created': '2025-10-21T22:16:04', 'last-modified': '2025-10-21T22:16:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.866441'} 2025-10-21 22:16:06,878 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 22:16:06,878 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87626993 passed 2025-10-21 22:16:06,878 - DEBUG - ====Verifying policy data for ctest-vn-87626993 in API_Server ====== 2025-10-21 22:16:06,878 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 22:16:06,882 - DEBUG - Requesting: http://10.0.0.254:8082/domain/39f1ad4f-8f30-46eb-93a6-f28c30bc5c53 2025-10-21 22:16:06,891 - DEBUG - Requesting: http://10.0.0.254:8082/project/4cd5f9d4-0325-49da-bdb1-f0a4a1080cce 2025-10-21 22:16:06,972 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e107a1a3-2b20-4dd4-8007-60305825c59c 2025-10-21 22:16:06,980 - DEBUG - ==>Verifying data for policy with id: 7afbbb06-1088-435f-aab7-72ef554e48e9, fqn: ['default-domain', 'ctest-TestBasicPolicy-78821975', 'ctest-policy-allow-all-31973949'] 2025-10-21 22:16:06,980 - INFO - VN ctest-vn-87626993 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 22:16:06,980 - DEBUG - Verifying the vn in opserver 2025-10-21 22:16:06,980 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78821975:ctest-vn-87626993 virtual network link through opserver 10.0.0.254 2025-10-21 22:16:06,980 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-21 22:16:07,269 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-21 22:16:07,319 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78821975:ctest-vn-87626993', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78821975:ctest-vn-87626993?flat'} 2025-10-21 22:16:07,319 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78821975:ctest-vn-87626993 is found in opserver 2025-10-21 22:16:07,328 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 22:16:07,332 - DEBUG - VRF ids for VN ctest-vn-87626993: {} 2025-10-21 22:16:07,332 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 22:16:07,337 - DEBUG - Requesting: http://10.0.0.254:8082/domain/39f1ad4f-8f30-46eb-93a6-f28c30bc5c53 2025-10-21 22:16:07,346 - DEBUG - Requesting: http://10.0.0.254:8082/project/4cd5f9d4-0325-49da-bdb1-f0a4a1080cce 2025-10-21 22:16:07,413 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c4f1479c-2795-4471-a7a1-36fac7ab4746 2025-10-21 22:16:07,424 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c4f1479c-2795-4471-a7a1-36fac7ab4746 2025-10-21 22:16:07,432 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4d713545-0177-4167-940b-8118a3a593a2 2025-10-21 22:16:07,437 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4d713545-0177-4167-940b-8118a3a593a2 2025-10-21 22:16:07,442 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/786c4c54-171e-40b2-9299-4d611128acd4 2025-10-21 22:16:07,447 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 22:16:07,447 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c4f1479c-2795-4471-a7a1-36fac7ab4746 2025-10-21 22:16:07,454 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4d713545-0177-4167-940b-8118a3a593a2 2025-10-21 22:16:07,464 - INFO - Verified VN network id 13 for VN c4f1479c-2795-4471-a7a1-36fac7ab4746 2025-10-21 22:16:07,465 - INFO - Verifications in API Server for VN ctest-vn-68995977 passed 2025-10-21 22:16:07,465 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c4f1479c-2795-4471-a7a1-36fac7ab4746 2025-10-21 22:16:07,472 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4d713545-0177-4167-940b-8118a3a593a2 2025-10-21 22:16:07,477 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4d713545-0177-4167-940b-8118a3a593a2 2025-10-21 22:16:07,483 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/786c4c54-171e-40b2-9299-4d611128acd4 2025-10-21 22:16:07,493 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78821975:ctest-vn-68995977', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78821975', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14191202636825707633', 'uuid-lslong': '12078996126303995718'}, 'enable': 'true', 'created': '2025-10-21T22:16:05', 'last-modified': '2025-10-21T22:16:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.260040'} 2025-10-21 22:16:07,499 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 22:16:07,499 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68995977 passed 2025-10-21 22:16:07,499 - DEBUG - ====Verifying policy data for ctest-vn-68995977 in API_Server ====== 2025-10-21 22:16:07,499 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 22:16:07,503 - DEBUG - Requesting: http://10.0.0.254:8082/domain/39f1ad4f-8f30-46eb-93a6-f28c30bc5c53 2025-10-21 22:16:07,513 - DEBUG - Requesting: http://10.0.0.254:8082/project/4cd5f9d4-0325-49da-bdb1-f0a4a1080cce 2025-10-21 22:16:07,580 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c4f1479c-2795-4471-a7a1-36fac7ab4746 2025-10-21 22:16:07,587 - DEBUG - ==>Verifying data for policy with id: 7afbbb06-1088-435f-aab7-72ef554e48e9, fqn: ['default-domain', 'ctest-TestBasicPolicy-78821975', 'ctest-policy-allow-all-31973949'] 2025-10-21 22:16:07,587 - INFO - VN ctest-vn-68995977 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 22:16:07,587 - DEBUG - Verifying the vn in opserver 2025-10-21 22:16:07,588 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78821975:ctest-vn-68995977 virtual network link through opserver 10.0.0.254 2025-10-21 22:16:07,588 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-21 22:16:07,596 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78821975:ctest-vn-68995977', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78821975:ctest-vn-68995977?flat'} 2025-10-21 22:16:07,596 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78821975:ctest-vn-68995977 is found in opserver 2025-10-21 22:16:07,605 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 22:16:07,609 - DEBUG - VRF ids for VN ctest-vn-68995977: {} 2025-10-21 22:16:07,661 - DEBUG - Services list from nova: [, , ] 2025-10-21 22:16:08,640 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4410-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4410-1) 2025-10-21 22:16:09,822 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4410-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4410-1) 2025-10-21 22:16:09,822 - INFO - Waiting for VM ctest-TestBasicPolicy-78821975-73045107 to be up.. 2025-10-21 22:16:09,892 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 22:16:14,962 - DEBUG - VM is in ACTIVE state now 2025-10-21 22:16:14,963 - INFO - VM name : ctest-TestBasicPolicy-78821975-73045107 2025-10-21 22:16:15,034 - DEBUG - VM ctest-TestBasicPolicy-78821975-73045107 ID is b0101f71-65b2-4bfc-9eb3-2fa1b5bbf9c8 2025-10-21 22:16:15,056 - DEBUG - VM ctest-TestBasicPolicy-78821975-73045107 launched on Node cn-jenkins-deploy-platform-ansible-os-4410-1 2025-10-21 22:16:15,128 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b0101f71-65b2-4bfc-9eb3-2fa1b5bbf9c8 2025-10-21 22:16:15,135 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9f2e6564-1164-480b-94f1-5103b88efc74 2025-10-21 22:16:18,395 - 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-21 22:16:18,395 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78821975-73045107 failed! 2025-10-21 22:16:18,448 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-78821975:ctest-vn-87626993 is 9.76.37.193 and allocation pool is NOT set 2025-10-21 22:16:20,513 - 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=3.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.10 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 = 1.101/2.521/3.942/1.420 ms') 2025-10-21 22:16:20,513 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78821975-73045107 passed 2025-10-21 22:16:20,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 22:16:20,664 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78821975-73045107, IP 9.76.37.195, Port 22 2025-10-21 22:16:20,815 - DEBUG - VM ctest-TestBasicPolicy-78821975-73045107 is ready for SSH connections 2025-10-21 22:16:20,815 - INFO - Waiting for VM ctest-TestBasicPolicy-78821975-11201325 to be up.. 2025-10-21 22:16:20,888 - DEBUG - VM is in ACTIVE state now 2025-10-21 22:16:20,888 - INFO - VM name : ctest-TestBasicPolicy-78821975-11201325 2025-10-21 22:16:20,962 - DEBUG - VM ctest-TestBasicPolicy-78821975-11201325 ID is c61c6054-e35b-4201-b5a6-da6194bfaeb4 2025-10-21 22:16:20,962 - DEBUG - VM ctest-TestBasicPolicy-78821975-11201325 launched on Node cn-jenkins-deploy-platform-ansible-os-4410-1 2025-10-21 22:16:21,029 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c61c6054-e35b-4201-b5a6-da6194bfaeb4 2025-10-21 22:16:21,037 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e10c1da0-a8a2-43f1-ac8b-9dc6f2df9fe7 2025-10-21 22:16:22,267 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.458 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.458/2.310/4.162/1.852 ms') 2025-10-21 22:16:22,267 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-78821975-11201325 passed 2025-10-21 22:16:22,420 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 22:16:22,420 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78821975-11201325, IP 44.210.226.3, Port 22 2025-10-21 22:16:22,576 - DEBUG - VM ctest-TestBasicPolicy-78821975-11201325 is ready for SSH connections 2025-10-21 22:16:22,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 22:16:22,576 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.210.226.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 22:16:22,576 - DEBUG - ping -s 56 -c 3 -W 1 44.210.226.3 2025-10-21 22:16:26,272 - DEBUG - PING 44.210.226.3 (44.210.226.3): 56 data bytes 64 bytes from 44.210.226.3: seq=0 ttl=63 time=3.249 ms 64 bytes from 44.210.226.3: seq=1 ttl=63 time=0.889 ms 64 bytes from 44.210.226.3: seq=2 ttl=63 time=0.904 ms --- 44.210.226.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.889/1.680/3.249 ms 2025-10-21 22:16:26,272 - INFO - Ping to IP 44.210.226.3 from VM ctest-TestBasicPolicy-78821975-73045107 passed 2025-10-21 22:16:26,444 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7afbbb06-1088-435f-aab7-72ef554e48e9", "href": "http://10.0.0.254:8082/network-policy/7afbbb06-1088-435f-aab7-72ef554e48e9"}} 2025-10-21 22:16:26,444 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 22:16:26,444 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.210.226.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 22:16:26,444 - DEBUG - ping -s 56 -c 3 -W 1 44.210.226.3 2025-10-21 22:16:29,656 - DEBUG - PING 44.210.226.3 (44.210.226.3): 56 data bytes --- 44.210.226.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 22:16:29,656 - WARNING - Ping to IP 44.210.226.3 from VM ctest-TestBasicPolicy-78821975-73045107 failed 2025-10-21 22:16:29,656 - INFO - Deleting VM ctest-TestBasicPolicy-78821975-11201325 2025-10-21 22:16:29,735 - INFO - Deleting VM ctest-TestBasicPolicy-78821975-73045107 2025-10-21 22:16:30,088 - INFO - Deleted policy ctest-policy-allow-all-31973949 2025-10-21 22:16:30,088 - INFO - Deleting VN ctest-vn-68995977 2025-10-21 22:16:30,121 - DEBUG - VN c4f1479c-2795-4471-a7a1-36fac7ab4746 still in use: Unable to complete operation on network c4f1479c-2795-4471-a7a1-36fac7ab4746. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-18c3aa46-a329-4f69-90eb-559dfeca9578'] 2025-10-21 22:16:30,121 - WARNING - Deleting VN ctest-vn-68995977 failed..Will retry 2025-10-21 22:16:32,208 - DEBUG - Response for deleting network () 2025-10-21 22:16:32,208 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4d713545-0177-4167-940b-8118a3a593a2 2025-10-21 22:16:32,212 - DEBUG - Response Code: 404 2025-10-21 22:16:32,212 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 22:16:32,217 - DEBUG - Requesting: http://10.0.0.254:8082/domain/39f1ad4f-8f30-46eb-93a6-f28c30bc5c53 2025-10-21 22:16:32,271 - DEBUG - Requesting: http://10.0.0.254:8082/project/4cd5f9d4-0325-49da-bdb1-f0a4a1080cce 2025-10-21 22:16:32,343 - INFO - Validated that VN ctest-vn-68995977 is not found in API Server 2025-10-21 22:16:32,351 - DEBUG - VN ctest-vn-68995977 is not present in Agent 10.0.0.254 2025-10-21 22:16:32,351 - INFO - Validated that VN ctest-vn-68995977 is not in any agent 2025-10-21 22:16:32,363 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68995977 info 2025-10-21 22:16:32,363 - INFO - Deleting VN ctest-vn-87626993 2025-10-21 22:16:32,455 - DEBUG - Response for deleting network () 2025-10-21 22:16:32,455 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1a01b937-0ce9-4ec1-b734-ceef6d3676df 2025-10-21 22:16:32,460 - DEBUG - Response Code: 404 2025-10-21 22:16:32,461 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 22:16:32,466 - DEBUG - Requesting: http://10.0.0.254:8082/domain/39f1ad4f-8f30-46eb-93a6-f28c30bc5c53 2025-10-21 22:16:32,517 - DEBUG - Requesting: http://10.0.0.254:8082/project/4cd5f9d4-0325-49da-bdb1-f0a4a1080cce 2025-10-21 22:16:32,586 - INFO - Validated that VN ctest-vn-87626993 is not found in API Server 2025-10-21 22:16:32,594 - DEBUG - VN ctest-vn-87626993 is not present in Agent 10.0.0.254 2025-10-21 22:16:32,594 - INFO - Validated that VN ctest-vn-87626993 is not in any agent 2025-10-21 22:16:32,608 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87626993 info 2025-10-21 22:16:32,865 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 22:16:32,865 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28] 2025-10-21 22:16:32,865 - INFO - -------------------------------------------------------------------------------- 2025-10-21 22:16:33,518 - INFO - Deleted project: ctest-TestBasicPolicy-78821975, ID : 4cd5f9d4-0325-49da-bdb1-f0a4a1080cce