2026-09-17 09:03:22,623 - INFO - Domain Default found not creating 2026-09-17 09:03:22,824 - INFO - Project ctest-TestBasicPolicy-48774387 not found, creating it 2026-09-17 09:03:23,363 - INFO - Created Project:ctest-TestBasicPolicy-48774387, ID : 58ba33fb-e031-48b0-9eb5-24a5aada3b48 2026-09-17 09:03:24,947 - INFO - ================================================================================ 2026-09-17 09:03:24,947 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-17 09:03:24,948 - 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-09-17 09:03:25,218 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.25': '0'}} with 2026-09-17 09:03:25,218 - INFO - Initial checks done. Running the testcase now 2026-09-17 09:03:25,218 - INFO - 2026-09-17 09:03:25,857 - DEBUG - Response for create_network : {'network': {'id': '427d982d-efb5-4c69-995a-8204e42f755d', 'name': 'ctest-vn-28282910', 'tenant_id': '58ba33fbe03148b09eb524a5aada3b48', 'project_id': '58ba33fbe03148b09eb524a5aada3b48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48774387', 'ctest-vn-28282910'], 'port_security_enabled': True, 'description': ''}} 2026-09-17 09:03:26,112 - DEBUG - Response for create_subnet : {'subnet': {'id': '60621973-9292-452e-8852-bcc3f15c715e', 'name': '', 'tenant_id': '58ba33fbe03148b09eb524a5aada3b48', 'network_id': '427d982d-efb5-4c69-995a-8204e42f755d', 'ip_version': 4, 'cidr': '193.23.142.128/26', 'allocation_pools': [{'start': '193.23.142.130', 'end': '193.23.142.190'}], 'gateway_ip': '193.23.142.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.23.142.130', 'tags': [], 'project_id': '58ba33fbe03148b09eb524a5aada3b48'}} 2026-09-17 09:03:26,134 - INFO - Created VN ctest-vn-28282910 2026-09-17 09:03:26,190 - DEBUG - VN ctest-vn-28282910 UUID is 427d982d-efb5-4c69-995a-8204e42f755d 2026-09-17 09:03:26,552 - DEBUG - Response for create_network : {'network': {'id': '34eb26f3-610b-4074-9db5-6212da6cf590', 'name': 'ctest-vn-24769841', 'tenant_id': '58ba33fbe03148b09eb524a5aada3b48', 'project_id': '58ba33fbe03148b09eb524a5aada3b48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48774387', 'ctest-vn-24769841'], 'port_security_enabled': True, 'description': ''}} 2026-09-17 09:03:26,772 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bdd404d4-dadc-40f7-9778-fcdc3773fda1', 'name': '', 'tenant_id': '58ba33fbe03148b09eb524a5aada3b48', 'network_id': '34eb26f3-610b-4074-9db5-6212da6cf590', 'ip_version': 4, 'cidr': '33.247.22.128/26', 'allocation_pools': [{'start': '33.247.22.130', 'end': '33.247.22.190'}], 'gateway_ip': '33.247.22.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.247.22.130', 'tags': [], 'project_id': '58ba33fbe03148b09eb524a5aada3b48'}} 2026-09-17 09:03:26,792 - INFO - Created VN ctest-vn-24769841 2026-09-17 09:03:26,850 - DEBUG - VN ctest-vn-24769841 UUID is 34eb26f3-610b-4074-9db5-6212da6cf590 2026-09-17 09:03:27,006 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48774387:ctest-vn-28282910, 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-48774387:ctest-vn-24769841, 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-09-17 09:03:27,349 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '427d982d-efb5-4c69-995a-8204e42f755d', 'name': 'ctest-vn-28282910', 'tenant_id': '58ba33fbe03148b09eb524a5aada3b48', 'project_id': '58ba33fbe03148b09eb524a5aada3b48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['60621973-9292-452e-8852-bcc3f15c715e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48774387', 'ctest-vn-28282910'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48774387', 'ctest-policy-allow-all-71608431']], 'subnet_ipam': [{'subnet_cidr': '193.23.142.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-17 09:03:27,602 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '34eb26f3-610b-4074-9db5-6212da6cf590', 'name': 'ctest-vn-24769841', 'tenant_id': '58ba33fbe03148b09eb524a5aada3b48', 'project_id': '58ba33fbe03148b09eb524a5aada3b48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['bdd404d4-dadc-40f7-9778-fcdc3773fda1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48774387', 'ctest-vn-24769841'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48774387', 'ctest-policy-allow-all-71608431']], 'subnet_ipam': [{'subnet_cidr': '33.247.22.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-17 09:03:27,762 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-09-17 09:03:28,098 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-09-17 09:03:28,135 - DEBUG - Requesting: http://10.0.0.190:8082/domain/c0139787-77d8-43e2-a7cd-3416226bccb5 2026-09-17 09:03:28,153 - DEBUG - Requesting: http://10.0.0.190:8082/project/58ba33fb-e031-48b0-9eb5-24a5aada3b48 2026-09-17 09:03:28,279 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/427d982d-efb5-4c69-995a-8204e42f755d 2026-09-17 09:03:28,294 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/427d982d-efb5-4c69-995a-8204e42f755d 2026-09-17 09:03:28,308 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/c89254a5-9d62-4f73-88b1-1a5ed2da8b36 2026-09-17 09:03:28,319 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/c89254a5-9d62-4f73-88b1-1a5ed2da8b36 2026-09-17 09:03:28,330 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/bf430530-6b24-437b-a76e-26d872e73111 2026-09-17 09:03:28,340 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-17 09:03:28,340 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/427d982d-efb5-4c69-995a-8204e42f755d 2026-09-17 09:03:28,352 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/c89254a5-9d62-4f73-88b1-1a5ed2da8b36 2026-09-17 09:03:28,368 - INFO - Verified VN network id 12 for VN 427d982d-efb5-4c69-995a-8204e42f755d 2026-09-17 09:03:28,368 - INFO - Verifications in API Server for VN ctest-vn-28282910 passed 2026-09-17 09:03:28,368 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/427d982d-efb5-4c69-995a-8204e42f755d 2026-09-17 09:03:28,378 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/c89254a5-9d62-4f73-88b1-1a5ed2da8b36 2026-09-17 09:03:28,386 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/c89254a5-9d62-4f73-88b1-1a5ed2da8b36 2026-09-17 09:03:28,395 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/bf430530-6b24-437b-a76e-26d872e73111 2026-09-17 09:03:28,411 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48774387:ctest-vn-28282910', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48774387', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4791152901654662249', 'uuid-lslong': '11050287593226728797'}, 'enable': 'true', 'created': '2026-09-17T09:03:25', 'last-modified': '2026-09-17T09:03:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.094618'} 2026-09-17 09:03:28,420 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-17 09:03:28,420 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28282910 passed 2026-09-17 09:03:28,420 - DEBUG - ====Verifying policy data for ctest-vn-28282910 in API_Server ====== 2026-09-17 09:03:28,420 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-09-17 09:03:28,428 - DEBUG - Requesting: http://10.0.0.190:8082/domain/c0139787-77d8-43e2-a7cd-3416226bccb5 2026-09-17 09:03:28,442 - DEBUG - Requesting: http://10.0.0.190:8082/project/58ba33fb-e031-48b0-9eb5-24a5aada3b48 2026-09-17 09:03:28,530 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/427d982d-efb5-4c69-995a-8204e42f755d 2026-09-17 09:03:28,542 - DEBUG - ==>Verifying data for policy with id: f10bbbb2-2167-4912-9bf0-08014e183cac, fqn: ['default-domain', 'ctest-TestBasicPolicy-48774387', 'ctest-policy-allow-all-71608431'] 2026-09-17 09:03:28,542 - INFO - VN ctest-vn-28282910 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-17 09:03:28,542 - DEBUG - Verifying the vn in opserver 2026-09-17 09:03:28,542 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48774387:ctest-vn-28282910 virtual network link through opserver 10.0.0.190 2026-09-17 09:03:28,542 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-09-17 09:03:28,877 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-09-17 09:03:28,943 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48774387:ctest-vn-28282910', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48774387:ctest-vn-28282910?flat'} 2026-09-17 09:03:28,943 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48774387:ctest-vn-28282910 is found in opserver 2026-09-17 09:03:28,956 - DEBUG - Do not have enough data to verify VN in agent 2026-09-17 09:03:28,962 - DEBUG - VRF ids for VN ctest-vn-28282910: {} 2026-09-17 09:03:28,962 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-09-17 09:03:28,970 - DEBUG - Requesting: http://10.0.0.190:8082/domain/c0139787-77d8-43e2-a7cd-3416226bccb5 2026-09-17 09:03:28,987 - DEBUG - Requesting: http://10.0.0.190:8082/project/58ba33fb-e031-48b0-9eb5-24a5aada3b48 2026-09-17 09:03:29,078 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/34eb26f3-610b-4074-9db5-6212da6cf590 2026-09-17 09:03:29,093 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/34eb26f3-610b-4074-9db5-6212da6cf590 2026-09-17 09:03:29,105 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/6ddc2fe6-3802-4b98-bc03-24eea9292f84 2026-09-17 09:03:29,116 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/6ddc2fe6-3802-4b98-bc03-24eea9292f84 2026-09-17 09:03:29,124 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/c54bf8e1-ebc0-4a6b-8429-56031213f877 2026-09-17 09:03:29,132 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-17 09:03:29,132 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/34eb26f3-610b-4074-9db5-6212da6cf590 2026-09-17 09:03:29,143 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/6ddc2fe6-3802-4b98-bc03-24eea9292f84 2026-09-17 09:03:29,162 - INFO - Verified VN network id 13 for VN 34eb26f3-610b-4074-9db5-6212da6cf590 2026-09-17 09:03:29,163 - INFO - Verifications in API Server for VN ctest-vn-24769841 passed 2026-09-17 09:03:29,163 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/34eb26f3-610b-4074-9db5-6212da6cf590 2026-09-17 09:03:29,174 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/6ddc2fe6-3802-4b98-bc03-24eea9292f84 2026-09-17 09:03:29,183 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/6ddc2fe6-3802-4b98-bc03-24eea9292f84 2026-09-17 09:03:29,193 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/c54bf8e1-ebc0-4a6b-8429-56031213f877 2026-09-17 09:03:29,212 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48774387:ctest-vn-24769841', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48774387', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3813184336246292596', 'uuid-lslong': '11364097067852821904'}, 'enable': 'true', 'created': '2026-09-17T09:03:26', 'last-modified': '2026-09-17T09:03:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.649089'} 2026-09-17 09:03:29,222 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-17 09:03:29,222 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24769841 passed 2026-09-17 09:03:29,222 - DEBUG - ====Verifying policy data for ctest-vn-24769841 in API_Server ====== 2026-09-17 09:03:29,222 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-09-17 09:03:29,231 - DEBUG - Requesting: http://10.0.0.190:8082/domain/c0139787-77d8-43e2-a7cd-3416226bccb5 2026-09-17 09:03:29,248 - DEBUG - Requesting: http://10.0.0.190:8082/project/58ba33fb-e031-48b0-9eb5-24a5aada3b48 2026-09-17 09:03:29,443 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/34eb26f3-610b-4074-9db5-6212da6cf590 2026-09-17 09:03:29,457 - DEBUG - ==>Verifying data for policy with id: f10bbbb2-2167-4912-9bf0-08014e183cac, fqn: ['default-domain', 'ctest-TestBasicPolicy-48774387', 'ctest-policy-allow-all-71608431'] 2026-09-17 09:03:29,457 - INFO - VN ctest-vn-24769841 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-17 09:03:29,457 - DEBUG - Verifying the vn in opserver 2026-09-17 09:03:29,457 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48774387:ctest-vn-24769841 virtual network link through opserver 10.0.0.190 2026-09-17 09:03:29,457 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-09-17 09:03:29,470 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48774387:ctest-vn-24769841', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48774387:ctest-vn-24769841?flat'} 2026-09-17 09:03:29,470 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48774387:ctest-vn-24769841 is found in opserver 2026-09-17 09:03:29,483 - DEBUG - Do not have enough data to verify VN in agent 2026-09-17 09:03:29,487 - DEBUG - VRF ids for VN ctest-vn-24769841: {} 2026-09-17 09:03:29,545 - DEBUG - Services list from nova: [, , ] 2026-09-17 09:03:30,047 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6297-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6297-1) 2026-09-17 09:03:30,458 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6297-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6297-1) 2026-09-17 09:03:30,459 - INFO - Waiting for VM ctest-TestBasicPolicy-48774387-44364991 to be up.. 2026-09-17 09:03:30,513 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 09:03:35,595 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 09:03:40,675 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 09:03:45,778 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 09:03:50,882 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 09:03:56,005 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 09:04:01,110 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 09:04:06,202 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 09:04:11,303 - DEBUG - VM is in ACTIVE state now 2026-09-17 09:04:11,305 - INFO - VM name : ctest-TestBasicPolicy-48774387-44364991 2026-09-17 09:04:11,402 - DEBUG - VM ctest-TestBasicPolicy-48774387-44364991 ID is 371d59e1-d9b9-4ea6-bb7a-5d0bcf5d4853 2026-09-17 09:04:11,432 - DEBUG - VM ctest-TestBasicPolicy-48774387-44364991 launched on Node cn-jenkins-deploy-platform-ansible-os-6297-1 2026-09-17 09:04:11,539 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/371d59e1-d9b9-4ea6-bb7a-5d0bcf5d4853 2026-09-17 09:04:11,549 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/3f40100d-73d5-43ec-812b-debc27efa594 2026-09-17 09:04:14,842 - 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-09-17 09:04:14,842 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48774387-44364991 failed! 2026-09-17 09:04:14,898 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48774387:ctest-vn-28282910 is 193.23.142.129 and allocation pool is NOT set 2026-09-17 09:04:16,965 - 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=4.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.18 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.183/2.661/4.140/1.478 ms') 2026-09-17 09:04:16,965 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48774387-44364991 passed 2026-09-17 09:04:17,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 09:04:17,122 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48774387-44364991, IP 193.23.142.131, Port 22 2026-09-17 09:04:17,188 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-09-17 09:04:17,311 - DEBUG - VM ctest-TestBasicPolicy-48774387-44364991 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-17 09:04:22,312 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 09:04:22,312 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48774387-44364991, IP 193.23.142.131, Port 22 2026-09-17 09:04:22,485 - DEBUG - VM ctest-TestBasicPolicy-48774387-44364991 is ready for SSH connections 2026-09-17 09:04:22,485 - INFO - Waiting for VM ctest-TestBasicPolicy-48774387-85924221 to be up.. 2026-09-17 09:04:22,592 - DEBUG - VM is in ACTIVE state now 2026-09-17 09:04:22,592 - INFO - VM name : ctest-TestBasicPolicy-48774387-85924221 2026-09-17 09:04:22,701 - DEBUG - VM ctest-TestBasicPolicy-48774387-85924221 ID is 52cbbfd8-8522-4561-9517-f15f1e95f989 2026-09-17 09:04:22,701 - DEBUG - VM ctest-TestBasicPolicy-48774387-85924221 launched on Node cn-jenkins-deploy-platform-ansible-os-6297-1 2026-09-17 09:04:22,802 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/52cbbfd8-8522-4561-9517-f15f1e95f989 2026-09-17 09:04:22,816 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/71ad6b98-2a88-4d8d-95c6-93216e375990 2026-09-17 09:04:24,075 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.553 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.553/2.322/4.092/1.769 ms') 2026-09-17 09:04:24,075 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48774387-85924221 passed 2026-09-17 09:04:24,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 09:04:24,234 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48774387-85924221, IP 33.247.22.131, Port 22 2026-09-17 09:04:24,401 - DEBUG - VM ctest-TestBasicPolicy-48774387-85924221 is ready for SSH connections 2026-09-17 09:04:24,401 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 09:04:24,401 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.247.22.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-09-17 09:04:24,402 - DEBUG - ping -s 56 -c 3 -W 1 33.247.22.131 2026-09-17 09:04:28,403 - DEBUG - PING 33.247.22.131 (33.247.22.131): 56 data bytes 64 bytes from 33.247.22.131: seq=0 ttl=63 time=5.607 ms 64 bytes from 33.247.22.131: seq=1 ttl=63 time=1.059 ms 64 bytes from 33.247.22.131: seq=2 ttl=63 time=1.133 ms --- 33.247.22.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.059/2.599/5.607 ms 2026-09-17 09:04:28,403 - INFO - Ping to IP 33.247.22.131 from VM ctest-TestBasicPolicy-48774387-44364991 passed 2026-09-17 09:04:28,610 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f10bbbb2-2167-4912-9bf0-08014e183cac", "href": "http://10.0.0.190:8082/network-policy/f10bbbb2-2167-4912-9bf0-08014e183cac"}} 2026-09-17 09:04:28,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 09:04:28,610 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.247.22.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-09-17 09:04:28,610 - DEBUG - ping -s 56 -c 3 -W 1 33.247.22.131 2026-09-17 09:04:31,747 - DEBUG - PING 33.247.22.131 (33.247.22.131): 56 data bytes 64 bytes from 33.247.22.131: seq=0 ttl=63 time=1.768 ms --- 33.247.22.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.768/1.768/1.768 ms 2026-09-17 09:04:31,747 - WARNING - Ping to IP 33.247.22.131 from VM ctest-TestBasicPolicy-48774387-44364991 failed 2026-09-17 09:04:31,747 - INFO - Deleting VM ctest-TestBasicPolicy-48774387-85924221 2026-09-17 09:04:32,331 - INFO - Deleting VM ctest-TestBasicPolicy-48774387-44364991 2026-09-17 09:04:32,893 - INFO - Deleted policy ctest-policy-allow-all-71608431 2026-09-17 09:04:32,894 - INFO - Deleting VN ctest-vn-24769841 2026-09-17 09:04:32,950 - DEBUG - VN 34eb26f3-610b-4074-9db5-6212da6cf590 still in use: Unable to complete operation on network 34eb26f3-610b-4074-9db5-6212da6cf590. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6956749d-1da9-4086-8658-ea150a15cb10'] 2026-09-17 09:04:32,951 - WARNING - Deleting VN ctest-vn-24769841 failed..Will retry 2026-09-17 09:04:35,154 - DEBUG - Response for deleting network () 2026-09-17 09:04:35,154 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/6ddc2fe6-3802-4b98-bc03-24eea9292f84 2026-09-17 09:04:35,164 - DEBUG - Response Code: 404 2026-09-17 09:04:35,164 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-09-17 09:04:35,173 - DEBUG - Requesting: http://10.0.0.190:8082/domain/c0139787-77d8-43e2-a7cd-3416226bccb5 2026-09-17 09:04:35,195 - DEBUG - Requesting: http://10.0.0.190:8082/project/58ba33fb-e031-48b0-9eb5-24a5aada3b48 2026-09-17 09:04:35,296 - INFO - Validated that VN ctest-vn-24769841 is not found in API Server 2026-09-17 09:04:35,310 - DEBUG - VN ctest-vn-24769841 is not present in Agent 10.0.0.190 2026-09-17 09:04:35,310 - INFO - Validated that VN ctest-vn-24769841 is not in any agent 2026-09-17 09:04:35,330 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24769841 info 2026-09-17 09:04:35,330 - INFO - Deleting VN ctest-vn-28282910 2026-09-17 09:04:35,472 - DEBUG - Response for deleting network () 2026-09-17 09:04:35,472 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/c89254a5-9d62-4f73-88b1-1a5ed2da8b36 2026-09-17 09:04:35,486 - DEBUG - Response Code: 404 2026-09-17 09:04:35,486 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-09-17 09:04:35,494 - DEBUG - Requesting: http://10.0.0.190:8082/domain/c0139787-77d8-43e2-a7cd-3416226bccb5 2026-09-17 09:04:35,549 - DEBUG - Requesting: http://10.0.0.190:8082/project/58ba33fb-e031-48b0-9eb5-24a5aada3b48 2026-09-17 09:04:35,636 - INFO - Validated that VN ctest-vn-28282910 is not found in API Server 2026-09-17 09:04:35,649 - DEBUG - VN ctest-vn-28282910 is not present in Agent 10.0.0.190 2026-09-17 09:04:35,649 - INFO - Validated that VN ctest-vn-28282910 is not in any agent 2026-09-17 09:04:35,671 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28282910 info 2026-09-17 09:04:35,948 - DEBUG - No XMPP flaps were noticed during the test
2026-09-17 09:04:35,948 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:11]
2026-09-17 09:04:35,948 - INFO - -------------------------------------------------------------------------------- 2026-09-17 09:04:36,720 - INFO - Deleted project: ctest-TestBasicPolicy-48774387, ID : 58ba33fb-e031-48b0-9eb5-24a5aada3b48