2026-04-20 02:21:35,264 - INFO - Domain Default found not creating 2026-04-20 02:21:35,429 - INFO - Project ctest-TestBasicPolicy-72439025 not found, creating it 2026-04-20 02:21:35,873 - INFO - Created Project:ctest-TestBasicPolicy-72439025, ID : b272db2f-1aef-41f7-ba0c-697d40c13f45 2026-04-20 02:21:37,297 - INFO - ================================================================================ 2026-04-20 02:21:37,297 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-20 02:21:37,297 - 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-04-20 02:21:37,583 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.201': '0'}} with 2026-04-20 02:21:37,583 - INFO - Initial checks done. Running the testcase now 2026-04-20 02:21:37,583 - INFO - 2026-04-20 02:21:38,123 - DEBUG - Response for create_network : {'network': {'id': 'ba5dbf03-ec6c-40a2-bd45-7cb92e70f164', 'name': 'ctest-vn-08591081', 'tenant_id': 'b272db2f1aef41f7ba0c697d40c13f45', 'project_id': 'b272db2f1aef41f7ba0c697d40c13f45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72439025', 'ctest-vn-08591081'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 02:21:38,265 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ffceee0a-5328-41e6-aca5-5b5bfa86fa7b', 'name': '', 'tenant_id': 'b272db2f1aef41f7ba0c697d40c13f45', 'network_id': 'ba5dbf03-ec6c-40a2-bd45-7cb92e70f164', 'ip_version': 4, 'cidr': '221.14.254.192/26', 'allocation_pools': [{'start': '221.14.254.194', 'end': '221.14.254.254'}], 'gateway_ip': '221.14.254.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.14.254.194', 'tags': [], 'project_id': 'b272db2f1aef41f7ba0c697d40c13f45'}} 2026-04-20 02:21:38,282 - INFO - Created VN ctest-vn-08591081 2026-04-20 02:21:38,334 - DEBUG - VN ctest-vn-08591081 UUID is ba5dbf03-ec6c-40a2-bd45-7cb92e70f164 2026-04-20 02:21:38,662 - DEBUG - Response for create_network : {'network': {'id': '85d9dfaf-4a0b-454b-9c55-9025957298ff', 'name': 'ctest-vn-02234565', 'tenant_id': 'b272db2f1aef41f7ba0c697d40c13f45', 'project_id': 'b272db2f1aef41f7ba0c697d40c13f45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72439025', 'ctest-vn-02234565'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 02:21:38,814 - DEBUG - Response for create_subnet : {'subnet': {'id': '3ebeb470-4fbd-4b6a-9d1e-6f40b92f9ffd', 'name': '', 'tenant_id': 'b272db2f1aef41f7ba0c697d40c13f45', 'network_id': '85d9dfaf-4a0b-454b-9c55-9025957298ff', 'ip_version': 4, 'cidr': '116.101.160.128/26', 'allocation_pools': [{'start': '116.101.160.130', 'end': '116.101.160.190'}], 'gateway_ip': '116.101.160.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.101.160.130', 'tags': [], 'project_id': 'b272db2f1aef41f7ba0c697d40c13f45'}} 2026-04-20 02:21:38,828 - INFO - Created VN ctest-vn-02234565 2026-04-20 02:21:38,878 - DEBUG - VN ctest-vn-02234565 UUID is 85d9dfaf-4a0b-454b-9c55-9025957298ff 2026-04-20 02:21:39,022 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-72439025:ctest-vn-08591081, 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-72439025:ctest-vn-02234565, 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-04-20 02:21:39,300 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ba5dbf03-ec6c-40a2-bd45-7cb92e70f164', 'name': 'ctest-vn-08591081', 'tenant_id': 'b272db2f1aef41f7ba0c697d40c13f45', 'project_id': 'b272db2f1aef41f7ba0c697d40c13f45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ffceee0a-5328-41e6-aca5-5b5bfa86fa7b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72439025', 'ctest-vn-08591081'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72439025', 'ctest-policy-allow-all-03626413']], 'subnet_ipam': [{'subnet_cidr': '221.14.254.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-20 02:21:39,514 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '85d9dfaf-4a0b-454b-9c55-9025957298ff', 'name': 'ctest-vn-02234565', 'tenant_id': 'b272db2f1aef41f7ba0c697d40c13f45', 'project_id': 'b272db2f1aef41f7ba0c697d40c13f45', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3ebeb470-4fbd-4b6a-9d1e-6f40b92f9ffd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72439025', 'ctest-vn-02234565'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72439025', 'ctest-policy-allow-all-03626413']], 'subnet_ipam': [{'subnet_cidr': '116.101.160.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-20 02:21:39,670 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-20 02:21:39,964 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-20 02:21:39,990 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f6843e1a-967f-4fab-9869-33658bd37986 2026-04-20 02:21:40,000 - DEBUG - Requesting: http://10.0.0.50:8082/project/b272db2f-1aef-41f7-ba0c-697d40c13f45 2026-04-20 02:21:40,068 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ba5dbf03-ec6c-40a2-bd45-7cb92e70f164 2026-04-20 02:21:40,077 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ba5dbf03-ec6c-40a2-bd45-7cb92e70f164 2026-04-20 02:21:40,084 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5448b0dc-5e48-45bf-8b3d-3d4459f6328b 2026-04-20 02:21:40,090 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5448b0dc-5e48-45bf-8b3d-3d4459f6328b 2026-04-20 02:21:40,095 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/01015795-b434-4ca1-b7b3-ebfc61f4beba 2026-04-20 02:21:40,099 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-20 02:21:40,099 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ba5dbf03-ec6c-40a2-bd45-7cb92e70f164 2026-04-20 02:21:40,106 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5448b0dc-5e48-45bf-8b3d-3d4459f6328b 2026-04-20 02:21:40,117 - INFO - Verified VN network id 11 for VN ba5dbf03-ec6c-40a2-bd45-7cb92e70f164 2026-04-20 02:21:40,117 - INFO - Verifications in API Server for VN ctest-vn-08591081 passed 2026-04-20 02:21:40,117 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ba5dbf03-ec6c-40a2-bd45-7cb92e70f164 2026-04-20 02:21:40,124 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5448b0dc-5e48-45bf-8b3d-3d4459f6328b 2026-04-20 02:21:40,128 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5448b0dc-5e48-45bf-8b3d-3d4459f6328b 2026-04-20 02:21:40,133 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/01015795-b434-4ca1-b7b3-ebfc61f4beba 2026-04-20 02:21:40,143 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72439025:ctest-vn-08591081', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72439025', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13429099687461011618', 'uuid-lslong': '13638444181351362916'}, 'enable': 'true', 'created': '2026-04-20T02:21:38', 'last-modified': '2026-04-20T02:21:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.862909'} 2026-04-20 02:21:40,148 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-20 02:21:40,148 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08591081 passed 2026-04-20 02:21:40,148 - DEBUG - ====Verifying policy data for ctest-vn-08591081 in API_Server ====== 2026-04-20 02:21:40,148 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-20 02:21:40,152 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f6843e1a-967f-4fab-9869-33658bd37986 2026-04-20 02:21:40,160 - DEBUG - Requesting: http://10.0.0.50:8082/project/b272db2f-1aef-41f7-ba0c-697d40c13f45 2026-04-20 02:21:40,225 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ba5dbf03-ec6c-40a2-bd45-7cb92e70f164 2026-04-20 02:21:40,234 - DEBUG - ==>Verifying data for policy with id: be7e147d-a338-4024-86dd-fc8b6a5ed81e, fqn: ['default-domain', 'ctest-TestBasicPolicy-72439025', 'ctest-policy-allow-all-03626413'] 2026-04-20 02:21:40,234 - INFO - VN ctest-vn-08591081 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-20 02:21:40,234 - DEBUG - Verifying the vn in opserver 2026-04-20 02:21:40,234 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72439025:ctest-vn-08591081 virtual network link through opserver 10.0.0.50 2026-04-20 02:21:40,234 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-20 02:21:40,526 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-20 02:21:40,582 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72439025:ctest-vn-08591081', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72439025:ctest-vn-08591081?flat'} 2026-04-20 02:21:40,582 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72439025:ctest-vn-08591081 is found in opserver 2026-04-20 02:21:40,590 - DEBUG - Do not have enough data to verify VN in agent 2026-04-20 02:21:40,595 - DEBUG - VRF ids for VN ctest-vn-08591081: {} 2026-04-20 02:21:40,595 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-20 02:21:40,600 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f6843e1a-967f-4fab-9869-33658bd37986 2026-04-20 02:21:40,609 - DEBUG - Requesting: http://10.0.0.50:8082/project/b272db2f-1aef-41f7-ba0c-697d40c13f45 2026-04-20 02:21:40,677 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/85d9dfaf-4a0b-454b-9c55-9025957298ff 2026-04-20 02:21:40,688 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/85d9dfaf-4a0b-454b-9c55-9025957298ff 2026-04-20 02:21:40,700 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/db90ba1d-67e2-4d0c-931c-548fa4b12687 2026-04-20 02:21:40,706 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/db90ba1d-67e2-4d0c-931c-548fa4b12687 2026-04-20 02:21:40,711 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/907d556e-4e40-4979-b3ee-7fba798212b2 2026-04-20 02:21:40,717 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-20 02:21:40,717 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/85d9dfaf-4a0b-454b-9c55-9025957298ff 2026-04-20 02:21:40,724 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/db90ba1d-67e2-4d0c-931c-548fa4b12687 2026-04-20 02:21:40,734 - INFO - Verified VN network id 12 for VN 85d9dfaf-4a0b-454b-9c55-9025957298ff 2026-04-20 02:21:40,734 - INFO - Verifications in API Server for VN ctest-vn-02234565 passed 2026-04-20 02:21:40,734 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/85d9dfaf-4a0b-454b-9c55-9025957298ff 2026-04-20 02:21:40,741 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/db90ba1d-67e2-4d0c-931c-548fa4b12687 2026-04-20 02:21:40,746 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/db90ba1d-67e2-4d0c-931c-548fa4b12687 2026-04-20 02:21:40,752 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/907d556e-4e40-4979-b3ee-7fba798212b2 2026-04-20 02:21:40,761 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72439025:ctest-vn-02234565', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72439025', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9644986020945151307', 'uuid-lslong': '11265068534032668927'}, 'enable': 'true', 'created': '2026-04-20T02:21:38', 'last-modified': '2026-04-20T02:21:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.267133'} 2026-04-20 02:21:40,766 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-20 02:21:40,766 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02234565 passed 2026-04-20 02:21:40,766 - DEBUG - ====Verifying policy data for ctest-vn-02234565 in API_Server ====== 2026-04-20 02:21:40,766 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-20 02:21:40,770 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f6843e1a-967f-4fab-9869-33658bd37986 2026-04-20 02:21:40,779 - DEBUG - Requesting: http://10.0.0.50:8082/project/b272db2f-1aef-41f7-ba0c-697d40c13f45 2026-04-20 02:21:40,845 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/85d9dfaf-4a0b-454b-9c55-9025957298ff 2026-04-20 02:21:40,852 - DEBUG - ==>Verifying data for policy with id: be7e147d-a338-4024-86dd-fc8b6a5ed81e, fqn: ['default-domain', 'ctest-TestBasicPolicy-72439025', 'ctest-policy-allow-all-03626413'] 2026-04-20 02:21:40,852 - INFO - VN ctest-vn-02234565 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-20 02:21:40,853 - DEBUG - Verifying the vn in opserver 2026-04-20 02:21:40,853 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72439025:ctest-vn-02234565 virtual network link through opserver 10.0.0.50 2026-04-20 02:21:40,853 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-20 02:21:40,861 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72439025:ctest-vn-02234565', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72439025:ctest-vn-02234565?flat'} 2026-04-20 02:21:40,861 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72439025:ctest-vn-02234565 is found in opserver 2026-04-20 02:21:40,869 - DEBUG - Do not have enough data to verify VN in agent 2026-04-20 02:21:40,873 - DEBUG - VRF ids for VN ctest-vn-02234565: {} 2026-04-20 02:21:40,926 - DEBUG - Services list from nova: [, , ] 2026-04-20 02:21:41,907 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5648-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5648-1) 2026-04-20 02:21:43,001 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5648-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5648-1) 2026-04-20 02:21:43,001 - INFO - Waiting for VM ctest-TestBasicPolicy-72439025-09773015 to be up.. 2026-04-20 02:21:43,086 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-20 02:21:48,155 - DEBUG - VM is in ACTIVE state now 2026-04-20 02:21:48,156 - INFO - VM name : ctest-TestBasicPolicy-72439025-09773015 2026-04-20 02:21:48,222 - DEBUG - VM ctest-TestBasicPolicy-72439025-09773015 ID is 9f3cefe7-494b-4a00-bdf2-6763e2e64bc1 2026-04-20 02:21:48,239 - DEBUG - VM ctest-TestBasicPolicy-72439025-09773015 launched on Node cn-jenkins-deploy-platform-ansible-os-5648-1 2026-04-20 02:21:48,310 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9f3cefe7-494b-4a00-bdf2-6763e2e64bc1 2026-04-20 02:21:48,317 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/89896b26-7c6d-457b-b690-7503cfc1b25b 2026-04-20 02:21:51,518 - 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 1011ms') 2026-04-20 02:21:51,518 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72439025-09773015 failed! 2026-04-20 02:21:51,570 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72439025:ctest-vn-08591081 is 221.14.254.193 and allocation pool is NOT set 2026-04-20 02:21:53,635 - 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=3.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.350 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.350/2.030/3.710/1.680 ms') 2026-04-20 02:21:53,636 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72439025-09773015 passed 2026-04-20 02:21:53,786 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:21:53,786 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72439025-09773015, IP 221.14.254.195, Port 22 2026-04-20 02:21:53,851 - 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-04-20 02:21:53,932 - DEBUG - VM ctest-TestBasicPolicy-72439025-09773015 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-20 02:21:58,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:21:58,933 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72439025-09773015, IP 221.14.254.195, Port 22 2026-04-20 02:21:59,097 - DEBUG - VM ctest-TestBasicPolicy-72439025-09773015 is ready for SSH connections 2026-04-20 02:21:59,097 - INFO - Waiting for VM ctest-TestBasicPolicy-72439025-20173647 to be up.. 2026-04-20 02:21:59,167 - DEBUG - VM is in ACTIVE state now 2026-04-20 02:21:59,167 - INFO - VM name : ctest-TestBasicPolicy-72439025-20173647 2026-04-20 02:21:59,234 - DEBUG - VM ctest-TestBasicPolicy-72439025-20173647 ID is 7f29505d-b568-4640-9a6e-28ee3afe5502 2026-04-20 02:21:59,234 - DEBUG - VM ctest-TestBasicPolicy-72439025-20173647 launched on Node cn-jenkins-deploy-platform-ansible-os-5648-1 2026-04-20 02:21:59,299 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7f29505d-b568-4640-9a6e-28ee3afe5502 2026-04-20 02:21:59,307 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/99ba1235-7193-482f-bcd6-94e837e67325 2026-04-20 02:22:00,542 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.377 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.377/1.595/2.814/1.218 ms') 2026-04-20 02:22:00,542 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-72439025-20173647 passed 2026-04-20 02:22:00,690 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:22:00,690 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72439025-20173647, IP 116.101.160.131, Port 22 2026-04-20 02:22:00,850 - DEBUG - VM ctest-TestBasicPolicy-72439025-20173647 is ready for SSH connections 2026-04-20 02:22:00,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:22:00,850 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.101.160.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-20 02:22:00,850 - DEBUG - ping -s 56 -c 3 -W 1 116.101.160.131 2026-04-20 02:22:04,835 - DEBUG - PING 116.101.160.131 (116.101.160.131): 56 data bytes 64 bytes from 116.101.160.131: seq=0 ttl=63 time=3.942 ms 64 bytes from 116.101.160.131: seq=1 ttl=63 time=1.034 ms 64 bytes from 116.101.160.131: seq=2 ttl=63 time=0.832 ms --- 116.101.160.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.832/1.936/3.942 ms 2026-04-20 02:22:04,835 - INFO - Ping to IP 116.101.160.131 from VM ctest-TestBasicPolicy-72439025-09773015 passed 2026-04-20 02:22:05,010 - DEBUG - Policy Update Response {"network-policy": {"uuid": "be7e147d-a338-4024-86dd-fc8b6a5ed81e", "href": "http://10.0.0.50:8082/network-policy/be7e147d-a338-4024-86dd-fc8b6a5ed81e"}} 2026-04-20 02:22:05,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:22:05,010 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.101.160.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-20 02:22:05,010 - DEBUG - ping -s 56 -c 3 -W 1 116.101.160.131 2026-04-20 02:22:08,237 - DEBUG - PING 116.101.160.131 (116.101.160.131): 56 data bytes --- 116.101.160.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-20 02:22:08,237 - WARNING - Ping to IP 116.101.160.131 from VM ctest-TestBasicPolicy-72439025-09773015 failed 2026-04-20 02:22:08,238 - INFO - Deleting VM ctest-TestBasicPolicy-72439025-20173647 2026-04-20 02:22:08,298 - INFO - Deleting VM ctest-TestBasicPolicy-72439025-09773015 2026-04-20 02:22:08,654 - INFO - Deleted policy ctest-policy-allow-all-03626413 2026-04-20 02:22:08,654 - INFO - Deleting VN ctest-vn-02234565 2026-04-20 02:22:08,684 - DEBUG - VN 85d9dfaf-4a0b-454b-9c55-9025957298ff still in use: Unable to complete operation on network 85d9dfaf-4a0b-454b-9c55-9025957298ff. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c36fec9f-ed82-4a84-846f-defda75f89fe'] 2026-04-20 02:22:08,684 - WARNING - Deleting VN ctest-vn-02234565 failed..Will retry 2026-04-20 02:22:10,776 - DEBUG - Response for deleting network () 2026-04-20 02:22:10,776 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/db90ba1d-67e2-4d0c-931c-548fa4b12687 2026-04-20 02:22:10,781 - DEBUG - Response Code: 404 2026-04-20 02:22:10,781 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-20 02:22:10,787 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f6843e1a-967f-4fab-9869-33658bd37986 2026-04-20 02:22:10,840 - DEBUG - Requesting: http://10.0.0.50:8082/project/b272db2f-1aef-41f7-ba0c-697d40c13f45 2026-04-20 02:22:10,909 - INFO - Validated that VN ctest-vn-02234565 is not found in API Server 2026-04-20 02:22:10,919 - DEBUG - VN ctest-vn-02234565 is not present in Agent 10.0.0.50 2026-04-20 02:22:10,920 - INFO - Validated that VN ctest-vn-02234565 is not in any agent 2026-04-20 02:22:10,931 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02234565 info 2026-04-20 02:22:10,932 - INFO - Deleting VN ctest-vn-08591081 2026-04-20 02:22:11,027 - DEBUG - Response for deleting network () 2026-04-20 02:22:11,027 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5448b0dc-5e48-45bf-8b3d-3d4459f6328b 2026-04-20 02:22:11,032 - DEBUG - Response Code: 404 2026-04-20 02:22:11,032 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-20 02:22:11,038 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f6843e1a-967f-4fab-9869-33658bd37986 2026-04-20 02:22:11,090 - DEBUG - Requesting: http://10.0.0.50:8082/project/b272db2f-1aef-41f7-ba0c-697d40c13f45 2026-04-20 02:22:11,158 - INFO - Validated that VN ctest-vn-08591081 is not found in API Server 2026-04-20 02:22:11,167 - DEBUG - VN ctest-vn-08591081 is not present in Agent 10.0.0.50 2026-04-20 02:22:11,167 - INFO - Validated that VN ctest-vn-08591081 is not in any agent 2026-04-20 02:22:11,179 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08591081 info 2026-04-20 02:22:11,431 - DEBUG - No XMPP flaps were noticed during the test
2026-04-20 02:22:11,431 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2026-04-20 02:22:11,431 - INFO - -------------------------------------------------------------------------------- 2026-04-20 02:22:12,086 - INFO - Deleted project: ctest-TestBasicPolicy-72439025, ID : b272db2f-1aef-41f7-ba0c-697d40c13f45