2026-02-02 02:08:01,412 - INFO - Domain Default found not creating 2026-02-02 02:08:01,624 - INFO - Project ctest-TestBasicPolicy-88897312 not found, creating it 2026-02-02 02:08:02,128 - INFO - Created Project:ctest-TestBasicPolicy-88897312, ID : 73cac90a-d973-4fe7-9d7c-54699ae5beae 2026-02-02 02:08:03,856 - INFO - ================================================================================ 2026-02-02 02:08:03,856 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-02 02:08:03,856 - 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-02 02:08:04,113 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2026-02-02 02:08:04,113 - INFO - Initial checks done. Running the testcase now 2026-02-02 02:08:04,114 - INFO - 2026-02-02 02:08:04,749 - DEBUG - Response for create_network : {'network': {'id': 'ef471929-2b22-4ded-89c8-c5c7bec96d80', 'name': 'ctest-vn-83935046', 'tenant_id': '73cac90ad9734fe79d7c54699ae5beae', 'project_id': '73cac90ad9734fe79d7c54699ae5beae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88897312', 'ctest-vn-83935046'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 02:08:04,942 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b789871d-a94b-4a0b-8ede-83c53e22c2e3', 'name': '', 'tenant_id': '73cac90ad9734fe79d7c54699ae5beae', 'network_id': 'ef471929-2b22-4ded-89c8-c5c7bec96d80', 'ip_version': 4, 'cidr': '199.141.79.64/26', 'allocation_pools': [{'start': '199.141.79.66', 'end': '199.141.79.126'}], 'gateway_ip': '199.141.79.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.141.79.66', 'tags': [], 'project_id': '73cac90ad9734fe79d7c54699ae5beae'}} 2026-02-02 02:08:04,962 - INFO - Created VN ctest-vn-83935046 2026-02-02 02:08:05,015 - DEBUG - VN ctest-vn-83935046 UUID is ef471929-2b22-4ded-89c8-c5c7bec96d80 2026-02-02 02:08:05,314 - DEBUG - Response for create_network : {'network': {'id': '2975fa1e-75ad-4405-bc9e-d02bfe921ec2', 'name': 'ctest-vn-34283213', 'tenant_id': '73cac90ad9734fe79d7c54699ae5beae', 'project_id': '73cac90ad9734fe79d7c54699ae5beae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88897312', 'ctest-vn-34283213'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 02:08:05,483 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ba81a23-2526-472b-835d-d9ee798a40c9', 'name': '', 'tenant_id': '73cac90ad9734fe79d7c54699ae5beae', 'network_id': '2975fa1e-75ad-4405-bc9e-d02bfe921ec2', 'ip_version': 4, 'cidr': '150.215.181.64/26', 'allocation_pools': [{'start': '150.215.181.66', 'end': '150.215.181.126'}], 'gateway_ip': '150.215.181.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.215.181.66', 'tags': [], 'project_id': '73cac90ad9734fe79d7c54699ae5beae'}} 2026-02-02 02:08:05,503 - INFO - Created VN ctest-vn-34283213 2026-02-02 02:08:05,555 - DEBUG - VN ctest-vn-34283213 UUID is 2975fa1e-75ad-4405-bc9e-d02bfe921ec2 2026-02-02 02:08:05,683 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88897312:ctest-vn-83935046, 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-88897312:ctest-vn-34283213, 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-02 02:08:05,996 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ef471929-2b22-4ded-89c8-c5c7bec96d80', 'name': 'ctest-vn-83935046', 'tenant_id': '73cac90ad9734fe79d7c54699ae5beae', 'project_id': '73cac90ad9734fe79d7c54699ae5beae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b789871d-a94b-4a0b-8ede-83c53e22c2e3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88897312', 'ctest-vn-83935046'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88897312', 'ctest-policy-allow-all-77987876']], 'subnet_ipam': [{'subnet_cidr': '199.141.79.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-02 02:08:06,257 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2975fa1e-75ad-4405-bc9e-d02bfe921ec2', 'name': 'ctest-vn-34283213', 'tenant_id': '73cac90ad9734fe79d7c54699ae5beae', 'project_id': '73cac90ad9734fe79d7c54699ae5beae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8ba81a23-2526-472b-835d-d9ee798a40c9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88897312', 'ctest-vn-34283213'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88897312', 'ctest-policy-allow-all-77987876']], 'subnet_ipam': [{'subnet_cidr': '150.215.181.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-02 02:08:06,433 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-02 02:08:06,782 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-02 02:08:06,818 - DEBUG - Requesting: http://10.0.0.19:8082/domain/2979d74a-67d6-41b8-91cd-9a21b0ad1540 2026-02-02 02:08:06,832 - DEBUG - Requesting: http://10.0.0.19:8082/project/73cac90a-d973-4fe7-9d7c-54699ae5beae 2026-02-02 02:08:06,908 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ef471929-2b22-4ded-89c8-c5c7bec96d80 2026-02-02 02:08:06,919 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ef471929-2b22-4ded-89c8-c5c7bec96d80 2026-02-02 02:08:06,930 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/c82b4d03-4ab1-4c42-bc6c-794824ac7aab 2026-02-02 02:08:06,937 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/c82b4d03-4ab1-4c42-bc6c-794824ac7aab 2026-02-02 02:08:06,944 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/3901f484-b3d8-449e-903d-6aa1e3426266 2026-02-02 02:08:06,951 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-02 02:08:06,951 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ef471929-2b22-4ded-89c8-c5c7bec96d80 2026-02-02 02:08:06,961 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/c82b4d03-4ab1-4c42-bc6c-794824ac7aab 2026-02-02 02:08:06,976 - INFO - Verified VN network id 11 for VN ef471929-2b22-4ded-89c8-c5c7bec96d80 2026-02-02 02:08:06,977 - INFO - Verifications in API Server for VN ctest-vn-83935046 passed 2026-02-02 02:08:06,977 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ef471929-2b22-4ded-89c8-c5c7bec96d80 2026-02-02 02:08:06,987 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/c82b4d03-4ab1-4c42-bc6c-794824ac7aab 2026-02-02 02:08:06,994 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/c82b4d03-4ab1-4c42-bc6c-794824ac7aab 2026-02-02 02:08:07,001 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/3901f484-b3d8-449e-903d-6aa1e3426266 2026-02-02 02:08:07,014 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88897312:ctest-vn-83935046', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88897312', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17241777363019255277', 'uuid-lslong': '9928402840228294016'}, 'enable': 'true', 'created': '2026-02-02T02:08:04', 'last-modified': '2026-02-02T02:08:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.040917'} 2026-02-02 02:08:07,020 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-02 02:08:07,021 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83935046 passed 2026-02-02 02:08:07,021 - DEBUG - ====Verifying policy data for ctest-vn-83935046 in API_Server ====== 2026-02-02 02:08:07,021 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-02 02:08:07,028 - DEBUG - Requesting: http://10.0.0.19:8082/domain/2979d74a-67d6-41b8-91cd-9a21b0ad1540 2026-02-02 02:08:07,040 - DEBUG - Requesting: http://10.0.0.19:8082/project/73cac90a-d973-4fe7-9d7c-54699ae5beae 2026-02-02 02:08:07,117 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ef471929-2b22-4ded-89c8-c5c7bec96d80 2026-02-02 02:08:07,127 - DEBUG - ==>Verifying data for policy with id: 80c47b4c-5699-41d2-9ef2-611c90e61c2e, fqn: ['default-domain', 'ctest-TestBasicPolicy-88897312', 'ctest-policy-allow-all-77987876'] 2026-02-02 02:08:07,127 - INFO - VN ctest-vn-83935046 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-02 02:08:07,127 - DEBUG - Verifying the vn in opserver 2026-02-02 02:08:07,127 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88897312:ctest-vn-83935046 virtual network link through opserver 10.0.0.19 2026-02-02 02:08:07,127 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-02 02:08:07,473 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-02 02:08:07,542 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88897312:ctest-vn-83935046', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88897312:ctest-vn-83935046?flat'} 2026-02-02 02:08:07,542 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88897312:ctest-vn-83935046 is found in opserver 2026-02-02 02:08:07,553 - DEBUG - Do not have enough data to verify VN in agent 2026-02-02 02:08:07,559 - DEBUG - VRF ids for VN ctest-vn-83935046: {} 2026-02-02 02:08:07,559 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-02 02:08:07,566 - DEBUG - Requesting: http://10.0.0.19:8082/domain/2979d74a-67d6-41b8-91cd-9a21b0ad1540 2026-02-02 02:08:07,579 - DEBUG - Requesting: http://10.0.0.19:8082/project/73cac90a-d973-4fe7-9d7c-54699ae5beae 2026-02-02 02:08:07,663 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/2975fa1e-75ad-4405-bc9e-d02bfe921ec2 2026-02-02 02:08:07,678 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/2975fa1e-75ad-4405-bc9e-d02bfe921ec2 2026-02-02 02:08:07,690 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5a6e7eec-e688-48b4-b3a8-c7deda3a9ed5 2026-02-02 02:08:07,698 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5a6e7eec-e688-48b4-b3a8-c7deda3a9ed5 2026-02-02 02:08:07,705 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/e9c400da-3531-4300-88bc-275ee5acacc5 2026-02-02 02:08:07,716 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-02 02:08:07,716 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/2975fa1e-75ad-4405-bc9e-d02bfe921ec2 2026-02-02 02:08:07,725 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5a6e7eec-e688-48b4-b3a8-c7deda3a9ed5 2026-02-02 02:08:07,743 - INFO - Verified VN network id 12 for VN 2975fa1e-75ad-4405-bc9e-d02bfe921ec2 2026-02-02 02:08:07,743 - INFO - Verifications in API Server for VN ctest-vn-34283213 passed 2026-02-02 02:08:07,744 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/2975fa1e-75ad-4405-bc9e-d02bfe921ec2 2026-02-02 02:08:07,753 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5a6e7eec-e688-48b4-b3a8-c7deda3a9ed5 2026-02-02 02:08:07,760 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5a6e7eec-e688-48b4-b3a8-c7deda3a9ed5 2026-02-02 02:08:07,767 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/e9c400da-3531-4300-88bc-275ee5acacc5 2026-02-02 02:08:07,780 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88897312:ctest-vn-34283213', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88897312', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2987568936560444421', 'uuid-lslong': '13591529612823895746'}, 'enable': 'true', 'created': '2026-02-02T02:08:05', 'last-modified': '2026-02-02T02:08:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.553850'} 2026-02-02 02:08:07,786 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-02 02:08:07,786 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34283213 passed 2026-02-02 02:08:07,787 - DEBUG - ====Verifying policy data for ctest-vn-34283213 in API_Server ====== 2026-02-02 02:08:07,787 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-02 02:08:07,792 - DEBUG - Requesting: http://10.0.0.19:8082/domain/2979d74a-67d6-41b8-91cd-9a21b0ad1540 2026-02-02 02:08:07,805 - DEBUG - Requesting: http://10.0.0.19:8082/project/73cac90a-d973-4fe7-9d7c-54699ae5beae 2026-02-02 02:08:07,878 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/2975fa1e-75ad-4405-bc9e-d02bfe921ec2 2026-02-02 02:08:07,887 - DEBUG - ==>Verifying data for policy with id: 80c47b4c-5699-41d2-9ef2-611c90e61c2e, fqn: ['default-domain', 'ctest-TestBasicPolicy-88897312', 'ctest-policy-allow-all-77987876'] 2026-02-02 02:08:07,887 - INFO - VN ctest-vn-34283213 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-02 02:08:07,888 - DEBUG - Verifying the vn in opserver 2026-02-02 02:08:07,888 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88897312:ctest-vn-34283213 virtual network link through opserver 10.0.0.19 2026-02-02 02:08:07,888 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-02 02:08:07,898 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88897312:ctest-vn-34283213', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88897312:ctest-vn-34283213?flat'} 2026-02-02 02:08:07,898 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88897312:ctest-vn-34283213 is found in opserver 2026-02-02 02:08:07,907 - DEBUG - Do not have enough data to verify VN in agent 2026-02-02 02:08:07,911 - DEBUG - VRF ids for VN ctest-vn-34283213: {} 2026-02-02 02:08:07,972 - DEBUG - Services list from nova: [, , ] 2026-02-02 02:08:09,118 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5166-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5166-1) 2026-02-02 02:08:10,512 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5166-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5166-1) 2026-02-02 02:08:10,513 - INFO - Waiting for VM ctest-TestBasicPolicy-88897312-70836798 to be up.. 2026-02-02 02:08:10,610 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-02 02:08:15,693 - DEBUG - VM is in ACTIVE state now 2026-02-02 02:08:15,693 - INFO - VM name : ctest-TestBasicPolicy-88897312-70836798 2026-02-02 02:08:15,774 - DEBUG - VM ctest-TestBasicPolicy-88897312-70836798 ID is e869826b-698d-4805-88db-d2fbc6e6b264 2026-02-02 02:08:15,797 - DEBUG - VM ctest-TestBasicPolicy-88897312-70836798 launched on Node cn-jenkins-deploy-platform-ansible-os-5166-1 2026-02-02 02:08:15,883 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/e869826b-698d-4805-88db-d2fbc6e6b264 2026-02-02 02:08:15,892 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/e8f697e3-d58c-479a-af6a-7173ffe776c6 2026-02-02 02:08:19,137 - 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 1002ms') 2026-02-02 02:08:19,137 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88897312-70836798 failed! 2026-02-02 02:08:19,195 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-88897312:ctest-vn-83935046 is 199.141.79.65 and allocation pool is NOT set 2026-02-02 02:08:21,257 - 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=10.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.94 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 = 2.940/6.593/10.246/3.653 ms') 2026-02-02 02:08:21,257 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88897312-70836798 passed 2026-02-02 02:08:21,407 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 02:08:21,407 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88897312-70836798, IP 199.141.79.67, Port 22 2026-02-02 02:08:21,562 - DEBUG - VM ctest-TestBasicPolicy-88897312-70836798 is ready for SSH connections 2026-02-02 02:08:21,562 - INFO - Waiting for VM ctest-TestBasicPolicy-88897312-26516662 to be up.. 2026-02-02 02:08:21,655 - DEBUG - VM is in ACTIVE state now 2026-02-02 02:08:21,655 - INFO - VM name : ctest-TestBasicPolicy-88897312-26516662 2026-02-02 02:08:21,768 - DEBUG - VM ctest-TestBasicPolicy-88897312-26516662 ID is 5ac2e6f9-9baa-40ff-b6d9-30faeedf5a5c 2026-02-02 02:08:21,768 - DEBUG - VM ctest-TestBasicPolicy-88897312-26516662 launched on Node cn-jenkins-deploy-platform-ansible-os-5166-1 2026-02-02 02:08:21,857 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/5ac2e6f9-9baa-40ff-b6d9-30faeedf5a5c 2026-02-02 02:08:21,866 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/626580ba-6fb3-4b51-9747-f468b875066f 2026-02-02 02:08:23,114 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.09 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 = 1.085/2.575/4.065/1.490 ms') 2026-02-02 02:08:23,114 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-88897312-26516662 passed 2026-02-02 02:08:23,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 02:08:23,267 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88897312-26516662, IP 150.215.181.67, Port 22 2026-02-02 02:08:23,433 - DEBUG - VM ctest-TestBasicPolicy-88897312-26516662 is ready for SSH connections 2026-02-02 02:08:23,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 02:08:23,433 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.215.181.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-02-02 02:08:23,433 - DEBUG - ping -s 56 -c 3 -W 1 150.215.181.67 2026-02-02 02:08:27,576 - DEBUG - PING 150.215.181.67 (150.215.181.67): 56 data bytes 64 bytes from 150.215.181.67: seq=0 ttl=63 time=4.951 ms 64 bytes from 150.215.181.67: seq=1 ttl=63 time=1.122 ms 64 bytes from 150.215.181.67: seq=2 ttl=63 time=0.859 ms --- 150.215.181.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.859/2.310/4.951 ms 2026-02-02 02:08:27,577 - INFO - Ping to IP 150.215.181.67 from VM ctest-TestBasicPolicy-88897312-70836798 passed 2026-02-02 02:08:27,759 - DEBUG - Policy Update Response {"network-policy": {"uuid": "80c47b4c-5699-41d2-9ef2-611c90e61c2e", "href": "http://10.0.0.19:8082/network-policy/80c47b4c-5699-41d2-9ef2-611c90e61c2e"}} 2026-02-02 02:08:27,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 02:08:27,759 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.215.181.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-02-02 02:08:27,759 - DEBUG - ping -s 56 -c 3 -W 1 150.215.181.67 2026-02-02 02:08:31,025 - DEBUG - PING 150.215.181.67 (150.215.181.67): 56 data bytes --- 150.215.181.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-02 02:08:31,026 - WARNING - Ping to IP 150.215.181.67 from VM ctest-TestBasicPolicy-88897312-70836798 failed 2026-02-02 02:08:31,026 - INFO - Deleting VM ctest-TestBasicPolicy-88897312-26516662 2026-02-02 02:08:31,112 - INFO - Deleting VM ctest-TestBasicPolicy-88897312-70836798 2026-02-02 02:08:31,558 - INFO - Deleted policy ctest-policy-allow-all-77987876 2026-02-02 02:08:31,559 - INFO - Deleting VN ctest-vn-34283213 2026-02-02 02:08:31,604 - DEBUG - VN 2975fa1e-75ad-4405-bc9e-d02bfe921ec2 still in use: Unable to complete operation on network 2975fa1e-75ad-4405-bc9e-d02bfe921ec2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ff6d948d-5a30-477f-8eab-e626de2e07e5'] 2026-02-02 02:08:31,604 - WARNING - Deleting VN ctest-vn-34283213 failed..Will retry 2026-02-02 02:08:33,717 - DEBUG - Response for deleting network () 2026-02-02 02:08:33,717 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5a6e7eec-e688-48b4-b3a8-c7deda3a9ed5 2026-02-02 02:08:33,724 - DEBUG - Response Code: 404 2026-02-02 02:08:33,724 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-02 02:08:33,730 - DEBUG - Requesting: http://10.0.0.19:8082/domain/2979d74a-67d6-41b8-91cd-9a21b0ad1540 2026-02-02 02:08:33,788 - DEBUG - Requesting: http://10.0.0.19:8082/project/73cac90a-d973-4fe7-9d7c-54699ae5beae 2026-02-02 02:08:33,865 - INFO - Validated that VN ctest-vn-34283213 is not found in API Server 2026-02-02 02:08:33,876 - DEBUG - VN ctest-vn-34283213 is not present in Agent 10.0.0.19 2026-02-02 02:08:33,876 - INFO - Validated that VN ctest-vn-34283213 is not in any agent 2026-02-02 02:08:33,892 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34283213 info 2026-02-02 02:08:33,892 - INFO - Deleting VN ctest-vn-83935046 2026-02-02 02:08:34,000 - DEBUG - Response for deleting network () 2026-02-02 02:08:34,000 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/c82b4d03-4ab1-4c42-bc6c-794824ac7aab 2026-02-02 02:08:34,007 - DEBUG - Response Code: 404 2026-02-02 02:08:34,007 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-02 02:08:34,012 - DEBUG - Requesting: http://10.0.0.19:8082/domain/2979d74a-67d6-41b8-91cd-9a21b0ad1540 2026-02-02 02:08:34,068 - DEBUG - Requesting: http://10.0.0.19:8082/project/73cac90a-d973-4fe7-9d7c-54699ae5beae 2026-02-02 02:08:34,141 - INFO - Validated that VN ctest-vn-83935046 is not found in API Server 2026-02-02 02:08:34,150 - DEBUG - VN ctest-vn-83935046 is not present in Agent 10.0.0.19 2026-02-02 02:08:34,150 - INFO - Validated that VN ctest-vn-83935046 is not in any agent 2026-02-02 02:08:34,166 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83935046 info 2026-02-02 02:08:34,420 - DEBUG - No XMPP flaps were noticed during the test 2026-02-02 02:08:34,420 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2026-02-02 02:08:34,420 - INFO - -------------------------------------------------------------------------------- 2026-02-02 02:08:35,158 - INFO - Deleted project: ctest-TestBasicPolicy-88897312, ID : 73cac90a-d973-4fe7-9d7c-54699ae5beae