2026-10-01 06:41:04,494 - INFO - Domain Default found not creating 2026-10-01 06:41:04,666 - INFO - Project ctest-TestBasicPolicy-21398789 not found, creating it 2026-10-01 06:41:05,147 - INFO - Created Project:ctest-TestBasicPolicy-21398789, ID : 9fdf9ebe-f89f-4a16-8d6c-8f0aa4b575e1 2026-10-01 06:41:07,681 - INFO - ================================================================================ 2026-10-01 06:41:07,681 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-01 06:41:07,681 - 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-01 06:41:07,936 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.25': '0'}} with 2026-10-01 06:41:07,937 - INFO - Initial checks done. Running the testcase now 2026-10-01 06:41:07,937 - INFO - 2026-10-01 06:41:08,581 - DEBUG - Response for create_network : {'network': {'id': '113feccf-eb49-43d5-98cd-ec5e410c951b', 'name': 'ctest-vn-13008699', 'tenant_id': '9fdf9ebef89f4a168d6c8f0aa4b575e1', 'project_id': '9fdf9ebef89f4a168d6c8f0aa4b575e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21398789', 'ctest-vn-13008699'], 'port_security_enabled': True, 'description': ''}} 2026-10-01 06:41:08,816 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b37f38a9-6792-4ebf-983d-c906d7766d02', 'name': '', 'tenant_id': '9fdf9ebef89f4a168d6c8f0aa4b575e1', 'network_id': '113feccf-eb49-43d5-98cd-ec5e410c951b', 'ip_version': 4, 'cidr': '147.90.9.0/26', 'allocation_pools': [{'start': '147.90.9.2', 'end': '147.90.9.62'}], 'gateway_ip': '147.90.9.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.90.9.2', 'tags': [], 'project_id': '9fdf9ebef89f4a168d6c8f0aa4b575e1'}} 2026-10-01 06:41:08,833 - INFO - Created VN ctest-vn-13008699 2026-10-01 06:41:08,889 - DEBUG - VN ctest-vn-13008699 UUID is 113feccf-eb49-43d5-98cd-ec5e410c951b 2026-10-01 06:41:09,193 - DEBUG - Response for create_network : {'network': {'id': '9b87cc80-0822-4a89-87ae-c7d8b13ee29b', 'name': 'ctest-vn-43996447', 'tenant_id': '9fdf9ebef89f4a168d6c8f0aa4b575e1', 'project_id': '9fdf9ebef89f4a168d6c8f0aa4b575e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21398789', 'ctest-vn-43996447'], 'port_security_enabled': True, 'description': ''}} 2026-10-01 06:41:09,349 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a41584e1-179b-4894-b70b-13399996f027', 'name': '', 'tenant_id': '9fdf9ebef89f4a168d6c8f0aa4b575e1', 'network_id': '9b87cc80-0822-4a89-87ae-c7d8b13ee29b', 'ip_version': 4, 'cidr': '41.211.131.128/26', 'allocation_pools': [{'start': '41.211.131.130', 'end': '41.211.131.190'}], 'gateway_ip': '41.211.131.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.211.131.130', 'tags': [], 'project_id': '9fdf9ebef89f4a168d6c8f0aa4b575e1'}} 2026-10-01 06:41:09,371 - INFO - Created VN ctest-vn-43996447 2026-10-01 06:41:09,424 - DEBUG - VN ctest-vn-43996447 UUID is 9b87cc80-0822-4a89-87ae-c7d8b13ee29b 2026-10-01 06:41:09,576 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21398789:ctest-vn-13008699, 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-21398789:ctest-vn-43996447, 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-01 06:41:09,888 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '113feccf-eb49-43d5-98cd-ec5e410c951b', 'name': 'ctest-vn-13008699', 'tenant_id': '9fdf9ebef89f4a168d6c8f0aa4b575e1', 'project_id': '9fdf9ebef89f4a168d6c8f0aa4b575e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b37f38a9-6792-4ebf-983d-c906d7766d02'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21398789', 'ctest-vn-13008699'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21398789', 'ctest-policy-allow-all-23562030']], 'subnet_ipam': [{'subnet_cidr': '147.90.9.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-01 06:41:10,122 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b87cc80-0822-4a89-87ae-c7d8b13ee29b', 'name': 'ctest-vn-43996447', 'tenant_id': '9fdf9ebef89f4a168d6c8f0aa4b575e1', 'project_id': '9fdf9ebef89f4a168d6c8f0aa4b575e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a41584e1-179b-4894-b70b-13399996f027'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21398789', 'ctest-vn-43996447'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21398789', 'ctest-policy-allow-all-23562030']], 'subnet_ipam': [{'subnet_cidr': '41.211.131.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-01 06:41:10,284 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-01 06:41:10,655 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-01 06:41:10,685 - DEBUG - Requesting: http://10.0.0.161:8082/domain/bf0642f3-7204-464b-80fa-ee5df683c7fe 2026-10-01 06:41:10,697 - DEBUG - Requesting: http://10.0.0.161:8082/project/9fdf9ebe-f89f-4a16-8d6c-8f0aa4b575e1 2026-10-01 06:41:10,773 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/113feccf-eb49-43d5-98cd-ec5e410c951b 2026-10-01 06:41:10,787 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/113feccf-eb49-43d5-98cd-ec5e410c951b 2026-10-01 06:41:10,797 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6c0c6cc6-f4f8-486a-9a70-5e40edbbfb27 2026-10-01 06:41:10,805 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6c0c6cc6-f4f8-486a-9a70-5e40edbbfb27 2026-10-01 06:41:10,812 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/03d97fd2-ebf7-4e66-8fa9-3d3d725d4d1f 2026-10-01 06:41:10,819 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-01 06:41:10,819 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/113feccf-eb49-43d5-98cd-ec5e410c951b 2026-10-01 06:41:10,830 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6c0c6cc6-f4f8-486a-9a70-5e40edbbfb27 2026-10-01 06:41:10,854 - INFO - Verified VN network id 11 for VN 113feccf-eb49-43d5-98cd-ec5e410c951b 2026-10-01 06:41:10,854 - INFO - Verifications in API Server for VN ctest-vn-13008699 passed 2026-10-01 06:41:10,854 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/113feccf-eb49-43d5-98cd-ec5e410c951b 2026-10-01 06:41:10,864 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6c0c6cc6-f4f8-486a-9a70-5e40edbbfb27 2026-10-01 06:41:10,871 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6c0c6cc6-f4f8-486a-9a70-5e40edbbfb27 2026-10-01 06:41:10,880 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/03d97fd2-ebf7-4e66-8fa9-3d3d725d4d1f 2026-10-01 06:41:10,894 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21398789:ctest-vn-13008699', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21398789', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1242972399927378901', 'uuid-lslong': '11010716553553155355'}, 'enable': 'true', 'created': '2026-10-01T06:41:08', 'last-modified': '2026-10-01T06:41:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.035745'} 2026-10-01 06:41:10,901 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-01 06:41:10,902 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13008699 passed 2026-10-01 06:41:10,902 - DEBUG - ====Verifying policy data for ctest-vn-13008699 in API_Server ====== 2026-10-01 06:41:10,902 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-01 06:41:10,908 - DEBUG - Requesting: http://10.0.0.161:8082/domain/bf0642f3-7204-464b-80fa-ee5df683c7fe 2026-10-01 06:41:10,919 - DEBUG - Requesting: http://10.0.0.161:8082/project/9fdf9ebe-f89f-4a16-8d6c-8f0aa4b575e1 2026-10-01 06:41:10,997 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/113feccf-eb49-43d5-98cd-ec5e410c951b 2026-10-01 06:41:11,008 - DEBUG - ==>Verifying data for policy with id: 9f7f63ec-d29d-470d-a57c-dd6c5abb96b0, fqn: ['default-domain', 'ctest-TestBasicPolicy-21398789', 'ctest-policy-allow-all-23562030'] 2026-10-01 06:41:11,008 - INFO - VN ctest-vn-13008699 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-01 06:41:11,008 - DEBUG - Verifying the vn in opserver 2026-10-01 06:41:11,008 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21398789:ctest-vn-13008699 virtual network link through opserver 10.0.0.161 2026-10-01 06:41:11,008 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-10-01 06:41:11,376 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-10-01 06:41:11,430 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21398789:ctest-vn-13008699', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21398789:ctest-vn-13008699?flat'} 2026-10-01 06:41:11,430 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21398789:ctest-vn-13008699 is found in opserver 2026-10-01 06:41:11,442 - DEBUG - Do not have enough data to verify VN in agent 2026-10-01 06:41:11,448 - DEBUG - VRF ids for VN ctest-vn-13008699: {} 2026-10-01 06:41:11,448 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-01 06:41:11,454 - DEBUG - Requesting: http://10.0.0.161:8082/domain/bf0642f3-7204-464b-80fa-ee5df683c7fe 2026-10-01 06:41:11,465 - DEBUG - Requesting: http://10.0.0.161:8082/project/9fdf9ebe-f89f-4a16-8d6c-8f0aa4b575e1 2026-10-01 06:41:11,549 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/9b87cc80-0822-4a89-87ae-c7d8b13ee29b 2026-10-01 06:41:11,563 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/9b87cc80-0822-4a89-87ae-c7d8b13ee29b 2026-10-01 06:41:11,574 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/b86a45e8-4784-4774-b1d5-536be8ae1c1a 2026-10-01 06:41:11,584 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/b86a45e8-4784-4774-b1d5-536be8ae1c1a 2026-10-01 06:41:11,592 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/570fa05e-6b8f-4c7b-a944-27d51dcc365f 2026-10-01 06:41:11,599 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-01 06:41:11,600 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/9b87cc80-0822-4a89-87ae-c7d8b13ee29b 2026-10-01 06:41:11,609 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/b86a45e8-4784-4774-b1d5-536be8ae1c1a 2026-10-01 06:41:11,625 - INFO - Verified VN network id 12 for VN 9b87cc80-0822-4a89-87ae-c7d8b13ee29b 2026-10-01 06:41:11,625 - INFO - Verifications in API Server for VN ctest-vn-43996447 passed 2026-10-01 06:41:11,625 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/9b87cc80-0822-4a89-87ae-c7d8b13ee29b 2026-10-01 06:41:11,636 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/b86a45e8-4784-4774-b1d5-536be8ae1c1a 2026-10-01 06:41:11,644 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/b86a45e8-4784-4774-b1d5-536be8ae1c1a 2026-10-01 06:41:11,653 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/570fa05e-6b8f-4c7b-a944-27d51dcc365f 2026-10-01 06:41:11,670 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21398789:ctest-vn-43996447', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21398789', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11207151047999113865', 'uuid-lslong': '9776971574568477339'}, 'enable': 'true', 'created': '2026-10-01T06:41:09', 'last-modified': '2026-10-01T06:41:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.571231'} 2026-10-01 06:41:11,678 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-01 06:41:11,678 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43996447 passed 2026-10-01 06:41:11,678 - DEBUG - ====Verifying policy data for ctest-vn-43996447 in API_Server ====== 2026-10-01 06:41:11,678 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-01 06:41:11,684 - DEBUG - Requesting: http://10.0.0.161:8082/domain/bf0642f3-7204-464b-80fa-ee5df683c7fe 2026-10-01 06:41:11,695 - DEBUG - Requesting: http://10.0.0.161:8082/project/9fdf9ebe-f89f-4a16-8d6c-8f0aa4b575e1 2026-10-01 06:41:11,771 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/9b87cc80-0822-4a89-87ae-c7d8b13ee29b 2026-10-01 06:41:11,782 - DEBUG - ==>Verifying data for policy with id: 9f7f63ec-d29d-470d-a57c-dd6c5abb96b0, fqn: ['default-domain', 'ctest-TestBasicPolicy-21398789', 'ctest-policy-allow-all-23562030'] 2026-10-01 06:41:11,782 - INFO - VN ctest-vn-43996447 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-01 06:41:11,782 - DEBUG - Verifying the vn in opserver 2026-10-01 06:41:11,782 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21398789:ctest-vn-43996447 virtual network link through opserver 10.0.0.161 2026-10-01 06:41:11,782 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-10-01 06:41:11,792 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21398789:ctest-vn-43996447', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21398789:ctest-vn-43996447?flat'} 2026-10-01 06:41:11,792 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21398789:ctest-vn-43996447 is found in opserver 2026-10-01 06:41:11,805 - DEBUG - Do not have enough data to verify VN in agent 2026-10-01 06:41:11,809 - DEBUG - VRF ids for VN ctest-vn-43996447: {} 2026-10-01 06:41:11,865 - DEBUG - Services list from nova: [, , ] 2026-10-01 06:41:12,273 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6335-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6335-1) 2026-10-01 06:41:12,650 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6335-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6335-1) 2026-10-01 06:41:12,650 - INFO - Waiting for VM ctest-TestBasicPolicy-21398789-33593930 to be up.. 2026-10-01 06:41:12,688 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-01 06:41:17,767 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-01 06:41:22,879 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-01 06:41:27,951 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-01 06:41:33,036 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-01 06:41:38,115 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-01 06:41:43,198 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-01 06:41:48,275 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-01 06:41:53,357 - DEBUG - VM is in ACTIVE state now 2026-10-01 06:41:53,358 - INFO - VM name : ctest-TestBasicPolicy-21398789-33593930 2026-10-01 06:41:53,436 - DEBUG - VM ctest-TestBasicPolicy-21398789-33593930 ID is d22b5bb8-1624-4d4b-acef-76ad7ebf8113 2026-10-01 06:41:53,457 - DEBUG - VM ctest-TestBasicPolicy-21398789-33593930 launched on Node cn-jenkins-deploy-platform-ansible-os-6335-1 2026-10-01 06:41:53,539 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/d22b5bb8-1624-4d4b-acef-76ad7ebf8113 2026-10-01 06:41:53,550 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/d3e2d8a1-68dc-458f-9915-b8c65f8446ae 2026-10-01 06:41:56,823 - 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 1009ms') 2026-10-01 06:41:56,823 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21398789-33593930 failed! 2026-10-01 06:41:56,880 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-21398789:ctest-vn-13008699 is 147.90.9.1 and allocation pool is NOT set 2026-10-01 06:41:58,944 - 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=6.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.434 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.434/3.421/6.409/2.987 ms') 2026-10-01 06:41:58,944 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21398789-33593930 passed 2026-10-01 06:41:59,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-01 06:41:59,101 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21398789-33593930, IP 147.90.9.3, Port 22 2026-10-01 06:41:59,274 - DEBUG - VM ctest-TestBasicPolicy-21398789-33593930 is ready for SSH connections 2026-10-01 06:41:59,274 - INFO - Waiting for VM ctest-TestBasicPolicy-21398789-96879386 to be up.. 2026-10-01 06:41:59,364 - DEBUG - VM is in ACTIVE state now 2026-10-01 06:41:59,365 - INFO - VM name : ctest-TestBasicPolicy-21398789-96879386 2026-10-01 06:41:59,454 - DEBUG - VM ctest-TestBasicPolicy-21398789-96879386 ID is f211a6bd-5167-4715-81b8-3957435bfa7b 2026-10-01 06:41:59,454 - DEBUG - VM ctest-TestBasicPolicy-21398789-96879386 launched on Node cn-jenkins-deploy-platform-ansible-os-6335-1 2026-10-01 06:41:59,539 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/f211a6bd-5167-4715-81b8-3957435bfa7b 2026-10-01 06:41:59,549 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/9e959578-21a4-4330-a4b7-bc3d37667ab2 2026-10-01 06:42:00,806 - 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=5.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.93 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.927/3.812/5.698/1.885 ms') 2026-10-01 06:42:00,807 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-21398789-96879386 passed 2026-10-01 06:42:00,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-01 06:42:00,961 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21398789-96879386, IP 41.211.131.131, Port 22 2026-10-01 06:42:01,027 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-01 06:42:01,110 - DEBUG - VM ctest-TestBasicPolicy-21398789-96879386 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-01 06:42:06,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-01 06:42:06,111 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21398789-96879386, IP 41.211.131.131, Port 22 2026-10-01 06:42:06,282 - DEBUG - VM ctest-TestBasicPolicy-21398789-96879386 is ready for SSH connections 2026-10-01 06:42:06,282 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-01 06:42:06,282 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.211.131.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-01 06:42:06,283 - DEBUG - ping -s 56 -c 3 -W 1 41.211.131.131 2026-10-01 06:42:10,276 - DEBUG - PING 41.211.131.131 (41.211.131.131): 56 data bytes 64 bytes from 41.211.131.131: seq=0 ttl=63 time=4.971 ms 64 bytes from 41.211.131.131: seq=1 ttl=63 time=1.177 ms 64 bytes from 41.211.131.131: seq=2 ttl=63 time=1.256 ms --- 41.211.131.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.177/2.468/4.971 ms 2026-10-01 06:42:10,276 - INFO - Ping to IP 41.211.131.131 from VM ctest-TestBasicPolicy-21398789-33593930 passed 2026-10-01 06:42:10,456 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9f7f63ec-d29d-470d-a57c-dd6c5abb96b0", "href": "http://10.0.0.161:8082/network-policy/9f7f63ec-d29d-470d-a57c-dd6c5abb96b0"}} 2026-10-01 06:42:10,456 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-01 06:42:10,456 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.211.131.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-01 06:42:10,457 - DEBUG - ping -s 56 -c 3 -W 1 41.211.131.131 2026-10-01 06:42:13,585 - DEBUG - PING 41.211.131.131 (41.211.131.131): 56 data bytes 64 bytes from 41.211.131.131: seq=0 ttl=63 time=1.625 ms --- 41.211.131.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.625/1.625/1.625 ms 2026-10-01 06:42:13,585 - WARNING - Ping to IP 41.211.131.131 from VM ctest-TestBasicPolicy-21398789-33593930 failed 2026-10-01 06:42:13,585 - INFO - Deleting VM ctest-TestBasicPolicy-21398789-96879386 2026-10-01 06:42:13,661 - INFO - Deleting VM ctest-TestBasicPolicy-21398789-33593930 2026-10-01 06:42:14,039 - INFO - Deleted policy ctest-policy-allow-all-23562030 2026-10-01 06:42:14,039 - INFO - Deleting VN ctest-vn-43996447 2026-10-01 06:42:14,073 - DEBUG - VN 9b87cc80-0822-4a89-87ae-c7d8b13ee29b still in use: Unable to complete operation on network 9b87cc80-0822-4a89-87ae-c7d8b13ee29b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5ee1dbf3-303e-49b4-bbac-fe6483163034'] 2026-10-01 06:42:14,074 - WARNING - Deleting VN ctest-vn-43996447 failed..Will retry 2026-10-01 06:42:16,200 - DEBUG - Response for deleting network () 2026-10-01 06:42:16,200 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/b86a45e8-4784-4774-b1d5-536be8ae1c1a 2026-10-01 06:42:16,207 - DEBUG - Response Code: 404 2026-10-01 06:42:16,207 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-01 06:42:16,213 - DEBUG - Requesting: http://10.0.0.161:8082/domain/bf0642f3-7204-464b-80fa-ee5df683c7fe 2026-10-01 06:42:16,268 - DEBUG - Requesting: http://10.0.0.161:8082/project/9fdf9ebe-f89f-4a16-8d6c-8f0aa4b575e1 2026-10-01 06:42:16,346 - INFO - Validated that VN ctest-vn-43996447 is not found in API Server 2026-10-01 06:42:16,357 - DEBUG - VN ctest-vn-43996447 is not present in Agent 10.0.0.161 2026-10-01 06:42:16,358 - INFO - Validated that VN ctest-vn-43996447 is not in any agent 2026-10-01 06:42:16,373 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43996447 info 2026-10-01 06:42:16,374 - INFO - Deleting VN ctest-vn-13008699 2026-10-01 06:42:16,485 - DEBUG - Response for deleting network () 2026-10-01 06:42:16,486 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6c0c6cc6-f4f8-486a-9a70-5e40edbbfb27 2026-10-01 06:42:16,491 - DEBUG - Response Code: 404 2026-10-01 06:42:16,491 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-01 06:42:16,497 - DEBUG - Requesting: http://10.0.0.161:8082/domain/bf0642f3-7204-464b-80fa-ee5df683c7fe 2026-10-01 06:42:16,550 - DEBUG - Requesting: http://10.0.0.161:8082/project/9fdf9ebe-f89f-4a16-8d6c-8f0aa4b575e1 2026-10-01 06:42:16,628 - INFO - Validated that VN ctest-vn-13008699 is not found in API Server 2026-10-01 06:42:16,639 - DEBUG - VN ctest-vn-13008699 is not present in Agent 10.0.0.161 2026-10-01 06:42:16,640 - INFO - Validated that VN ctest-vn-13008699 is not in any agent 2026-10-01 06:42:16,655 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13008699 info 2026-10-01 06:42:16,926 - DEBUG - No XMPP flaps were noticed during the test 2026-10-01 06:42:16,926 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:09] 2026-10-01 06:42:16,926 - INFO - -------------------------------------------------------------------------------- 2026-10-01 06:42:17,694 - INFO - Deleted project: ctest-TestBasicPolicy-21398789, ID : 9fdf9ebe-f89f-4a16-8d6c-8f0aa4b575e1