2026-10-30 00:26:32,271 - INFO - Domain Default found not creating 2026-10-30 00:26:32,397 - INFO - Project ctest-TestBasicPolicy-52942994 not found, creating it 2026-10-30 00:26:32,856 - INFO - Created Project:ctest-TestBasicPolicy-52942994, ID : 6c31cb3c-6df2-40fe-b69f-8def22c08b84 2026-10-30 00:26:34,265 - INFO - ================================================================================ 2026-10-30 00:26:34,265 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-30 00:26:34,265 - 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-30 00:26:34,519 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.17': '0'}} with 2026-10-30 00:26:34,519 - INFO - Initial checks done. Running the testcase now 2026-10-30 00:26:34,519 - INFO - 2026-10-30 00:26:35,042 - DEBUG - Response for create_network : {'network': {'id': 'c1270011-0393-477c-a861-950cd0cb53b0', 'name': 'ctest-vn-51028883', 'tenant_id': '6c31cb3c6df240feb69f8def22c08b84', 'project_id': '6c31cb3c6df240feb69f8def22c08b84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52942994', 'ctest-vn-51028883'], 'port_security_enabled': True, 'description': ''}} 2026-10-30 00:26:35,195 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1737543-fc39-4f05-9212-7449a832d6c6', 'name': '', 'tenant_id': '6c31cb3c6df240feb69f8def22c08b84', 'network_id': 'c1270011-0393-477c-a861-950cd0cb53b0', 'ip_version': 4, 'cidr': '31.41.97.128/26', 'allocation_pools': [{'start': '31.41.97.130', 'end': '31.41.97.190'}], 'gateway_ip': '31.41.97.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.41.97.130', 'tags': [], 'project_id': '6c31cb3c6df240feb69f8def22c08b84'}} 2026-10-30 00:26:35,206 - INFO - Created VN ctest-vn-51028883 2026-10-30 00:26:35,254 - DEBUG - VN ctest-vn-51028883 UUID is c1270011-0393-477c-a861-950cd0cb53b0 2026-10-30 00:26:35,533 - DEBUG - Response for create_network : {'network': {'id': '65722af0-378c-466a-b22c-e88abe0f52ff', 'name': 'ctest-vn-93619656', 'tenant_id': '6c31cb3c6df240feb69f8def22c08b84', 'project_id': '6c31cb3c6df240feb69f8def22c08b84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52942994', 'ctest-vn-93619656'], 'port_security_enabled': True, 'description': ''}} 2026-10-30 00:26:35,675 - DEBUG - Response for create_subnet : {'subnet': {'id': '900266c8-ffaf-44f3-9a75-7408d3b13b46', 'name': '', 'tenant_id': '6c31cb3c6df240feb69f8def22c08b84', 'network_id': '65722af0-378c-466a-b22c-e88abe0f52ff', 'ip_version': 4, 'cidr': '198.197.223.192/26', 'allocation_pools': [{'start': '198.197.223.194', 'end': '198.197.223.254'}], 'gateway_ip': '198.197.223.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.197.223.194', 'tags': [], 'project_id': '6c31cb3c6df240feb69f8def22c08b84'}} 2026-10-30 00:26:35,687 - INFO - Created VN ctest-vn-93619656 2026-10-30 00:26:35,734 - DEBUG - VN ctest-vn-93619656 UUID is 65722af0-378c-466a-b22c-e88abe0f52ff 2026-10-30 00:26:35,866 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-52942994:ctest-vn-51028883, 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-52942994:ctest-vn-93619656, 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-30 00:26:36,143 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c1270011-0393-477c-a861-950cd0cb53b0', 'name': 'ctest-vn-51028883', 'tenant_id': '6c31cb3c6df240feb69f8def22c08b84', 'project_id': '6c31cb3c6df240feb69f8def22c08b84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e1737543-fc39-4f05-9212-7449a832d6c6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52942994', 'ctest-vn-51028883'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52942994', 'ctest-policy-allow-all-16884208']], 'subnet_ipam': [{'subnet_cidr': '31.41.97.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-30 00:26:36,350 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '65722af0-378c-466a-b22c-e88abe0f52ff', 'name': 'ctest-vn-93619656', 'tenant_id': '6c31cb3c6df240feb69f8def22c08b84', 'project_id': '6c31cb3c6df240feb69f8def22c08b84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['900266c8-ffaf-44f3-9a75-7408d3b13b46'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52942994', 'ctest-vn-93619656'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52942994', 'ctest-policy-allow-all-16884208']], 'subnet_ipam': [{'subnet_cidr': '198.197.223.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-30 00:26:36,502 - DEBUG - Requesting: http://10.0.0.250:8082/domains 2026-10-30 00:26:36,813 - DEBUG - Requesting: http://10.0.0.250:8082/domains 2026-10-30 00:26:36,842 - DEBUG - Requesting: http://10.0.0.250:8082/domain/8c71abcc-18f4-48d9-a920-d3c340a55008 2026-10-30 00:26:36,853 - DEBUG - Requesting: http://10.0.0.250:8082/project/6c31cb3c-6df2-40fe-b69f-8def22c08b84 2026-10-30 00:26:36,925 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/c1270011-0393-477c-a861-950cd0cb53b0 2026-10-30 00:26:36,934 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/c1270011-0393-477c-a861-950cd0cb53b0 2026-10-30 00:26:36,942 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/d579587e-ebd6-4961-abf0-eab929b40c61 2026-10-30 00:26:36,947 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/d579587e-ebd6-4961-abf0-eab929b40c61 2026-10-30 00:26:36,952 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/0abbc9f3-1400-44b6-957d-515c376539bb 2026-10-30 00:26:36,956 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-30 00:26:36,956 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/c1270011-0393-477c-a861-950cd0cb53b0 2026-10-30 00:26:36,962 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/d579587e-ebd6-4961-abf0-eab929b40c61 2026-10-30 00:26:36,972 - INFO - Verified VN network id 12 for VN c1270011-0393-477c-a861-950cd0cb53b0 2026-10-30 00:26:36,972 - INFO - Verifications in API Server for VN ctest-vn-51028883 passed 2026-10-30 00:26:36,972 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/c1270011-0393-477c-a861-950cd0cb53b0 2026-10-30 00:26:36,979 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/d579587e-ebd6-4961-abf0-eab929b40c61 2026-10-30 00:26:36,984 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/d579587e-ebd6-4961-abf0-eab929b40c61 2026-10-30 00:26:36,989 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/0abbc9f3-1400-44b6-957d-515c376539bb 2026-10-30 00:26:36,998 - DEBUG - Control-node 10.0.0.250 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52942994:ctest-vn-51028883', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52942994', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13918093246486235004', 'uuid-lslong': '12133142753387959216'}, 'enable': 'true', 'created': '2026-10-30T00:26:35', 'last-modified': '2026-10-30T00:26:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.873896'} 2026-10-30 00:26:37,004 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-30 00:26:37,004 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51028883 passed 2026-10-30 00:26:37,004 - DEBUG - ====Verifying policy data for ctest-vn-51028883 in API_Server ====== 2026-10-30 00:26:37,004 - DEBUG - Requesting: http://10.0.0.250:8082/domains 2026-10-30 00:26:37,007 - DEBUG - Requesting: http://10.0.0.250:8082/domain/8c71abcc-18f4-48d9-a920-d3c340a55008 2026-10-30 00:26:37,015 - DEBUG - Requesting: http://10.0.0.250:8082/project/6c31cb3c-6df2-40fe-b69f-8def22c08b84 2026-10-30 00:26:37,087 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/c1270011-0393-477c-a861-950cd0cb53b0 2026-10-30 00:26:37,093 - DEBUG - ==>Verifying data for policy with id: 566a25db-6ff5-44e4-ae91-d3c96cd486d1, fqn: ['default-domain', 'ctest-TestBasicPolicy-52942994', 'ctest-policy-allow-all-16884208'] 2026-10-30 00:26:37,093 - INFO - VN ctest-vn-51028883 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-30 00:26:37,093 - DEBUG - Verifying the vn in opserver 2026-10-30 00:26:37,093 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52942994:ctest-vn-51028883 virtual network link through opserver 10.0.0.250 2026-10-30 00:26:37,094 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks 2026-10-30 00:26:37,404 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks 2026-10-30 00:26:37,444 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52942994:ctest-vn-51028883', 'href': 'http://10.0.0.250:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52942994:ctest-vn-51028883?flat'} 2026-10-30 00:26:37,444 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52942994:ctest-vn-51028883 is found in opserver 2026-10-30 00:26:37,452 - DEBUG - Do not have enough data to verify VN in agent 2026-10-30 00:26:37,455 - DEBUG - VRF ids for VN ctest-vn-51028883: {} 2026-10-30 00:26:37,456 - DEBUG - Requesting: http://10.0.0.250:8082/domains 2026-10-30 00:26:37,459 - DEBUG - Requesting: http://10.0.0.250:8082/domain/8c71abcc-18f4-48d9-a920-d3c340a55008 2026-10-30 00:26:37,467 - DEBUG - Requesting: http://10.0.0.250:8082/project/6c31cb3c-6df2-40fe-b69f-8def22c08b84 2026-10-30 00:26:37,536 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/65722af0-378c-466a-b22c-e88abe0f52ff 2026-10-30 00:26:37,544 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/65722af0-378c-466a-b22c-e88abe0f52ff 2026-10-30 00:26:37,554 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/c52d6fb1-f393-4282-8842-6d8733d9edf3 2026-10-30 00:26:37,559 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/c52d6fb1-f393-4282-8842-6d8733d9edf3 2026-10-30 00:26:37,564 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/9c0ede6e-61fd-4b53-9aec-20e0f91f72e3 2026-10-30 00:26:37,568 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-30 00:26:37,568 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/65722af0-378c-466a-b22c-e88abe0f52ff 2026-10-30 00:26:37,575 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/c52d6fb1-f393-4282-8842-6d8733d9edf3 2026-10-30 00:26:37,584 - INFO - Verified VN network id 13 for VN 65722af0-378c-466a-b22c-e88abe0f52ff 2026-10-30 00:26:37,584 - INFO - Verifications in API Server for VN ctest-vn-93619656 passed 2026-10-30 00:26:37,584 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/65722af0-378c-466a-b22c-e88abe0f52ff 2026-10-30 00:26:37,591 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/c52d6fb1-f393-4282-8842-6d8733d9edf3 2026-10-30 00:26:37,596 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/c52d6fb1-f393-4282-8842-6d8733d9edf3 2026-10-30 00:26:37,600 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/9c0ede6e-61fd-4b53-9aec-20e0f91f72e3 2026-10-30 00:26:37,610 - DEBUG - Control-node 10.0.0.250 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52942994:ctest-vn-93619656', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52942994', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7309952356388193898', 'uuid-lslong': '12838892320318247679'}, 'enable': 'true', 'created': '2026-10-30T00:26:35', 'last-modified': '2026-10-30T00:26:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.279479'} 2026-10-30 00:26:37,616 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-30 00:26:37,616 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93619656 passed 2026-10-30 00:26:37,616 - DEBUG - ====Verifying policy data for ctest-vn-93619656 in API_Server ====== 2026-10-30 00:26:37,616 - DEBUG - Requesting: http://10.0.0.250:8082/domains 2026-10-30 00:26:37,621 - DEBUG - Requesting: http://10.0.0.250:8082/domain/8c71abcc-18f4-48d9-a920-d3c340a55008 2026-10-30 00:26:37,629 - DEBUG - Requesting: http://10.0.0.250:8082/project/6c31cb3c-6df2-40fe-b69f-8def22c08b84 2026-10-30 00:26:37,693 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/65722af0-378c-466a-b22c-e88abe0f52ff 2026-10-30 00:26:37,699 - DEBUG - ==>Verifying data for policy with id: 566a25db-6ff5-44e4-ae91-d3c96cd486d1, fqn: ['default-domain', 'ctest-TestBasicPolicy-52942994', 'ctest-policy-allow-all-16884208'] 2026-10-30 00:26:37,699 - INFO - VN ctest-vn-93619656 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-30 00:26:37,699 - DEBUG - Verifying the vn in opserver 2026-10-30 00:26:37,699 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52942994:ctest-vn-93619656 virtual network link through opserver 10.0.0.250 2026-10-30 00:26:37,699 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks 2026-10-30 00:26:37,706 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52942994:ctest-vn-93619656', 'href': 'http://10.0.0.250:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52942994:ctest-vn-93619656?flat'} 2026-10-30 00:26:37,706 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52942994:ctest-vn-93619656 is found in opserver 2026-10-30 00:26:37,715 - DEBUG - Do not have enough data to verify VN in agent 2026-10-30 00:26:37,719 - DEBUG - VRF ids for VN ctest-vn-93619656: {} 2026-10-30 00:26:37,762 - DEBUG - Services list from nova: [, , ] 2026-10-30 00:26:38,090 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6445-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6445-1) 2026-10-30 00:26:38,372 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6445-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6445-1) 2026-10-30 00:26:38,372 - INFO - Waiting for VM ctest-TestBasicPolicy-52942994-40045694 to be up.. 2026-10-30 00:26:38,400 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 00:26:43,460 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 00:26:48,526 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 00:26:53,590 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 00:26:58,664 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 00:27:03,731 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 00:27:08,793 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-30 00:27:13,859 - DEBUG - VM is in ACTIVE state now 2026-10-30 00:27:13,859 - INFO - VM name : ctest-TestBasicPolicy-52942994-40045694 2026-10-30 00:27:13,919 - DEBUG - VM ctest-TestBasicPolicy-52942994-40045694 ID is 3fd6926c-35fb-4217-b677-c0aac12d07b5 2026-10-30 00:27:13,939 - DEBUG - VM ctest-TestBasicPolicy-52942994-40045694 launched on Node cn-jenkins-deploy-platform-ansible-os-6445-1 2026-10-30 00:27:14,005 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/3fd6926c-35fb-4217-b677-c0aac12d07b5 2026-10-30 00:27:14,013 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/94d7fa7a-220b-41ee-8cbc-6a8263b65d2c 2026-10-30 00:27:17,262 - 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 1015ms') 2026-10-30 00:27:17,262 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52942994-40045694 failed! 2026-10-30 00:27:17,314 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-52942994:ctest-vn-51028883 is 31.41.97.129 and allocation pool is NOT set 2026-10-30 00:27:19,372 - 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=7.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.07 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.073/4.691/7.309/2.618 ms') 2026-10-30 00:27:19,372 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52942994-40045694 passed 2026-10-30 00:27:19,522 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-30 00:27:19,522 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52942994-40045694, IP 31.41.97.131, Port 22 2026-10-30 00:27:19,591 - 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-30 00:27:19,656 - DEBUG - VM ctest-TestBasicPolicy-52942994-40045694 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-30 00:27:24,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-30 00:27:24,657 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52942994-40045694, IP 31.41.97.131, Port 22 2026-10-30 00:27:24,823 - DEBUG - VM ctest-TestBasicPolicy-52942994-40045694 is ready for SSH connections 2026-10-30 00:27:24,824 - INFO - Waiting for VM ctest-TestBasicPolicy-52942994-92111299 to be up.. 2026-10-30 00:27:24,882 - DEBUG - VM is in ACTIVE state now 2026-10-30 00:27:24,883 - INFO - VM name : ctest-TestBasicPolicy-52942994-92111299 2026-10-30 00:27:24,937 - DEBUG - VM ctest-TestBasicPolicy-52942994-92111299 ID is 9cef8639-8382-4546-9f2c-c686c567ac8f 2026-10-30 00:27:24,937 - DEBUG - VM ctest-TestBasicPolicy-52942994-92111299 launched on Node cn-jenkins-deploy-platform-ansible-os-6445-1 2026-10-30 00:27:24,990 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/9cef8639-8382-4546-9f2c-c686c567ac8f 2026-10-30 00:27:24,996 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/431b8637-0238-4efd-860d-913dd28a0743 2026-10-30 00:27:26,225 - 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=2.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.385 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.385/1.659/2.934/1.274 ms') 2026-10-30 00:27:26,225 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-52942994-92111299 passed 2026-10-30 00:27:26,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-30 00:27:26,374 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52942994-92111299, IP 198.197.223.195, Port 22 2026-10-30 00:27:26,525 - DEBUG - VM ctest-TestBasicPolicy-52942994-92111299 is ready for SSH connections 2026-10-30 00:27:26,525 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-30 00:27:26,525 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.197.223.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.250, gateway password: c0ntrail123 2026-10-30 00:27:26,525 - DEBUG - ping -s 56 -c 3 -W 1 198.197.223.195 2026-10-30 00:27:30,332 - DEBUG - PING 198.197.223.195 (198.197.223.195): 56 data bytes 64 bytes from 198.197.223.195: seq=0 ttl=63 time=3.574 ms 64 bytes from 198.197.223.195: seq=1 ttl=63 time=0.731 ms 64 bytes from 198.197.223.195: seq=2 ttl=63 time=0.783 ms --- 198.197.223.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.731/1.696/3.574 ms 2026-10-30 00:27:30,332 - INFO - Ping to IP 198.197.223.195 from VM ctest-TestBasicPolicy-52942994-40045694 passed 2026-10-30 00:27:30,498 - DEBUG - Policy Update Response {"network-policy": {"uuid": "566a25db-6ff5-44e4-ae91-d3c96cd486d1", "href": "http://10.0.0.250:8082/network-policy/566a25db-6ff5-44e4-ae91-d3c96cd486d1"}} 2026-10-30 00:27:30,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-30 00:27:30,498 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.197.223.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.250, gateway password: c0ntrail123 2026-10-30 00:27:30,498 - DEBUG - ping -s 56 -c 3 -W 1 198.197.223.195 2026-10-30 00:27:33,611 - DEBUG - PING 198.197.223.195 (198.197.223.195): 56 data bytes 64 bytes from 198.197.223.195: seq=0 ttl=63 time=1.374 ms --- 198.197.223.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.374/1.374/1.374 ms 2026-10-30 00:27:33,611 - WARNING - Ping to IP 198.197.223.195 from VM ctest-TestBasicPolicy-52942994-40045694 failed 2026-10-30 00:27:33,612 - INFO - Deleting VM ctest-TestBasicPolicy-52942994-92111299 2026-10-30 00:27:33,670 - INFO - Deleting VM ctest-TestBasicPolicy-52942994-40045694 2026-10-30 00:27:33,955 - INFO - Deleted policy ctest-policy-allow-all-16884208 2026-10-30 00:27:33,955 - INFO - Deleting VN ctest-vn-93619656 2026-10-30 00:27:33,980 - DEBUG - VN 65722af0-378c-466a-b22c-e88abe0f52ff still in use: Unable to complete operation on network 65722af0-378c-466a-b22c-e88abe0f52ff. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ec2fb62b-1284-4f4d-b7c9-4e5327bc573b'] 2026-10-30 00:27:33,980 - WARNING - Deleting VN ctest-vn-93619656 failed..Will retry 2026-10-30 00:27:36,010 - DEBUG - VN 65722af0-378c-466a-b22c-e88abe0f52ff still in use: Unable to complete operation on network 65722af0-378c-466a-b22c-e88abe0f52ff. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-05d06bd7-defc-49d5-893f-6855ab9e3263'] 2026-10-30 00:27:36,010 - WARNING - Deleting VN ctest-vn-93619656 failed..Will retry 2026-10-30 00:27:38,097 - DEBUG - Response for deleting network () 2026-10-30 00:27:38,097 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/c52d6fb1-f393-4282-8842-6d8733d9edf3 2026-10-30 00:27:38,102 - DEBUG - Response Code: 404 2026-10-30 00:27:38,103 - DEBUG - Requesting: http://10.0.0.250:8082/domains 2026-10-30 00:27:38,106 - DEBUG - Requesting: http://10.0.0.250:8082/domain/8c71abcc-18f4-48d9-a920-d3c340a55008 2026-10-30 00:27:38,158 - DEBUG - Requesting: http://10.0.0.250:8082/project/6c31cb3c-6df2-40fe-b69f-8def22c08b84 2026-10-30 00:27:38,228 - INFO - Validated that VN ctest-vn-93619656 is not found in API Server 2026-10-30 00:27:38,238 - DEBUG - VN ctest-vn-93619656 is not present in Agent 10.0.0.250 2026-10-30 00:27:38,238 - INFO - Validated that VN ctest-vn-93619656 is not in any agent 2026-10-30 00:27:38,250 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93619656 info 2026-10-30 00:27:38,250 - INFO - Deleting VN ctest-vn-51028883 2026-10-30 00:27:38,332 - DEBUG - Response for deleting network () 2026-10-30 00:27:38,332 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/d579587e-ebd6-4961-abf0-eab929b40c61 2026-10-30 00:27:38,336 - DEBUG - Response Code: 404 2026-10-30 00:27:38,339 - DEBUG - Requesting: http://10.0.0.250:8082/domains 2026-10-30 00:27:38,343 - DEBUG - Requesting: http://10.0.0.250:8082/domain/8c71abcc-18f4-48d9-a920-d3c340a55008 2026-10-30 00:27:38,393 - DEBUG - Requesting: http://10.0.0.250:8082/project/6c31cb3c-6df2-40fe-b69f-8def22c08b84 2026-10-30 00:27:38,463 - INFO - Validated that VN ctest-vn-51028883 is not found in API Server 2026-10-30 00:27:38,471 - DEBUG - VN ctest-vn-51028883 is not present in Agent 10.0.0.250 2026-10-30 00:27:38,472 - INFO - Validated that VN ctest-vn-51028883 is not in any agent 2026-10-30 00:27:38,483 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51028883 info 2026-10-30 00:27:38,738 - DEBUG - No XMPP flaps were noticed during the test
2026-10-30 00:27:38,738 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:04]
2026-10-30 00:27:38,739 - INFO - -------------------------------------------------------------------------------- 2026-10-30 00:27:39,412 - INFO - Deleted project: ctest-TestBasicPolicy-52942994, ID : 6c31cb3c-6df2-40fe-b69f-8def22c08b84