2026-11-02 18:50:24,899 - INFO - Domain Default found not creating 2026-11-02 18:50:25,139 - INFO - Project ctest-TestBasicPolicy-62231355 not found, creating it 2026-11-02 18:50:25,685 - INFO - Created Project:ctest-TestBasicPolicy-62231355, ID : da1d0537-31bb-4c7c-ac20-3ea97c2cf78c 2026-11-02 18:50:27,429 - INFO - ================================================================================ 2026-11-02 18:50:27,429 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-02 18:50:27,429 - 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-11-02 18:50:27,697 - DEBUG - Nothing to compare xmpp stats {'10.0.0.251': {'10.20.0.25': '0'}} with 2026-11-02 18:50:27,698 - INFO - Initial checks done. Running the testcase now 2026-11-02 18:50:27,698 - INFO - 2026-11-02 18:50:28,307 - DEBUG - Response for create_network : {'network': {'id': 'd2f7c4da-b33f-45f0-995c-d19cb85c2e9e', 'name': 'ctest-vn-86274797', 'tenant_id': 'da1d053731bb4c7cac203ea97c2cf78c', 'project_id': 'da1d053731bb4c7cac203ea97c2cf78c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62231355', 'ctest-vn-86274797'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 18:50:28,536 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f99a273e-82b2-4ef3-8bd9-ccdda96a1556', 'name': '', 'tenant_id': 'da1d053731bb4c7cac203ea97c2cf78c', 'network_id': 'd2f7c4da-b33f-45f0-995c-d19cb85c2e9e', 'ip_version': 4, 'cidr': '195.161.57.192/26', 'allocation_pools': [{'start': '195.161.57.194', 'end': '195.161.57.254'}], 'gateway_ip': '195.161.57.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.161.57.194', 'tags': [], 'project_id': 'da1d053731bb4c7cac203ea97c2cf78c'}} 2026-11-02 18:50:28,556 - INFO - Created VN ctest-vn-86274797 2026-11-02 18:50:28,609 - DEBUG - VN ctest-vn-86274797 UUID is d2f7c4da-b33f-45f0-995c-d19cb85c2e9e 2026-11-02 18:50:28,942 - DEBUG - Response for create_network : {'network': {'id': '9819a202-677f-4c64-9c37-6f7f253d5f24', 'name': 'ctest-vn-38128935', 'tenant_id': 'da1d053731bb4c7cac203ea97c2cf78c', 'project_id': 'da1d053731bb4c7cac203ea97c2cf78c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62231355', 'ctest-vn-38128935'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 18:50:29,164 - DEBUG - Response for create_subnet : {'subnet': {'id': '326e102a-0358-4611-b32b-a20aa7ce8901', 'name': '', 'tenant_id': 'da1d053731bb4c7cac203ea97c2cf78c', 'network_id': '9819a202-677f-4c64-9c37-6f7f253d5f24', 'ip_version': 4, 'cidr': '92.135.105.64/26', 'allocation_pools': [{'start': '92.135.105.66', 'end': '92.135.105.126'}], 'gateway_ip': '92.135.105.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.135.105.66', 'tags': [], 'project_id': 'da1d053731bb4c7cac203ea97c2cf78c'}} 2026-11-02 18:50:29,186 - INFO - Created VN ctest-vn-38128935 2026-11-02 18:50:29,245 - DEBUG - VN ctest-vn-38128935 UUID is 9819a202-677f-4c64-9c37-6f7f253d5f24 2026-11-02 18:50:29,366 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-62231355:ctest-vn-86274797, 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-62231355:ctest-vn-38128935, 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-11-02 18:50:29,673 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd2f7c4da-b33f-45f0-995c-d19cb85c2e9e', 'name': 'ctest-vn-86274797', 'tenant_id': 'da1d053731bb4c7cac203ea97c2cf78c', 'project_id': 'da1d053731bb4c7cac203ea97c2cf78c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['f99a273e-82b2-4ef3-8bd9-ccdda96a1556'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62231355', 'ctest-vn-86274797'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62231355', 'ctest-policy-allow-all-22662379']], 'subnet_ipam': [{'subnet_cidr': '195.161.57.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-02 18:50:29,925 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9819a202-677f-4c64-9c37-6f7f253d5f24', 'name': 'ctest-vn-38128935', 'tenant_id': 'da1d053731bb4c7cac203ea97c2cf78c', 'project_id': 'da1d053731bb4c7cac203ea97c2cf78c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['326e102a-0358-4611-b32b-a20aa7ce8901'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62231355', 'ctest-vn-38128935'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62231355', 'ctest-policy-allow-all-22662379']], 'subnet_ipam': [{'subnet_cidr': '92.135.105.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-02 18:50:30,093 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-11-02 18:50:30,442 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-11-02 18:50:30,476 - DEBUG - Requesting: http://10.0.0.251:8082/domain/b1f9e354-6ab3-42f3-baae-bbcc43c36aa6 2026-11-02 18:50:30,491 - DEBUG - Requesting: http://10.0.0.251:8082/project/da1d0537-31bb-4c7c-ac20-3ea97c2cf78c 2026-11-02 18:50:30,578 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/d2f7c4da-b33f-45f0-995c-d19cb85c2e9e 2026-11-02 18:50:30,597 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/d2f7c4da-b33f-45f0-995c-d19cb85c2e9e 2026-11-02 18:50:30,611 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/7ee304fb-9b9b-4e64-add3-86f61a728b6e 2026-11-02 18:50:30,621 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/7ee304fb-9b9b-4e64-add3-86f61a728b6e 2026-11-02 18:50:30,631 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/55e47805-b19a-45e3-b5e8-9b1fcb1238c5 2026-11-02 18:50:30,640 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-02 18:50:30,640 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/d2f7c4da-b33f-45f0-995c-d19cb85c2e9e 2026-11-02 18:50:30,654 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/7ee304fb-9b9b-4e64-add3-86f61a728b6e 2026-11-02 18:50:30,675 - INFO - Verified VN network id 12 for VN d2f7c4da-b33f-45f0-995c-d19cb85c2e9e 2026-11-02 18:50:30,675 - INFO - Verifications in API Server for VN ctest-vn-86274797 passed 2026-11-02 18:50:30,675 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/d2f7c4da-b33f-45f0-995c-d19cb85c2e9e 2026-11-02 18:50:30,687 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/7ee304fb-9b9b-4e64-add3-86f61a728b6e 2026-11-02 18:50:30,696 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/7ee304fb-9b9b-4e64-add3-86f61a728b6e 2026-11-02 18:50:30,706 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/55e47805-b19a-45e3-b5e8-9b1fcb1238c5 2026-11-02 18:50:30,724 - DEBUG - Control-node 10.0.0.251 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62231355:ctest-vn-86274797', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62231355', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15201835510801581552', 'uuid-lslong': '11050938056698506910'}, 'enable': 'true', 'created': '2026-11-02T18:50:28', 'last-modified': '2026-11-02T18:50:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.063722'} 2026-11-02 18:50:30,731 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-02 18:50:30,731 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86274797 passed 2026-11-02 18:50:30,732 - DEBUG - ====Verifying policy data for ctest-vn-86274797 in API_Server ====== 2026-11-02 18:50:30,732 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-11-02 18:50:30,738 - DEBUG - Requesting: http://10.0.0.251:8082/domain/b1f9e354-6ab3-42f3-baae-bbcc43c36aa6 2026-11-02 18:50:30,751 - DEBUG - Requesting: http://10.0.0.251:8082/project/da1d0537-31bb-4c7c-ac20-3ea97c2cf78c 2026-11-02 18:50:30,830 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/d2f7c4da-b33f-45f0-995c-d19cb85c2e9e 2026-11-02 18:50:30,843 - DEBUG - ==>Verifying data for policy with id: b80fc197-483e-46cb-b5ef-cf266207eb94, fqn: ['default-domain', 'ctest-TestBasicPolicy-62231355', 'ctest-policy-allow-all-22662379'] 2026-11-02 18:50:30,843 - INFO - VN ctest-vn-86274797 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-02 18:50:30,843 - DEBUG - Verifying the vn in opserver 2026-11-02 18:50:30,843 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62231355:ctest-vn-86274797 virtual network link through opserver 10.0.0.251 2026-11-02 18:50:30,843 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks 2026-11-02 18:50:31,173 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks 2026-11-02 18:50:31,244 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62231355:ctest-vn-86274797', 'href': 'http://10.0.0.251:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62231355:ctest-vn-86274797?flat'} 2026-11-02 18:50:31,244 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62231355:ctest-vn-86274797 is found in opserver 2026-11-02 18:50:31,255 - DEBUG - Do not have enough data to verify VN in agent 2026-11-02 18:50:31,261 - DEBUG - VRF ids for VN ctest-vn-86274797: {} 2026-11-02 18:50:31,261 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-11-02 18:50:31,269 - DEBUG - Requesting: http://10.0.0.251:8082/domain/b1f9e354-6ab3-42f3-baae-bbcc43c36aa6 2026-11-02 18:50:31,281 - DEBUG - Requesting: http://10.0.0.251:8082/project/da1d0537-31bb-4c7c-ac20-3ea97c2cf78c 2026-11-02 18:50:31,356 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/9819a202-677f-4c64-9c37-6f7f253d5f24 2026-11-02 18:50:31,371 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/9819a202-677f-4c64-9c37-6f7f253d5f24 2026-11-02 18:50:31,385 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/e77be0e0-bb56-451e-a613-c68db7815bfd 2026-11-02 18:50:31,394 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/e77be0e0-bb56-451e-a613-c68db7815bfd 2026-11-02 18:50:31,404 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/67460ac7-d280-4984-b46a-9d6017c40146 2026-11-02 18:50:31,414 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-02 18:50:31,414 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/9819a202-677f-4c64-9c37-6f7f253d5f24 2026-11-02 18:50:31,426 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/e77be0e0-bb56-451e-a613-c68db7815bfd 2026-11-02 18:50:31,445 - INFO - Verified VN network id 13 for VN 9819a202-677f-4c64-9c37-6f7f253d5f24 2026-11-02 18:50:31,445 - INFO - Verifications in API Server for VN ctest-vn-38128935 passed 2026-11-02 18:50:31,445 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/9819a202-677f-4c64-9c37-6f7f253d5f24 2026-11-02 18:50:31,457 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/e77be0e0-bb56-451e-a613-c68db7815bfd 2026-11-02 18:50:31,466 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/e77be0e0-bb56-451e-a613-c68db7815bfd 2026-11-02 18:50:31,475 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/67460ac7-d280-4984-b46a-9d6017c40146 2026-11-02 18:50:31,494 - DEBUG - Control-node 10.0.0.251 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62231355:ctest-vn-38128935', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62231355', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10959969299392842852', 'uuid-lslong': '11256588385512152868'}, 'enable': 'true', 'created': '2026-11-02T18:50:28', 'last-modified': '2026-11-02T18:50:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.585451'} 2026-11-02 18:50:31,503 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-02 18:50:31,503 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38128935 passed 2026-11-02 18:50:31,504 - DEBUG - ====Verifying policy data for ctest-vn-38128935 in API_Server ====== 2026-11-02 18:50:31,504 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-11-02 18:50:31,514 - DEBUG - Requesting: http://10.0.0.251:8082/domain/b1f9e354-6ab3-42f3-baae-bbcc43c36aa6 2026-11-02 18:50:31,527 - DEBUG - Requesting: http://10.0.0.251:8082/project/da1d0537-31bb-4c7c-ac20-3ea97c2cf78c 2026-11-02 18:50:31,639 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/9819a202-677f-4c64-9c37-6f7f253d5f24 2026-11-02 18:50:31,661 - DEBUG - ==>Verifying data for policy with id: b80fc197-483e-46cb-b5ef-cf266207eb94, fqn: ['default-domain', 'ctest-TestBasicPolicy-62231355', 'ctest-policy-allow-all-22662379'] 2026-11-02 18:50:31,661 - INFO - VN ctest-vn-38128935 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-02 18:50:31,662 - DEBUG - Verifying the vn in opserver 2026-11-02 18:50:31,662 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62231355:ctest-vn-38128935 virtual network link through opserver 10.0.0.251 2026-11-02 18:50:31,662 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks 2026-11-02 18:50:31,702 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62231355:ctest-vn-38128935', 'href': 'http://10.0.0.251:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62231355:ctest-vn-38128935?flat'} 2026-11-02 18:50:31,702 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62231355:ctest-vn-38128935 is found in opserver 2026-11-02 18:50:31,715 - DEBUG - Do not have enough data to verify VN in agent 2026-11-02 18:50:31,721 - DEBUG - VRF ids for VN ctest-vn-38128935: {} 2026-11-02 18:50:31,816 - DEBUG - Services list from nova: [, , ] 2026-11-02 18:50:32,471 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6469-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6469-1) 2026-11-02 18:50:32,991 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6469-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6469-1) 2026-11-02 18:50:32,991 - INFO - Waiting for VM ctest-TestBasicPolicy-62231355-48000752 to be up.. 2026-11-02 18:50:33,043 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 18:50:38,139 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 18:50:43,230 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 18:50:48,324 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 18:50:53,416 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 18:50:58,507 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 18:51:03,607 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 18:51:08,700 - DEBUG - VM is in ACTIVE state now 2026-11-02 18:51:08,700 - INFO - VM name : ctest-TestBasicPolicy-62231355-48000752 2026-11-02 18:51:08,801 - DEBUG - VM ctest-TestBasicPolicy-62231355-48000752 ID is 27c16ebb-4a26-4adc-99ac-1e019daa25b4 2026-11-02 18:51:08,831 - DEBUG - VM ctest-TestBasicPolicy-62231355-48000752 launched on Node cn-jenkins-deploy-platform-ansible-os-6469-1 2026-11-02 18:51:08,927 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/27c16ebb-4a26-4adc-99ac-1e019daa25b4 2026-11-02 18:51:08,937 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine-interface/f4efe586-1eef-41fb-8507-7b639c9b2b48 2026-11-02 18:51:12,217 - 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 1024ms') 2026-11-02 18:51:12,217 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62231355-48000752 failed! 2026-11-02 18:51:12,273 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-62231355:ctest-vn-86274797 is 195.161.57.193 and allocation pool is NOT set 2026-11-02 18:51:14,337 - 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=13.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.15 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.154/7.907/13.661/5.753 ms') 2026-11-02 18:51:14,337 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62231355-48000752 passed 2026-11-02 18:51:14,493 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 18:51:14,493 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62231355-48000752, IP 195.161.57.195, Port 22 2026-11-02 18:51:14,559 - 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-11-02 18:51:14,661 - DEBUG - VM ctest-TestBasicPolicy-62231355-48000752 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-02 18:51:19,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 18:51:19,662 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62231355-48000752, IP 195.161.57.195, Port 22 2026-11-02 18:51:19,838 - DEBUG - VM ctest-TestBasicPolicy-62231355-48000752 is ready for SSH connections 2026-11-02 18:51:19,839 - INFO - Waiting for VM ctest-TestBasicPolicy-62231355-38918025 to be up.. 2026-11-02 18:51:19,938 - DEBUG - VM is in ACTIVE state now 2026-11-02 18:51:19,938 - INFO - VM name : ctest-TestBasicPolicy-62231355-38918025 2026-11-02 18:51:20,027 - DEBUG - VM ctest-TestBasicPolicy-62231355-38918025 ID is 7d3debd7-2011-4a81-a776-bbe1fd89ad14 2026-11-02 18:51:20,027 - DEBUG - VM ctest-TestBasicPolicy-62231355-38918025 launched on Node cn-jenkins-deploy-platform-ansible-os-6469-1 2026-11-02 18:51:20,109 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/7d3debd7-2011-4a81-a776-bbe1fd89ad14 2026-11-02 18:51:20,119 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine-interface/45386a96-958d-478f-8108-ccc662146c33 2026-11-02 18:51:21,367 - 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=10.7 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.21 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 = 1.209/5.978/10.747/4.769 ms') 2026-11-02 18:51:21,368 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-62231355-38918025 passed 2026-11-02 18:51:21,525 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 18:51:21,525 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62231355-38918025, IP 92.135.105.67, Port 22 2026-11-02 18:51:21,691 - DEBUG - VM ctest-TestBasicPolicy-62231355-38918025 is ready for SSH connections 2026-11-02 18:51:21,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 18:51:21,691 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.135.105.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.251, gateway password: c0ntrail123 2026-11-02 18:51:21,691 - DEBUG - ping -s 56 -c 3 -W 1 92.135.105.67 2026-11-02 18:51:25,658 - DEBUG - PING 92.135.105.67 (92.135.105.67): 56 data bytes 64 bytes from 92.135.105.67: seq=0 ttl=63 time=4.328 ms 64 bytes from 92.135.105.67: seq=1 ttl=63 time=1.601 ms 64 bytes from 92.135.105.67: seq=2 ttl=63 time=1.209 ms --- 92.135.105.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.209/2.379/4.328 ms 2026-11-02 18:51:25,658 - INFO - Ping to IP 92.135.105.67 from VM ctest-TestBasicPolicy-62231355-48000752 passed 2026-11-02 18:51:25,848 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b80fc197-483e-46cb-b5ef-cf266207eb94", "href": "http://10.0.0.251:8082/network-policy/b80fc197-483e-46cb-b5ef-cf266207eb94"}} 2026-11-02 18:51:25,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 18:51:25,849 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.135.105.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.251, gateway password: c0ntrail123 2026-11-02 18:51:25,849 - DEBUG - ping -s 56 -c 3 -W 1 92.135.105.67 2026-11-02 18:51:28,977 - DEBUG - PING 92.135.105.67 (92.135.105.67): 56 data bytes 64 bytes from 92.135.105.67: seq=0 ttl=63 time=2.547 ms --- 92.135.105.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.547/2.547/2.547 ms 2026-11-02 18:51:28,977 - WARNING - Ping to IP 92.135.105.67 from VM ctest-TestBasicPolicy-62231355-48000752 failed 2026-11-02 18:51:28,977 - INFO - Deleting VM ctest-TestBasicPolicy-62231355-38918025 2026-11-02 18:51:29,059 - INFO - Deleting VM ctest-TestBasicPolicy-62231355-48000752 2026-11-02 18:51:29,473 - INFO - Deleted policy ctest-policy-allow-all-22662379 2026-11-02 18:51:29,473 - INFO - Deleting VN ctest-vn-38128935 2026-11-02 18:51:29,512 - DEBUG - VN 9819a202-677f-4c64-9c37-6f7f253d5f24 still in use: Unable to complete operation on network 9819a202-677f-4c64-9c37-6f7f253d5f24. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-25c09305-5cf5-47a0-a4db-b1cf7ef6c591'] 2026-11-02 18:51:29,513 - WARNING - Deleting VN ctest-vn-38128935 failed..Will retry 2026-11-02 18:51:31,554 - DEBUG - VN 9819a202-677f-4c64-9c37-6f7f253d5f24 still in use: Unable to complete operation on network 9819a202-677f-4c64-9c37-6f7f253d5f24. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7ed3043d-a67b-4dcd-87b2-bad113f3eeff'] 2026-11-02 18:51:31,554 - WARNING - Deleting VN ctest-vn-38128935 failed..Will retry 2026-11-02 18:51:33,689 - DEBUG - Response for deleting network () 2026-11-02 18:51:33,690 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/e77be0e0-bb56-451e-a613-c68db7815bfd 2026-11-02 18:51:33,699 - DEBUG - Response Code: 404 2026-11-02 18:51:33,699 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-11-02 18:51:33,706 - DEBUG - Requesting: http://10.0.0.251:8082/domain/b1f9e354-6ab3-42f3-baae-bbcc43c36aa6 2026-11-02 18:51:33,763 - DEBUG - Requesting: http://10.0.0.251:8082/project/da1d0537-31bb-4c7c-ac20-3ea97c2cf78c 2026-11-02 18:51:33,843 - INFO - Validated that VN ctest-vn-38128935 is not found in API Server 2026-11-02 18:51:33,856 - DEBUG - VN ctest-vn-38128935 is not present in Agent 10.0.0.251 2026-11-02 18:51:33,856 - INFO - Validated that VN ctest-vn-38128935 is not in any agent 2026-11-02 18:51:33,876 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38128935 info 2026-11-02 18:51:33,876 - INFO - Deleting VN ctest-vn-86274797 2026-11-02 18:51:34,000 - DEBUG - Response for deleting network () 2026-11-02 18:51:34,000 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/7ee304fb-9b9b-4e64-add3-86f61a728b6e 2026-11-02 18:51:34,008 - DEBUG - Response Code: 404 2026-11-02 18:51:34,008 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-11-02 18:51:34,015 - DEBUG - Requesting: http://10.0.0.251:8082/domain/b1f9e354-6ab3-42f3-baae-bbcc43c36aa6 2026-11-02 18:51:34,070 - DEBUG - Requesting: http://10.0.0.251:8082/project/da1d0537-31bb-4c7c-ac20-3ea97c2cf78c 2026-11-02 18:51:34,151 - INFO - Validated that VN ctest-vn-86274797 is not found in API Server 2026-11-02 18:51:34,163 - DEBUG - VN ctest-vn-86274797 is not present in Agent 10.0.0.251 2026-11-02 18:51:34,164 - INFO - Validated that VN ctest-vn-86274797 is not in any agent 2026-11-02 18:51:34,180 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86274797 info 2026-11-02 18:51:34,450 - DEBUG - No XMPP flaps were noticed during the test
2026-11-02 18:51:34,450 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:07]
2026-11-02 18:51:34,450 - INFO - -------------------------------------------------------------------------------- 2026-11-02 18:51:35,219 - INFO - Deleted project: ctest-TestBasicPolicy-62231355, ID : da1d0537-31bb-4c7c-ac20-3ea97c2cf78c