2026-10-31 23:28:36,855 - INFO - Domain Default found not creating 2026-10-31 23:28:37,035 - INFO - Project ctest-TestBasicPolicy-86794705 not found, creating it 2026-10-31 23:28:37,498 - INFO - Created Project:ctest-TestBasicPolicy-86794705, ID : 35d40566-d24d-4f11-b2c1-367ac0a4b88d 2026-10-31 23:28:39,213 - INFO - ================================================================================ 2026-10-31 23:28:39,213 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-31 23:28:39,213 - 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-10-31 23:28:39,478 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.25': '0'}} with 2026-10-31 23:28:39,478 - INFO - Initial checks done. Running the testcase now 2026-10-31 23:28:39,478 - INFO - 2026-10-31 23:28:40,102 - DEBUG - Response for create_network : {'network': {'id': 'b49d5f0a-2b20-421b-ad67-80f3ff2c8574', 'name': 'ctest-vn-05282451', 'tenant_id': '35d40566d24d4f11b2c1367ac0a4b88d', 'project_id': '35d40566d24d4f11b2c1367ac0a4b88d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86794705', 'ctest-vn-05282451'], 'port_security_enabled': True, 'description': ''}} 2026-10-31 23:28:40,248 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c6776e3-5919-4a68-af07-256736cf108f', 'name': '', 'tenant_id': '35d40566d24d4f11b2c1367ac0a4b88d', 'network_id': 'b49d5f0a-2b20-421b-ad67-80f3ff2c8574', 'ip_version': 4, 'cidr': '113.106.228.0/26', 'allocation_pools': [{'start': '113.106.228.2', 'end': '113.106.228.62'}], 'gateway_ip': '113.106.228.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.106.228.2', 'tags': [], 'project_id': '35d40566d24d4f11b2c1367ac0a4b88d'}} 2026-10-31 23:28:40,269 - INFO - Created VN ctest-vn-05282451 2026-10-31 23:28:40,326 - DEBUG - VN ctest-vn-05282451 UUID is b49d5f0a-2b20-421b-ad67-80f3ff2c8574 2026-10-31 23:28:40,643 - DEBUG - Response for create_network : {'network': {'id': 'd3bd92dc-6e9e-4c54-9caf-08fea3085613', 'name': 'ctest-vn-58067980', 'tenant_id': '35d40566d24d4f11b2c1367ac0a4b88d', 'project_id': '35d40566d24d4f11b2c1367ac0a4b88d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86794705', 'ctest-vn-58067980'], 'port_security_enabled': True, 'description': ''}} 2026-10-31 23:28:40,820 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f395011c-ffed-4b84-9ca9-649cceb35788', 'name': '', 'tenant_id': '35d40566d24d4f11b2c1367ac0a4b88d', 'network_id': 'd3bd92dc-6e9e-4c54-9caf-08fea3085613', 'ip_version': 4, 'cidr': '112.213.232.128/26', 'allocation_pools': [{'start': '112.213.232.130', 'end': '112.213.232.190'}], 'gateway_ip': '112.213.232.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.213.232.130', 'tags': [], 'project_id': '35d40566d24d4f11b2c1367ac0a4b88d'}} 2026-10-31 23:28:40,836 - INFO - Created VN ctest-vn-58067980 2026-10-31 23:28:40,889 - DEBUG - VN ctest-vn-58067980 UUID is d3bd92dc-6e9e-4c54-9caf-08fea3085613 2026-10-31 23:28:41,011 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86794705:ctest-vn-05282451, 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-86794705:ctest-vn-58067980, 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-10-31 23:28:41,326 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b49d5f0a-2b20-421b-ad67-80f3ff2c8574', 'name': 'ctest-vn-05282451', 'tenant_id': '35d40566d24d4f11b2c1367ac0a4b88d', 'project_id': '35d40566d24d4f11b2c1367ac0a4b88d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['7c6776e3-5919-4a68-af07-256736cf108f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86794705', 'ctest-vn-05282451'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86794705', 'ctest-policy-allow-all-10108702']], 'subnet_ipam': [{'subnet_cidr': '113.106.228.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-31 23:28:41,569 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd3bd92dc-6e9e-4c54-9caf-08fea3085613', 'name': 'ctest-vn-58067980', 'tenant_id': '35d40566d24d4f11b2c1367ac0a4b88d', 'project_id': '35d40566d24d4f11b2c1367ac0a4b88d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['f395011c-ffed-4b84-9ca9-649cceb35788'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86794705', 'ctest-vn-58067980'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86794705', 'ctest-policy-allow-all-10108702']], 'subnet_ipam': [{'subnet_cidr': '112.213.232.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-31 23:28:41,745 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-10-31 23:28:42,113 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-10-31 23:28:42,159 - DEBUG - Requesting: http://10.0.0.177:8082/domain/66449e11-0bca-4e07-ba85-08c2b3180015 2026-10-31 23:28:42,175 - DEBUG - Requesting: http://10.0.0.177:8082/project/35d40566-d24d-4f11-b2c1-367ac0a4b88d 2026-10-31 23:28:42,265 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/b49d5f0a-2b20-421b-ad67-80f3ff2c8574 2026-10-31 23:28:42,281 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/b49d5f0a-2b20-421b-ad67-80f3ff2c8574 2026-10-31 23:28:42,297 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/bc83e530-c330-4b7e-8b41-2e0fabc57629 2026-10-31 23:28:42,309 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/bc83e530-c330-4b7e-8b41-2e0fabc57629 2026-10-31 23:28:42,318 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/744e9bb1-e049-4e1b-bb12-6830d632b6ac 2026-10-31 23:28:42,327 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-31 23:28:42,327 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/b49d5f0a-2b20-421b-ad67-80f3ff2c8574 2026-10-31 23:28:42,337 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/bc83e530-c330-4b7e-8b41-2e0fabc57629 2026-10-31 23:28:42,352 - INFO - Verified VN network id 12 for VN b49d5f0a-2b20-421b-ad67-80f3ff2c8574 2026-10-31 23:28:42,352 - INFO - Verifications in API Server for VN ctest-vn-05282451 passed 2026-10-31 23:28:42,352 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/b49d5f0a-2b20-421b-ad67-80f3ff2c8574 2026-10-31 23:28:42,362 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/bc83e530-c330-4b7e-8b41-2e0fabc57629 2026-10-31 23:28:42,368 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/bc83e530-c330-4b7e-8b41-2e0fabc57629 2026-10-31 23:28:42,376 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/744e9bb1-e049-4e1b-bb12-6830d632b6ac 2026-10-31 23:28:42,388 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86794705:ctest-vn-05282451', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86794705', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13014662995448447515', 'uuid-lslong': '12495097476609246580'}, 'enable': 'true', 'created': '2026-10-31T23:28:40', 'last-modified': '2026-10-31T23:28:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.092501'} 2026-10-31 23:28:42,395 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-31 23:28:42,396 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05282451 passed 2026-10-31 23:28:42,396 - DEBUG - ====Verifying policy data for ctest-vn-05282451 in API_Server ====== 2026-10-31 23:28:42,396 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-10-31 23:28:42,402 - DEBUG - Requesting: http://10.0.0.177:8082/domain/66449e11-0bca-4e07-ba85-08c2b3180015 2026-10-31 23:28:42,413 - DEBUG - Requesting: http://10.0.0.177:8082/project/35d40566-d24d-4f11-b2c1-367ac0a4b88d 2026-10-31 23:28:42,480 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/b49d5f0a-2b20-421b-ad67-80f3ff2c8574 2026-10-31 23:28:42,489 - DEBUG - ==>Verifying data for policy with id: 34129eea-19ac-4cd1-9f8d-50e7822f0414, fqn: ['default-domain', 'ctest-TestBasicPolicy-86794705', 'ctest-policy-allow-all-10108702'] 2026-10-31 23:28:42,489 - INFO - VN ctest-vn-05282451 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-31 23:28:42,489 - DEBUG - Verifying the vn in opserver 2026-10-31 23:28:42,489 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86794705:ctest-vn-05282451 virtual network link through opserver 10.0.0.177 2026-10-31 23:28:42,489 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-10-31 23:28:42,851 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-10-31 23:28:42,920 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86794705:ctest-vn-05282451', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86794705:ctest-vn-05282451?flat'} 2026-10-31 23:28:42,920 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86794705:ctest-vn-05282451 is found in opserver 2026-10-31 23:28:42,932 - DEBUG - Do not have enough data to verify VN in agent 2026-10-31 23:28:42,938 - DEBUG - VRF ids for VN ctest-vn-05282451: {} 2026-10-31 23:28:42,939 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-10-31 23:28:42,944 - DEBUG - Requesting: http://10.0.0.177:8082/domain/66449e11-0bca-4e07-ba85-08c2b3180015 2026-10-31 23:28:42,956 - DEBUG - Requesting: http://10.0.0.177:8082/project/35d40566-d24d-4f11-b2c1-367ac0a4b88d 2026-10-31 23:28:43,033 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d3bd92dc-6e9e-4c54-9caf-08fea3085613 2026-10-31 23:28:43,047 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d3bd92dc-6e9e-4c54-9caf-08fea3085613 2026-10-31 23:28:43,060 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/1bfb73a4-d3fe-4159-8de2-e901db749326 2026-10-31 23:28:43,070 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/1bfb73a4-d3fe-4159-8de2-e901db749326 2026-10-31 23:28:43,077 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/47abdb88-4938-4a56-bcce-7c4c31d16b91 2026-10-31 23:28:43,084 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-31 23:28:43,084 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d3bd92dc-6e9e-4c54-9caf-08fea3085613 2026-10-31 23:28:43,093 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/1bfb73a4-d3fe-4159-8de2-e901db749326 2026-10-31 23:28:43,110 - INFO - Verified VN network id 13 for VN d3bd92dc-6e9e-4c54-9caf-08fea3085613 2026-10-31 23:28:43,110 - INFO - Verifications in API Server for VN ctest-vn-58067980 passed 2026-10-31 23:28:43,110 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d3bd92dc-6e9e-4c54-9caf-08fea3085613 2026-10-31 23:28:43,120 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/1bfb73a4-d3fe-4159-8de2-e901db749326 2026-10-31 23:28:43,128 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/1bfb73a4-d3fe-4159-8de2-e901db749326 2026-10-31 23:28:43,135 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/47abdb88-4938-4a56-bcce-7c4c31d16b91 2026-10-31 23:28:43,149 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86794705:ctest-vn-58067980', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86794705', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15257512588047436884', 'uuid-lslong': '11290252680591070739'}, 'enable': 'true', 'created': '2026-10-31T23:28:40', 'last-modified': '2026-10-31T23:28:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.600265'} 2026-10-31 23:28:43,156 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-31 23:28:43,157 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58067980 passed 2026-10-31 23:28:43,157 - DEBUG - ====Verifying policy data for ctest-vn-58067980 in API_Server ====== 2026-10-31 23:28:43,157 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-10-31 23:28:43,163 - DEBUG - Requesting: http://10.0.0.177:8082/domain/66449e11-0bca-4e07-ba85-08c2b3180015 2026-10-31 23:28:43,176 - DEBUG - Requesting: http://10.0.0.177:8082/project/35d40566-d24d-4f11-b2c1-367ac0a4b88d 2026-10-31 23:28:43,248 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d3bd92dc-6e9e-4c54-9caf-08fea3085613 2026-10-31 23:28:43,257 - DEBUG - ==>Verifying data for policy with id: 34129eea-19ac-4cd1-9f8d-50e7822f0414, fqn: ['default-domain', 'ctest-TestBasicPolicy-86794705', 'ctest-policy-allow-all-10108702'] 2026-10-31 23:28:43,257 - INFO - VN ctest-vn-58067980 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-31 23:28:43,257 - DEBUG - Verifying the vn in opserver 2026-10-31 23:28:43,257 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86794705:ctest-vn-58067980 virtual network link through opserver 10.0.0.177 2026-10-31 23:28:43,257 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-10-31 23:28:43,267 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86794705:ctest-vn-58067980', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86794705:ctest-vn-58067980?flat'} 2026-10-31 23:28:43,267 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86794705:ctest-vn-58067980 is found in opserver 2026-10-31 23:28:43,276 - DEBUG - Do not have enough data to verify VN in agent 2026-10-31 23:28:43,281 - DEBUG - VRF ids for VN ctest-vn-58067980: {} 2026-10-31 23:28:43,336 - DEBUG - Services list from nova: [, , ] 2026-10-31 23:28:43,804 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6456-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6456-1) 2026-10-31 23:28:44,252 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6456-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6456-1) 2026-10-31 23:28:44,252 - INFO - Waiting for VM ctest-TestBasicPolicy-86794705-16346242 to be up.. 2026-10-31 23:28:44,312 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 23:28:49,383 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 23:28:54,456 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 23:28:59,526 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 23:29:04,602 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 23:29:09,675 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 23:29:14,749 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 23:29:19,822 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 23:29:24,907 - DEBUG - VM is in ACTIVE state now 2026-10-31 23:29:24,907 - INFO - VM name : ctest-TestBasicPolicy-86794705-16346242 2026-10-31 23:29:24,987 - DEBUG - VM ctest-TestBasicPolicy-86794705-16346242 ID is 9f44bbcf-a321-4c7d-9de8-cc9017c59204 2026-10-31 23:29:25,009 - DEBUG - VM ctest-TestBasicPolicy-86794705-16346242 launched on Node cn-jenkins-deploy-platform-ansible-os-6456-1 2026-10-31 23:29:25,085 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/9f44bbcf-a321-4c7d-9de8-cc9017c59204 2026-10-31 23:29:25,093 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/9766d24b-28cd-4114-be4c-490f45d95f35 2026-10-31 23:29:28,345 - 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 1013ms') 2026-10-31 23:29:28,345 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86794705-16346242 failed! 2026-10-31 23:29:28,402 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86794705:ctest-vn-05282451 is 113.106.228.1 and allocation pool is NOT set 2026-10-31 23:29:30,470 - 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=12.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.856 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.856/6.624/12.393/5.768 ms') 2026-10-31 23:29:30,470 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86794705-16346242 passed 2026-10-31 23:29:30,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-31 23:29:30,618 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86794705-16346242, IP 113.106.228.3, Port 22 2026-10-31 23:29:30,683 - 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-10-31 23:29:30,761 - DEBUG - VM ctest-TestBasicPolicy-86794705-16346242 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-31 23:29:35,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-31 23:29:35,762 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86794705-16346242, IP 113.106.228.3, Port 22 2026-10-31 23:29:35,927 - DEBUG - VM ctest-TestBasicPolicy-86794705-16346242 is ready for SSH connections 2026-10-31 23:29:35,927 - INFO - Waiting for VM ctest-TestBasicPolicy-86794705-57829689 to be up.. 2026-10-31 23:29:36,004 - DEBUG - VM is in ACTIVE state now 2026-10-31 23:29:36,005 - INFO - VM name : ctest-TestBasicPolicy-86794705-57829689 2026-10-31 23:29:36,078 - DEBUG - VM ctest-TestBasicPolicy-86794705-57829689 ID is 82c6b8cf-47c9-4ba2-82c7-4ee6a7b6c1b9 2026-10-31 23:29:36,078 - DEBUG - VM ctest-TestBasicPolicy-86794705-57829689 launched on Node cn-jenkins-deploy-platform-ansible-os-6456-1 2026-10-31 23:29:36,149 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/82c6b8cf-47c9-4ba2-82c7-4ee6a7b6c1b9 2026-10-31 23:29:36,158 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/07a20b73-402d-4765-a558-e447dd1d608d 2026-10-31 23:29:37,391 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 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.430/1.891/3.353/1.461 ms') 2026-10-31 23:29:37,391 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-86794705-57829689 passed 2026-10-31 23:29:37,538 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-31 23:29:37,538 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86794705-57829689, IP 112.213.232.131, Port 22 2026-10-31 23:29:37,701 - DEBUG - VM ctest-TestBasicPolicy-86794705-57829689 is ready for SSH connections 2026-10-31 23:29:37,701 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-31 23:29:37,701 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.213.232.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-10-31 23:29:37,701 - DEBUG - ping -s 56 -c 3 -W 1 112.213.232.131 2026-10-31 23:29:41,752 - DEBUG - PING 112.213.232.131 (112.213.232.131): 56 data bytes 64 bytes from 112.213.232.131: seq=0 ttl=63 time=3.911 ms 64 bytes from 112.213.232.131: seq=1 ttl=63 time=1.081 ms 64 bytes from 112.213.232.131: seq=2 ttl=63 time=0.817 ms --- 112.213.232.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.817/1.936/3.911 ms 2026-10-31 23:29:41,752 - INFO - Ping to IP 112.213.232.131 from VM ctest-TestBasicPolicy-86794705-16346242 passed 2026-10-31 23:29:41,929 - DEBUG - Policy Update Response {"network-policy": {"uuid": "34129eea-19ac-4cd1-9f8d-50e7822f0414", "href": "http://10.0.0.177:8082/network-policy/34129eea-19ac-4cd1-9f8d-50e7822f0414"}} 2026-10-31 23:29:41,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-31 23:29:41,930 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.213.232.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-10-31 23:29:41,930 - DEBUG - ping -s 56 -c 3 -W 1 112.213.232.131 2026-10-31 23:29:45,071 - DEBUG - PING 112.213.232.131 (112.213.232.131): 56 data bytes 64 bytes from 112.213.232.131: seq=0 ttl=63 time=1.490 ms --- 112.213.232.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.490/1.490/1.490 ms 2026-10-31 23:29:45,071 - WARNING - Ping to IP 112.213.232.131 from VM ctest-TestBasicPolicy-86794705-16346242 failed 2026-10-31 23:29:45,071 - INFO - Deleting VM ctest-TestBasicPolicy-86794705-57829689 2026-10-31 23:29:45,186 - INFO - Deleting VM ctest-TestBasicPolicy-86794705-16346242 2026-10-31 23:29:45,701 - INFO - Deleted policy ctest-policy-allow-all-10108702 2026-10-31 23:29:45,701 - INFO - Deleting VN ctest-vn-58067980 2026-10-31 23:29:45,749 - DEBUG - VN d3bd92dc-6e9e-4c54-9caf-08fea3085613 still in use: Unable to complete operation on network d3bd92dc-6e9e-4c54-9caf-08fea3085613. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-abe13d9b-6797-44e9-b922-5ef38600cbcd'] 2026-10-31 23:29:45,749 - WARNING - Deleting VN ctest-vn-58067980 failed..Will retry 2026-10-31 23:29:47,788 - DEBUG - VN d3bd92dc-6e9e-4c54-9caf-08fea3085613 still in use: Unable to complete operation on network d3bd92dc-6e9e-4c54-9caf-08fea3085613. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c61366ad-a140-40e3-8c0d-d65bb2d6c903'] 2026-10-31 23:29:47,788 - WARNING - Deleting VN ctest-vn-58067980 failed..Will retry 2026-10-31 23:29:49,891 - DEBUG - Response for deleting network () 2026-10-31 23:29:49,891 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/1bfb73a4-d3fe-4159-8de2-e901db749326 2026-10-31 23:29:49,897 - DEBUG - Response Code: 404 2026-10-31 23:29:49,897 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-10-31 23:29:49,902 - DEBUG - Requesting: http://10.0.0.177:8082/domain/66449e11-0bca-4e07-ba85-08c2b3180015 2026-10-31 23:29:49,958 - DEBUG - Requesting: http://10.0.0.177:8082/project/35d40566-d24d-4f11-b2c1-367ac0a4b88d 2026-10-31 23:29:50,028 - INFO - Validated that VN ctest-vn-58067980 is not found in API Server 2026-10-31 23:29:50,038 - DEBUG - VN ctest-vn-58067980 is not present in Agent 10.0.0.177 2026-10-31 23:29:50,038 - INFO - Validated that VN ctest-vn-58067980 is not in any agent 2026-10-31 23:29:50,054 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58067980 info 2026-10-31 23:29:50,054 - INFO - Deleting VN ctest-vn-05282451 2026-10-31 23:29:50,164 - DEBUG - Response for deleting network () 2026-10-31 23:29:50,164 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/bc83e530-c330-4b7e-8b41-2e0fabc57629 2026-10-31 23:29:50,170 - DEBUG - Response Code: 404 2026-10-31 23:29:50,170 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-10-31 23:29:50,175 - DEBUG - Requesting: http://10.0.0.177:8082/domain/66449e11-0bca-4e07-ba85-08c2b3180015 2026-10-31 23:29:50,231 - DEBUG - Requesting: http://10.0.0.177:8082/project/35d40566-d24d-4f11-b2c1-367ac0a4b88d 2026-10-31 23:29:50,310 - INFO - Validated that VN ctest-vn-05282451 is not found in API Server 2026-10-31 23:29:50,323 - DEBUG - VN ctest-vn-05282451 is not present in Agent 10.0.0.177 2026-10-31 23:29:50,323 - INFO - Validated that VN ctest-vn-05282451 is not in any agent 2026-10-31 23:29:50,342 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05282451 info 2026-10-31 23:29:50,601 - DEBUG - No XMPP flaps were noticed during the test
2026-10-31 23:29:50,601 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:11]
2026-10-31 23:29:50,601 - INFO - -------------------------------------------------------------------------------- 2026-10-31 23:29:51,343 - INFO - Deleted project: ctest-TestBasicPolicy-86794705, ID : 35d40566-d24d-4f11-b2c1-367ac0a4b88d