2026-02-04 21:40:44,418 - INFO - Domain Default found not creating 2026-02-04 21:40:44,591 - INFO - Project ctest-TestBasicPolicy-12505686 not found, creating it 2026-02-04 21:40:45,051 - INFO - Created Project:ctest-TestBasicPolicy-12505686, ID : 190cad8b-6823-4888-9bf2-203db06cf42c 2026-02-04 21:40:46,521 - INFO - ================================================================================ 2026-02-04 21:40:46,521 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-04 21:40:46,521 - 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-02-04 21:40:46,783 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-04 21:40:46,783 - INFO - Initial checks done. Running the testcase now 2026-02-04 21:40:46,784 - INFO - 2026-02-04 21:40:47,338 - DEBUG - Response for create_network : {'network': {'id': 'ac7e7729-62d0-4d35-8ef5-ff463746b57c', 'name': 'ctest-vn-07318518', 'tenant_id': '190cad8b682348889bf2203db06cf42c', 'project_id': '190cad8b682348889bf2203db06cf42c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12505686', 'ctest-vn-07318518'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 21:40:47,478 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0d00c98-5698-4093-829e-1f109b6fc9b7', 'name': '', 'tenant_id': '190cad8b682348889bf2203db06cf42c', 'network_id': 'ac7e7729-62d0-4d35-8ef5-ff463746b57c', 'ip_version': 4, 'cidr': '187.141.192.64/26', 'allocation_pools': [{'start': '187.141.192.66', 'end': '187.141.192.126'}], 'gateway_ip': '187.141.192.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.141.192.66', 'tags': [], 'project_id': '190cad8b682348889bf2203db06cf42c'}} 2026-02-04 21:40:47,493 - INFO - Created VN ctest-vn-07318518 2026-02-04 21:40:47,546 - DEBUG - VN ctest-vn-07318518 UUID is ac7e7729-62d0-4d35-8ef5-ff463746b57c 2026-02-04 21:40:47,813 - DEBUG - Response for create_network : {'network': {'id': 'bea2e418-58e0-4d4e-9a81-146a5c1f8b6c', 'name': 'ctest-vn-30286728', 'tenant_id': '190cad8b682348889bf2203db06cf42c', 'project_id': '190cad8b682348889bf2203db06cf42c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12505686', 'ctest-vn-30286728'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 21:40:48,004 - DEBUG - Response for create_subnet : {'subnet': {'id': '939d9503-456e-4e5e-8497-534dc2aa363b', 'name': '', 'tenant_id': '190cad8b682348889bf2203db06cf42c', 'network_id': 'bea2e418-58e0-4d4e-9a81-146a5c1f8b6c', 'ip_version': 4, 'cidr': '133.95.220.64/26', 'allocation_pools': [{'start': '133.95.220.66', 'end': '133.95.220.126'}], 'gateway_ip': '133.95.220.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.95.220.66', 'tags': [], 'project_id': '190cad8b682348889bf2203db06cf42c'}} 2026-02-04 21:40:48,021 - INFO - Created VN ctest-vn-30286728 2026-02-04 21:40:48,074 - DEBUG - VN ctest-vn-30286728 UUID is bea2e418-58e0-4d4e-9a81-146a5c1f8b6c 2026-02-04 21:40:48,195 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-12505686:ctest-vn-07318518, 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-12505686:ctest-vn-30286728, 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-02-04 21:40:48,491 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ac7e7729-62d0-4d35-8ef5-ff463746b57c', 'name': 'ctest-vn-07318518', 'tenant_id': '190cad8b682348889bf2203db06cf42c', 'project_id': '190cad8b682348889bf2203db06cf42c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d0d00c98-5698-4093-829e-1f109b6fc9b7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12505686', 'ctest-vn-07318518'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12505686', 'ctest-policy-allow-all-54095939']], 'subnet_ipam': [{'subnet_cidr': '187.141.192.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-04 21:40:48,721 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bea2e418-58e0-4d4e-9a81-146a5c1f8b6c', 'name': 'ctest-vn-30286728', 'tenant_id': '190cad8b682348889bf2203db06cf42c', 'project_id': '190cad8b682348889bf2203db06cf42c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['939d9503-456e-4e5e-8497-534dc2aa363b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12505686', 'ctest-vn-30286728'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12505686', 'ctest-policy-allow-all-54095939']], 'subnet_ipam': [{'subnet_cidr': '133.95.220.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-04 21:40:48,870 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-04 21:40:49,176 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-04 21:40:49,209 - DEBUG - Requesting: http://10.0.0.50:8082/domain/010506cc-b7cf-4ee8-b41e-b3fdd3161dd8 2026-02-04 21:40:49,221 - DEBUG - Requesting: http://10.0.0.50:8082/project/190cad8b-6823-4888-9bf2-203db06cf42c 2026-02-04 21:40:49,295 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ac7e7729-62d0-4d35-8ef5-ff463746b57c 2026-02-04 21:40:49,304 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ac7e7729-62d0-4d35-8ef5-ff463746b57c 2026-02-04 21:40:49,312 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0f71fe93-6343-44d2-970a-bb0525738caf 2026-02-04 21:40:49,318 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0f71fe93-6343-44d2-970a-bb0525738caf 2026-02-04 21:40:49,323 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4b8fd5f6-aef7-478c-9f08-4c8cad862f21 2026-02-04 21:40:49,329 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-04 21:40:49,329 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ac7e7729-62d0-4d35-8ef5-ff463746b57c 2026-02-04 21:40:49,336 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0f71fe93-6343-44d2-970a-bb0525738caf 2026-02-04 21:40:49,347 - INFO - Verified VN network id 11 for VN ac7e7729-62d0-4d35-8ef5-ff463746b57c 2026-02-04 21:40:49,347 - INFO - Verifications in API Server for VN ctest-vn-07318518 passed 2026-02-04 21:40:49,348 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ac7e7729-62d0-4d35-8ef5-ff463746b57c 2026-02-04 21:40:49,355 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0f71fe93-6343-44d2-970a-bb0525738caf 2026-02-04 21:40:49,360 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0f71fe93-6343-44d2-970a-bb0525738caf 2026-02-04 21:40:49,365 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4b8fd5f6-aef7-478c-9f08-4c8cad862f21 2026-02-04 21:40:49,375 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12505686:ctest-vn-07318518', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12505686', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12429503041224330549', 'uuid-lslong': '10301420399720052092'}, 'enable': 'true', 'created': '2026-02-04T21:40:47', 'last-modified': '2026-02-04T21:40:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.907751'} 2026-02-04 21:40:49,380 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-04 21:40:49,380 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07318518 passed 2026-02-04 21:40:49,380 - DEBUG - ====Verifying policy data for ctest-vn-07318518 in API_Server ====== 2026-02-04 21:40:49,380 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-04 21:40:49,385 - DEBUG - Requesting: http://10.0.0.50:8082/domain/010506cc-b7cf-4ee8-b41e-b3fdd3161dd8 2026-02-04 21:40:49,394 - DEBUG - Requesting: http://10.0.0.50:8082/project/190cad8b-6823-4888-9bf2-203db06cf42c 2026-02-04 21:40:49,462 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ac7e7729-62d0-4d35-8ef5-ff463746b57c 2026-02-04 21:40:49,470 - DEBUG - ==>Verifying data for policy with id: 9d683467-d449-42c8-84a8-a0770a00996b, fqn: ['default-domain', 'ctest-TestBasicPolicy-12505686', 'ctest-policy-allow-all-54095939'] 2026-02-04 21:40:49,470 - INFO - VN ctest-vn-07318518 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-04 21:40:49,470 - DEBUG - Verifying the vn in opserver 2026-02-04 21:40:49,471 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12505686:ctest-vn-07318518 virtual network link through opserver 10.0.0.50 2026-02-04 21:40:49,471 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-04 21:40:49,764 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-04 21:40:49,825 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12505686:ctest-vn-07318518', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12505686:ctest-vn-07318518?flat'} 2026-02-04 21:40:49,825 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12505686:ctest-vn-07318518 is found in opserver 2026-02-04 21:40:49,834 - DEBUG - Do not have enough data to verify VN in agent 2026-02-04 21:40:49,838 - DEBUG - VRF ids for VN ctest-vn-07318518: {} 2026-02-04 21:40:49,838 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-04 21:40:49,843 - DEBUG - Requesting: http://10.0.0.50:8082/domain/010506cc-b7cf-4ee8-b41e-b3fdd3161dd8 2026-02-04 21:40:49,853 - DEBUG - Requesting: http://10.0.0.50:8082/project/190cad8b-6823-4888-9bf2-203db06cf42c 2026-02-04 21:40:49,928 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bea2e418-58e0-4d4e-9a81-146a5c1f8b6c 2026-02-04 21:40:49,939 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bea2e418-58e0-4d4e-9a81-146a5c1f8b6c 2026-02-04 21:40:49,947 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1e02dc55-588e-4f0d-94be-90856e12ba20 2026-02-04 21:40:49,953 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1e02dc55-588e-4f0d-94be-90856e12ba20 2026-02-04 21:40:49,960 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a314a970-7be9-4cb9-90c8-dd32acd696ed 2026-02-04 21:40:49,966 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-04 21:40:49,966 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bea2e418-58e0-4d4e-9a81-146a5c1f8b6c 2026-02-04 21:40:49,973 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1e02dc55-588e-4f0d-94be-90856e12ba20 2026-02-04 21:40:49,984 - INFO - Verified VN network id 12 for VN bea2e418-58e0-4d4e-9a81-146a5c1f8b6c 2026-02-04 21:40:49,984 - INFO - Verifications in API Server for VN ctest-vn-30286728 passed 2026-02-04 21:40:49,984 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bea2e418-58e0-4d4e-9a81-146a5c1f8b6c 2026-02-04 21:40:49,992 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1e02dc55-588e-4f0d-94be-90856e12ba20 2026-02-04 21:40:49,998 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1e02dc55-588e-4f0d-94be-90856e12ba20 2026-02-04 21:40:50,003 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a314a970-7be9-4cb9-90c8-dd32acd696ed 2026-02-04 21:40:50,014 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12505686:ctest-vn-30286728', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12505686', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13736792606654877006', 'uuid-lslong': '11133202200881236844'}, 'enable': 'true', 'created': '2026-02-04T21:40:47', 'last-modified': '2026-02-04T21:40:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.315860'} 2026-02-04 21:40:50,019 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-04 21:40:50,019 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30286728 passed 2026-02-04 21:40:50,019 - DEBUG - ====Verifying policy data for ctest-vn-30286728 in API_Server ====== 2026-02-04 21:40:50,019 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-04 21:40:50,025 - DEBUG - Requesting: http://10.0.0.50:8082/domain/010506cc-b7cf-4ee8-b41e-b3fdd3161dd8 2026-02-04 21:40:50,035 - DEBUG - Requesting: http://10.0.0.50:8082/project/190cad8b-6823-4888-9bf2-203db06cf42c 2026-02-04 21:40:50,105 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bea2e418-58e0-4d4e-9a81-146a5c1f8b6c 2026-02-04 21:40:50,114 - DEBUG - ==>Verifying data for policy with id: 9d683467-d449-42c8-84a8-a0770a00996b, fqn: ['default-domain', 'ctest-TestBasicPolicy-12505686', 'ctest-policy-allow-all-54095939'] 2026-02-04 21:40:50,114 - INFO - VN ctest-vn-30286728 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-04 21:40:50,114 - DEBUG - Verifying the vn in opserver 2026-02-04 21:40:50,114 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12505686:ctest-vn-30286728 virtual network link through opserver 10.0.0.50 2026-02-04 21:40:50,114 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-04 21:40:50,123 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12505686:ctest-vn-30286728', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12505686:ctest-vn-30286728?flat'} 2026-02-04 21:40:50,123 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12505686:ctest-vn-30286728 is found in opserver 2026-02-04 21:40:50,132 - DEBUG - Do not have enough data to verify VN in agent 2026-02-04 21:40:50,135 - DEBUG - VRF ids for VN ctest-vn-30286728: {} 2026-02-04 21:40:50,195 - DEBUG - Services list from nova: [, , ] 2026-02-04 21:40:51,202 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5210-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5210-1) 2026-02-04 21:40:52,375 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5210-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5210-1) 2026-02-04 21:40:52,376 - INFO - Waiting for VM ctest-TestBasicPolicy-12505686-64443686 to be up.. 2026-02-04 21:40:52,467 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-04 21:40:57,542 - DEBUG - VM is in ACTIVE state now 2026-02-04 21:40:57,542 - INFO - VM name : ctest-TestBasicPolicy-12505686-64443686 2026-02-04 21:40:57,616 - DEBUG - VM ctest-TestBasicPolicy-12505686-64443686 ID is 7c9e7a40-dcb2-4648-995b-4282ad22eea1 2026-02-04 21:40:57,634 - DEBUG - VM ctest-TestBasicPolicy-12505686-64443686 launched on Node cn-jenkins-deploy-platform-ansible-os-5210-1 2026-02-04 21:40:57,706 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7c9e7a40-dcb2-4648-995b-4282ad22eea1 2026-02-04 21:40:57,716 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/bbceb0cc-281f-492a-9d63-800ec5a8c39a 2026-02-04 21:41:00,924 - 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 1018ms') 2026-02-04 21:41:00,924 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-12505686-64443686 failed! 2026-02-04 21:41:00,982 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-12505686:ctest-vn-07318518 is 187.141.192.65 and allocation pool is NOT set 2026-02-04 21:41:03,048 - 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.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.846 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 = 0.846/2.203/3.560/1.357 ms') 2026-02-04 21:41:03,048 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-12505686-64443686 passed 2026-02-04 21:41:03,194 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 21:41:03,194 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12505686-64443686, IP 187.141.192.67, Port 22 2026-02-04 21:41:03,350 - DEBUG - VM ctest-TestBasicPolicy-12505686-64443686 is ready for SSH connections 2026-02-04 21:41:03,350 - INFO - Waiting for VM ctest-TestBasicPolicy-12505686-38662563 to be up.. 2026-02-04 21:41:03,431 - DEBUG - VM is in ACTIVE state now 2026-02-04 21:41:03,431 - INFO - VM name : ctest-TestBasicPolicy-12505686-38662563 2026-02-04 21:41:03,510 - DEBUG - VM ctest-TestBasicPolicy-12505686-38662563 ID is c019709d-c904-4a2f-adb8-0d36a54dfa25 2026-02-04 21:41:03,510 - DEBUG - VM ctest-TestBasicPolicy-12505686-38662563 launched on Node cn-jenkins-deploy-platform-ansible-os-5210-1 2026-02-04 21:41:03,587 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c019709d-c904-4a2f-adb8-0d36a54dfa25 2026-02-04 21:41:03,596 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9dfa0bfc-ffb0-40ac-8ebd-95624d85d92e 2026-02-04 21:41:04,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=3.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.642 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.642/2.191/3.740/1.549 ms') 2026-02-04 21:41:04,831 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-12505686-38662563 passed 2026-02-04 21:41:04,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 21:41:04,978 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12505686-38662563, IP 133.95.220.67, Port 22 2026-02-04 21:41:05,133 - DEBUG - VM ctest-TestBasicPolicy-12505686-38662563 is ready for SSH connections 2026-02-04 21:41:05,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 21:41:05,134 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.95.220.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-04 21:41:05,134 - DEBUG - ping -s 56 -c 3 -W 1 133.95.220.67 2026-02-04 21:41:09,139 - DEBUG - PING 133.95.220.67 (133.95.220.67): 56 data bytes 64 bytes from 133.95.220.67: seq=0 ttl=63 time=3.771 ms 64 bytes from 133.95.220.67: seq=1 ttl=63 time=1.056 ms 64 bytes from 133.95.220.67: seq=2 ttl=63 time=0.894 ms --- 133.95.220.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.894/1.907/3.771 ms 2026-02-04 21:41:09,139 - INFO - Ping to IP 133.95.220.67 from VM ctest-TestBasicPolicy-12505686-64443686 passed 2026-02-04 21:41:09,318 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9d683467-d449-42c8-84a8-a0770a00996b", "href": "http://10.0.0.50:8082/network-policy/9d683467-d449-42c8-84a8-a0770a00996b"}} 2026-02-04 21:41:09,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 21:41:09,318 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.95.220.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-04 21:41:09,318 - DEBUG - ping -s 56 -c 3 -W 1 133.95.220.67 2026-02-04 21:41:12,526 - DEBUG - PING 133.95.220.67 (133.95.220.67): 56 data bytes --- 133.95.220.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-04 21:41:12,526 - WARNING - Ping to IP 133.95.220.67 from VM ctest-TestBasicPolicy-12505686-64443686 failed 2026-02-04 21:41:12,527 - INFO - Deleting VM ctest-TestBasicPolicy-12505686-38662563 2026-02-04 21:41:12,600 - INFO - Deleting VM ctest-TestBasicPolicy-12505686-64443686 2026-02-04 21:41:12,949 - INFO - Deleted policy ctest-policy-allow-all-54095939 2026-02-04 21:41:12,949 - INFO - Deleting VN ctest-vn-30286728 2026-02-04 21:41:12,989 - DEBUG - VN bea2e418-58e0-4d4e-9a81-146a5c1f8b6c still in use: Unable to complete operation on network bea2e418-58e0-4d4e-9a81-146a5c1f8b6c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6e809d7c-a792-4e1b-8ce9-bd4ffb4a67cc'] 2026-02-04 21:41:12,989 - WARNING - Deleting VN ctest-vn-30286728 failed..Will retry 2026-02-04 21:41:15,093 - DEBUG - Response for deleting network () 2026-02-04 21:41:15,093 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1e02dc55-588e-4f0d-94be-90856e12ba20 2026-02-04 21:41:15,100 - DEBUG - Response Code: 404 2026-02-04 21:41:15,100 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-04 21:41:15,104 - DEBUG - Requesting: http://10.0.0.50:8082/domain/010506cc-b7cf-4ee8-b41e-b3fdd3161dd8 2026-02-04 21:41:15,155 - DEBUG - Requesting: http://10.0.0.50:8082/project/190cad8b-6823-4888-9bf2-203db06cf42c 2026-02-04 21:41:15,226 - INFO - Validated that VN ctest-vn-30286728 is not found in API Server 2026-02-04 21:41:15,235 - DEBUG - VN ctest-vn-30286728 is not present in Agent 10.0.0.50 2026-02-04 21:41:15,235 - INFO - Validated that VN ctest-vn-30286728 is not in any agent 2026-02-04 21:41:15,249 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30286728 info 2026-02-04 21:41:15,249 - INFO - Deleting VN ctest-vn-07318518 2026-02-04 21:41:15,347 - DEBUG - Response for deleting network () 2026-02-04 21:41:15,347 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0f71fe93-6343-44d2-970a-bb0525738caf 2026-02-04 21:41:15,357 - DEBUG - Response Code: 404 2026-02-04 21:41:15,357 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-04 21:41:15,361 - DEBUG - Requesting: http://10.0.0.50:8082/domain/010506cc-b7cf-4ee8-b41e-b3fdd3161dd8 2026-02-04 21:41:15,414 - DEBUG - Requesting: http://10.0.0.50:8082/project/190cad8b-6823-4888-9bf2-203db06cf42c 2026-02-04 21:41:15,482 - INFO - Validated that VN ctest-vn-07318518 is not found in API Server 2026-02-04 21:41:15,491 - DEBUG - VN ctest-vn-07318518 is not present in Agent 10.0.0.50 2026-02-04 21:41:15,491 - INFO - Validated that VN ctest-vn-07318518 is not in any agent 2026-02-04 21:41:15,503 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07318518 info 2026-02-04 21:41:15,759 - DEBUG - No XMPP flaps were noticed during the test
2026-02-04 21:41:15,759 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-02-04 21:41:15,759 - INFO - -------------------------------------------------------------------------------- 2026-02-04 21:41:16,462 - INFO - Deleted project: ctest-TestBasicPolicy-12505686, ID : 190cad8b-6823-4888-9bf2-203db06cf42c