2026-05-18 02:25:22,728 - INFO - Domain Default found not creating 2026-05-18 02:25:22,901 - INFO - Project ctest-TestBasicPolicy-08868903 not found, creating it 2026-05-18 02:25:23,388 - INFO - Created Project:ctest-TestBasicPolicy-08868903, ID : 57a60171-bc6b-4977-bfaa-632da836f244 2026-05-18 02:25:24,930 - INFO - ================================================================================ 2026-05-18 02:25:24,931 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-18 02:25:24,931 - 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 2026-05-18 02:25:25,191 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.201': '0'}} with 2026-05-18 02:25:25,191 - INFO - Initial checks done. Running the testcase now 2026-05-18 02:25:25,191 - INFO - 2026-05-18 02:25:25,781 - DEBUG - Response for create_network : {'network': {'id': '9b6f4fbc-22ff-4808-8c2d-8050edf25a8b', 'name': 'ctest-vn-88367155', 'tenant_id': '57a60171bc6b4977bfaa632da836f244', 'project_id': '57a60171bc6b4977bfaa632da836f244', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08868903', 'ctest-vn-88367155'], 'port_security_enabled': True, 'description': ''}} 2026-05-18 02:25:25,975 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb7e0316-a7b4-4dc3-b611-326a0ec35267', 'name': '', 'tenant_id': '57a60171bc6b4977bfaa632da836f244', 'network_id': '9b6f4fbc-22ff-4808-8c2d-8050edf25a8b', 'ip_version': 4, 'cidr': '107.87.173.64/26', 'allocation_pools': [{'start': '107.87.173.66', 'end': '107.87.173.126'}], 'gateway_ip': '107.87.173.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.87.173.66', 'tags': [], 'project_id': '57a60171bc6b4977bfaa632da836f244'}} 2026-05-18 02:25:25,994 - INFO - Created VN ctest-vn-88367155 2026-05-18 02:25:26,046 - DEBUG - VN ctest-vn-88367155 UUID is 9b6f4fbc-22ff-4808-8c2d-8050edf25a8b 2026-05-18 02:25:26,337 - DEBUG - Response for create_network : {'network': {'id': 'cf5e7c9f-80f5-4843-8aa1-661c26cf426d', 'name': 'ctest-vn-23434124', 'tenant_id': '57a60171bc6b4977bfaa632da836f244', 'project_id': '57a60171bc6b4977bfaa632da836f244', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08868903', 'ctest-vn-23434124'], 'port_security_enabled': True, 'description': ''}} 2026-05-18 02:25:26,523 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb883dae-6f08-4915-b9cf-151d83b3f4d5', 'name': '', 'tenant_id': '57a60171bc6b4977bfaa632da836f244', 'network_id': 'cf5e7c9f-80f5-4843-8aa1-661c26cf426d', 'ip_version': 4, 'cidr': '21.211.73.192/26', 'allocation_pools': [{'start': '21.211.73.194', 'end': '21.211.73.254'}], 'gateway_ip': '21.211.73.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.211.73.194', 'tags': [], 'project_id': '57a60171bc6b4977bfaa632da836f244'}} 2026-05-18 02:25:26,539 - INFO - Created VN ctest-vn-23434124 2026-05-18 02:25:26,590 - DEBUG - VN ctest-vn-23434124 UUID is cf5e7c9f-80f5-4843-8aa1-661c26cf426d 2026-05-18 02:25:26,738 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-08868903:ctest-vn-88367155, 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-08868903:ctest-vn-23434124, 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] 2026-05-18 02:25:27,023 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b6f4fbc-22ff-4808-8c2d-8050edf25a8b', 'name': 'ctest-vn-88367155', 'tenant_id': '57a60171bc6b4977bfaa632da836f244', 'project_id': '57a60171bc6b4977bfaa632da836f244', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bb7e0316-a7b4-4dc3-b611-326a0ec35267'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08868903', 'ctest-vn-88367155'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08868903', 'ctest-policy-allow-all-65337625']], 'subnet_ipam': [{'subnet_cidr': '107.87.173.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-18 02:25:27,246 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf5e7c9f-80f5-4843-8aa1-661c26cf426d', 'name': 'ctest-vn-23434124', 'tenant_id': '57a60171bc6b4977bfaa632da836f244', 'project_id': '57a60171bc6b4977bfaa632da836f244', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fb883dae-6f08-4915-b9cf-151d83b3f4d5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08868903', 'ctest-vn-23434124'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08868903', 'ctest-policy-allow-all-65337625']], 'subnet_ipam': [{'subnet_cidr': '21.211.73.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-18 02:25:27,414 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-05-18 02:25:27,721 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-05-18 02:25:27,751 - DEBUG - Requesting: http://10.0.0.249:8082/domain/fb18f509-312e-488c-a3b4-d50130bfdb3a 2026-05-18 02:25:27,763 - DEBUG - Requesting: http://10.0.0.249:8082/project/57a60171-bc6b-4977-bfaa-632da836f244 2026-05-18 02:25:27,832 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9b6f4fbc-22ff-4808-8c2d-8050edf25a8b 2026-05-18 02:25:27,844 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9b6f4fbc-22ff-4808-8c2d-8050edf25a8b 2026-05-18 02:25:27,852 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/16babbea-21bf-46bc-8a2a-5c4931a1d701 2026-05-18 02:25:27,858 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/16babbea-21bf-46bc-8a2a-5c4931a1d701 2026-05-18 02:25:27,865 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/bff24df2-2db4-4e98-9e5b-8820e45061bc 2026-05-18 02:25:27,873 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-18 02:25:27,873 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9b6f4fbc-22ff-4808-8c2d-8050edf25a8b 2026-05-18 02:25:27,884 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/16babbea-21bf-46bc-8a2a-5c4931a1d701 2026-05-18 02:25:27,898 - INFO - Verified VN network id 11 for VN 9b6f4fbc-22ff-4808-8c2d-8050edf25a8b 2026-05-18 02:25:27,898 - INFO - Verifications in API Server for VN ctest-vn-88367155 passed 2026-05-18 02:25:27,898 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9b6f4fbc-22ff-4808-8c2d-8050edf25a8b 2026-05-18 02:25:27,906 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/16babbea-21bf-46bc-8a2a-5c4931a1d701 2026-05-18 02:25:27,913 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/16babbea-21bf-46bc-8a2a-5c4931a1d701 2026-05-18 02:25:27,920 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/bff24df2-2db4-4e98-9e5b-8820e45061bc 2026-05-18 02:25:27,932 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08868903:ctest-vn-88367155', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08868903', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11200258467753314312', 'uuid-lslong': '10100870624339712651'}, 'enable': 'true', 'created': '2026-05-18T02:25:25', 'last-modified': '2026-05-18T02:25:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.930768'} 2026-05-18 02:25:27,939 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-18 02:25:27,940 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88367155 passed 2026-05-18 02:25:27,940 - DEBUG - ====Verifying policy data for ctest-vn-88367155 in API_Server ====== 2026-05-18 02:25:27,940 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-05-18 02:25:27,945 - DEBUG - Requesting: http://10.0.0.249:8082/domain/fb18f509-312e-488c-a3b4-d50130bfdb3a 2026-05-18 02:25:27,956 - DEBUG - Requesting: http://10.0.0.249:8082/project/57a60171-bc6b-4977-bfaa-632da836f244 2026-05-18 02:25:28,028 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9b6f4fbc-22ff-4808-8c2d-8050edf25a8b 2026-05-18 02:25:28,036 - DEBUG - ==>Verifying data for policy with id: d6c81856-1aa5-4933-9fe6-8f8899b66204, fqn: ['default-domain', 'ctest-TestBasicPolicy-08868903', 'ctest-policy-allow-all-65337625'] 2026-05-18 02:25:28,036 - INFO - VN ctest-vn-88367155 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-18 02:25:28,036 - DEBUG - Verifying the vn in opserver 2026-05-18 02:25:28,036 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08868903:ctest-vn-88367155 virtual network link through opserver 10.0.0.249 2026-05-18 02:25:28,036 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-05-18 02:25:28,337 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-05-18 02:25:28,393 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08868903:ctest-vn-88367155', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08868903:ctest-vn-88367155?flat'} 2026-05-18 02:25:28,393 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08868903:ctest-vn-88367155 is found in opserver 2026-05-18 02:25:28,402 - DEBUG - Do not have enough data to verify VN in agent 2026-05-18 02:25:28,405 - DEBUG - VRF ids for VN ctest-vn-88367155: {} 2026-05-18 02:25:28,406 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-05-18 02:25:28,411 - DEBUG - Requesting: http://10.0.0.249:8082/domain/fb18f509-312e-488c-a3b4-d50130bfdb3a 2026-05-18 02:25:28,420 - DEBUG - Requesting: http://10.0.0.249:8082/project/57a60171-bc6b-4977-bfaa-632da836f244 2026-05-18 02:25:28,491 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/cf5e7c9f-80f5-4843-8aa1-661c26cf426d 2026-05-18 02:25:28,502 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/cf5e7c9f-80f5-4843-8aa1-661c26cf426d 2026-05-18 02:25:28,510 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2292386e-d053-43da-a64f-cf886e43cc4e 2026-05-18 02:25:28,516 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2292386e-d053-43da-a64f-cf886e43cc4e 2026-05-18 02:25:28,523 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/0a1c9545-cc2b-4d30-999b-3ccfbdc250f4 2026-05-18 02:25:28,529 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-18 02:25:28,529 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/cf5e7c9f-80f5-4843-8aa1-661c26cf426d 2026-05-18 02:25:28,537 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2292386e-d053-43da-a64f-cf886e43cc4e 2026-05-18 02:25:28,550 - INFO - Verified VN network id 12 for VN cf5e7c9f-80f5-4843-8aa1-661c26cf426d 2026-05-18 02:25:28,550 - INFO - Verifications in API Server for VN ctest-vn-23434124 passed 2026-05-18 02:25:28,550 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/cf5e7c9f-80f5-4843-8aa1-661c26cf426d 2026-05-18 02:25:28,558 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2292386e-d053-43da-a64f-cf886e43cc4e 2026-05-18 02:25:28,564 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2292386e-d053-43da-a64f-cf886e43cc4e 2026-05-18 02:25:28,571 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/0a1c9545-cc2b-4d30-999b-3ccfbdc250f4 2026-05-18 02:25:28,580 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08868903:ctest-vn-23434124', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08868903', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14942517638167087171', 'uuid-lslong': '9989377719580705389'}, 'enable': 'true', 'created': '2026-05-18T02:25:26', 'last-modified': '2026-05-18T02:25:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.352368'} 2026-05-18 02:25:28,586 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-18 02:25:28,586 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23434124 passed 2026-05-18 02:25:28,586 - DEBUG - ====Verifying policy data for ctest-vn-23434124 in API_Server ====== 2026-05-18 02:25:28,586 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-05-18 02:25:28,591 - DEBUG - Requesting: http://10.0.0.249:8082/domain/fb18f509-312e-488c-a3b4-d50130bfdb3a 2026-05-18 02:25:28,601 - DEBUG - Requesting: http://10.0.0.249:8082/project/57a60171-bc6b-4977-bfaa-632da836f244 2026-05-18 02:25:28,674 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/cf5e7c9f-80f5-4843-8aa1-661c26cf426d 2026-05-18 02:25:28,683 - DEBUG - ==>Verifying data for policy with id: d6c81856-1aa5-4933-9fe6-8f8899b66204, fqn: ['default-domain', 'ctest-TestBasicPolicy-08868903', 'ctest-policy-allow-all-65337625'] 2026-05-18 02:25:28,683 - INFO - VN ctest-vn-23434124 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-18 02:25:28,683 - DEBUG - Verifying the vn in opserver 2026-05-18 02:25:28,683 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08868903:ctest-vn-23434124 virtual network link through opserver 10.0.0.249 2026-05-18 02:25:28,683 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-05-18 02:25:28,692 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08868903:ctest-vn-23434124', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08868903:ctest-vn-23434124?flat'} 2026-05-18 02:25:28,692 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08868903:ctest-vn-23434124 is found in opserver 2026-05-18 02:25:28,701 - DEBUG - Do not have enough data to verify VN in agent 2026-05-18 02:25:28,705 - DEBUG - VRF ids for VN ctest-vn-23434124: {} 2026-05-18 02:25:28,766 - DEBUG - Services list from nova: [, , ] 2026-05-18 02:25:29,838 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5793-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5793-1) 2026-05-18 02:25:31,070 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5793-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5793-1) 2026-05-18 02:25:31,070 - INFO - Waiting for VM ctest-TestBasicPolicy-08868903-10530938 to be up.. 2026-05-18 02:25:31,165 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-18 02:25:36,247 - DEBUG - VM is in ACTIVE state now 2026-05-18 02:25:36,247 - INFO - VM name : ctest-TestBasicPolicy-08868903-10530938 2026-05-18 02:25:36,346 - DEBUG - VM ctest-TestBasicPolicy-08868903-10530938 ID is 260f6299-e8fa-42d2-a717-bbaab965b425 2026-05-18 02:25:36,370 - DEBUG - VM ctest-TestBasicPolicy-08868903-10530938 launched on Node cn-jenkins-deploy-platform-ansible-os-5793-1 2026-05-18 02:25:36,466 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/260f6299-e8fa-42d2-a717-bbaab965b425 2026-05-18 02:25:36,474 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/2c94866f-be17-484b-8228-fcf398ae80d9 2026-05-18 02:25:39,730 - 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 1014ms') 2026-05-18 02:25:39,730 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08868903-10530938 failed! 2026-05-18 02:25:39,786 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-08868903:ctest-vn-88367155 is 107.87.173.65 and allocation pool is NOT set 2026-05-18 02:25:41,852 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.808 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.808/5.089/9.371/4.281 ms') 2026-05-18 02:25:41,852 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08868903-10530938 passed 2026-05-18 02:25:42,002 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:25:42,002 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08868903-10530938, IP 107.87.173.67, Port 22 2026-05-18 02:25:42,172 - DEBUG - VM ctest-TestBasicPolicy-08868903-10530938 is ready for SSH connections 2026-05-18 02:25:42,172 - INFO - Waiting for VM ctest-TestBasicPolicy-08868903-14169457 to be up.. 2026-05-18 02:25:42,254 - DEBUG - VM is in ACTIVE state now 2026-05-18 02:25:42,254 - INFO - VM name : ctest-TestBasicPolicy-08868903-14169457 2026-05-18 02:25:42,335 - DEBUG - VM ctest-TestBasicPolicy-08868903-14169457 ID is 6e9247b1-9b2c-4c8a-a6dc-0113c2efd3a7 2026-05-18 02:25:42,335 - DEBUG - VM ctest-TestBasicPolicy-08868903-14169457 launched on Node cn-jenkins-deploy-platform-ansible-os-5793-1 2026-05-18 02:25:42,409 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/6e9247b1-9b2c-4c8a-a6dc-0113c2efd3a7 2026-05-18 02:25:42,417 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e5d5cd45-1034-4f9b-8a46-7c20ba643486 2026-05-18 02:25:43,649 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.459 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.459/1.797/3.135/1.338 ms') 2026-05-18 02:25:43,649 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-08868903-14169457 passed 2026-05-18 02:25:43,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:25:43,802 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08868903-14169457, IP 21.211.73.195, Port 22 2026-05-18 02:25:43,957 - DEBUG - VM ctest-TestBasicPolicy-08868903-14169457 is ready for SSH connections 2026-05-18 02:25:43,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:25:43,957 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.211.73.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-05-18 02:25:43,957 - DEBUG - ping -s 56 -c 3 -W 1 21.211.73.195 2026-05-18 02:25:47,702 - DEBUG - PING 21.211.73.195 (21.211.73.195): 56 data bytes 64 bytes from 21.211.73.195: seq=0 ttl=63 time=5.516 ms 64 bytes from 21.211.73.195: seq=1 ttl=63 time=0.874 ms 64 bytes from 21.211.73.195: seq=2 ttl=63 time=0.829 ms --- 21.211.73.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.829/2.406/5.516 ms 2026-05-18 02:25:47,702 - INFO - Ping to IP 21.211.73.195 from VM ctest-TestBasicPolicy-08868903-10530938 passed 2026-05-18 02:25:47,882 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d6c81856-1aa5-4933-9fe6-8f8899b66204", "href": "http://10.0.0.249:8082/network-policy/d6c81856-1aa5-4933-9fe6-8f8899b66204"}} 2026-05-18 02:25:47,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:25:47,882 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.211.73.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-05-18 02:25:47,882 - DEBUG - ping -s 56 -c 3 -W 1 21.211.73.195 2026-05-18 02:25:51,108 - DEBUG - PING 21.211.73.195 (21.211.73.195): 56 data bytes --- 21.211.73.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-18 02:25:51,109 - WARNING - Ping to IP 21.211.73.195 from VM ctest-TestBasicPolicy-08868903-10530938 failed 2026-05-18 02:25:51,109 - INFO - Deleting VM ctest-TestBasicPolicy-08868903-14169457 2026-05-18 02:25:51,188 - INFO - Deleting VM ctest-TestBasicPolicy-08868903-10530938 2026-05-18 02:25:51,647 - INFO - Deleted policy ctest-policy-allow-all-65337625 2026-05-18 02:25:51,647 - INFO - Deleting VN ctest-vn-23434124 2026-05-18 02:25:51,697 - DEBUG - VN cf5e7c9f-80f5-4843-8aa1-661c26cf426d still in use: Unable to complete operation on network cf5e7c9f-80f5-4843-8aa1-661c26cf426d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d6910586-2d53-4668-9d8a-374c7b389539'] 2026-05-18 02:25:51,698 - WARNING - Deleting VN ctest-vn-23434124 failed..Will retry 2026-05-18 02:25:53,790 - DEBUG - Response for deleting network () 2026-05-18 02:25:53,790 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2292386e-d053-43da-a64f-cf886e43cc4e 2026-05-18 02:25:53,797 - DEBUG - Response Code: 404 2026-05-18 02:25:53,797 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-05-18 02:25:53,802 - DEBUG - Requesting: http://10.0.0.249:8082/domain/fb18f509-312e-488c-a3b4-d50130bfdb3a 2026-05-18 02:25:53,855 - DEBUG - Requesting: http://10.0.0.249:8082/project/57a60171-bc6b-4977-bfaa-632da836f244 2026-05-18 02:25:53,924 - INFO - Validated that VN ctest-vn-23434124 is not found in API Server 2026-05-18 02:25:53,934 - DEBUG - VN ctest-vn-23434124 is not present in Agent 10.0.0.249 2026-05-18 02:25:53,934 - INFO - Validated that VN ctest-vn-23434124 is not in any agent 2026-05-18 02:25:53,947 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23434124 info 2026-05-18 02:25:53,947 - INFO - Deleting VN ctest-vn-88367155 2026-05-18 02:25:54,039 - DEBUG - Response for deleting network () 2026-05-18 02:25:54,039 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/16babbea-21bf-46bc-8a2a-5c4931a1d701 2026-05-18 02:25:54,044 - DEBUG - Response Code: 404 2026-05-18 02:25:54,044 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-05-18 02:25:54,049 - DEBUG - Requesting: http://10.0.0.249:8082/domain/fb18f509-312e-488c-a3b4-d50130bfdb3a 2026-05-18 02:25:54,103 - DEBUG - Requesting: http://10.0.0.249:8082/project/57a60171-bc6b-4977-bfaa-632da836f244 2026-05-18 02:25:54,174 - INFO - Validated that VN ctest-vn-88367155 is not found in API Server 2026-05-18 02:25:54,183 - DEBUG - VN ctest-vn-88367155 is not present in Agent 10.0.0.249 2026-05-18 02:25:54,183 - INFO - Validated that VN ctest-vn-88367155 is not in any agent 2026-05-18 02:25:54,197 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88367155 info 2026-05-18 02:25:54,465 - DEBUG - No XMPP flaps were noticed during the test
2026-05-18 02:25:54,465 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-05-18 02:25:54,465 - INFO - -------------------------------------------------------------------------------- 2026-05-18 02:25:55,177 - INFO - Deleted project: ctest-TestBasicPolicy-08868903, ID : 57a60171-bc6b-4977-bfaa-632da836f244