2026-04-29 14:13:52,245 - INFO - Domain Default found not creating 2026-04-29 14:13:52,443 - INFO - Project ctest-TestBasicPolicy-92627073 not found, creating it 2026-04-29 14:13:52,951 - INFO - Created Project:ctest-TestBasicPolicy-92627073, ID : e95123fb-96d4-446b-9a25-a8ad6d28d380 2026-04-29 14:13:54,541 - INFO - ================================================================================ 2026-04-29 14:13:54,541 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-29 14:13:54,541 - 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-29 14:13:54,797 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-29 14:13:54,797 - INFO - Initial checks done. Running the testcase now 2026-04-29 14:13:54,797 - INFO - 2026-04-29 14:13:55,374 - DEBUG - Response for create_network : {'network': {'id': 'd488a8e8-b284-42de-89b2-653e762c3cc6', 'name': 'ctest-vn-30835714', 'tenant_id': 'e95123fb96d4446b9a25a8ad6d28d380', 'project_id': 'e95123fb96d4446b9a25a8ad6d28d380', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92627073', 'ctest-vn-30835714'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 14:13:55,536 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4328006-25de-4172-8f5e-e01771c7b552', 'name': '', 'tenant_id': 'e95123fb96d4446b9a25a8ad6d28d380', 'network_id': 'd488a8e8-b284-42de-89b2-653e762c3cc6', 'ip_version': 4, 'cidr': '87.72.180.0/26', 'allocation_pools': [{'start': '87.72.180.2', 'end': '87.72.180.62'}], 'gateway_ip': '87.72.180.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.72.180.2', 'tags': [], 'project_id': 'e95123fb96d4446b9a25a8ad6d28d380'}} 2026-04-29 14:13:55,555 - INFO - Created VN ctest-vn-30835714 2026-04-29 14:13:55,610 - DEBUG - VN ctest-vn-30835714 UUID is d488a8e8-b284-42de-89b2-653e762c3cc6 2026-04-29 14:13:55,923 - DEBUG - Response for create_network : {'network': {'id': '247d02a1-ffa2-42f2-a856-ec19d78c4da3', 'name': 'ctest-vn-24785865', 'tenant_id': 'e95123fb96d4446b9a25a8ad6d28d380', 'project_id': 'e95123fb96d4446b9a25a8ad6d28d380', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92627073', 'ctest-vn-24785865'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 14:13:56,076 - DEBUG - Response for create_subnet : {'subnet': {'id': '867dbbc0-ff45-4aec-9266-5000e77340ab', 'name': '', 'tenant_id': 'e95123fb96d4446b9a25a8ad6d28d380', 'network_id': '247d02a1-ffa2-42f2-a856-ec19d78c4da3', 'ip_version': 4, 'cidr': '137.142.197.192/26', 'allocation_pools': [{'start': '137.142.197.194', 'end': '137.142.197.254'}], 'gateway_ip': '137.142.197.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.142.197.194', 'tags': [], 'project_id': 'e95123fb96d4446b9a25a8ad6d28d380'}} 2026-04-29 14:13:56,093 - INFO - Created VN ctest-vn-24785865 2026-04-29 14:13:56,146 - DEBUG - VN ctest-vn-24785865 UUID is 247d02a1-ffa2-42f2-a856-ec19d78c4da3 2026-04-29 14:13:56,263 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92627073:ctest-vn-30835714, 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-92627073:ctest-vn-24785865, 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-29 14:13:56,556 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd488a8e8-b284-42de-89b2-653e762c3cc6', 'name': 'ctest-vn-30835714', 'tenant_id': 'e95123fb96d4446b9a25a8ad6d28d380', 'project_id': 'e95123fb96d4446b9a25a8ad6d28d380', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b4328006-25de-4172-8f5e-e01771c7b552'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92627073', 'ctest-vn-30835714'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92627073', 'ctest-policy-allow-all-22357761']], 'subnet_ipam': [{'subnet_cidr': '87.72.180.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-29 14:13:56,797 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '247d02a1-ffa2-42f2-a856-ec19d78c4da3', 'name': 'ctest-vn-24785865', 'tenant_id': 'e95123fb96d4446b9a25a8ad6d28d380', 'project_id': 'e95123fb96d4446b9a25a8ad6d28d380', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['867dbbc0-ff45-4aec-9266-5000e77340ab'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92627073', 'ctest-vn-24785865'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92627073', 'ctest-policy-allow-all-22357761']], 'subnet_ipam': [{'subnet_cidr': '137.142.197.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-29 14:13:56,958 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-29 14:13:57,266 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-29 14:13:57,299 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b616e12f-51c1-4b49-8976-d95ba1be5731 2026-04-29 14:13:57,312 - DEBUG - Requesting: http://10.0.0.50:8082/project/e95123fb-96d4-446b-9a25-a8ad6d28d380 2026-04-29 14:13:57,386 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d488a8e8-b284-42de-89b2-653e762c3cc6 2026-04-29 14:13:57,400 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d488a8e8-b284-42de-89b2-653e762c3cc6 2026-04-29 14:13:57,412 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fa1fa628-15d7-4f84-9b44-beb9d8029d5f 2026-04-29 14:13:57,420 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fa1fa628-15d7-4f84-9b44-beb9d8029d5f 2026-04-29 14:13:57,429 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/efd31f95-a29f-4d4b-940a-8cc8000fa2dd 2026-04-29 14:13:57,435 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-29 14:13:57,435 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d488a8e8-b284-42de-89b2-653e762c3cc6 2026-04-29 14:13:57,445 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fa1fa628-15d7-4f84-9b44-beb9d8029d5f 2026-04-29 14:13:57,463 - INFO - Verified VN network id 11 for VN d488a8e8-b284-42de-89b2-653e762c3cc6 2026-04-29 14:13:57,463 - INFO - Verifications in API Server for VN ctest-vn-30835714 passed 2026-04-29 14:13:57,463 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d488a8e8-b284-42de-89b2-653e762c3cc6 2026-04-29 14:13:57,474 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fa1fa628-15d7-4f84-9b44-beb9d8029d5f 2026-04-29 14:13:57,483 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fa1fa628-15d7-4f84-9b44-beb9d8029d5f 2026-04-29 14:13:57,490 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/efd31f95-a29f-4d4b-940a-8cc8000fa2dd 2026-04-29 14:13:57,503 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92627073:ctest-vn-30835714', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92627073', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15314676250254263006', 'uuid-lslong': '9922104247995612358'}, 'enable': 'true', 'created': '2026-04-29T14:13:55', 'last-modified': '2026-04-29T14:13:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.973777'} 2026-04-29 14:13:57,511 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-29 14:13:57,511 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30835714 passed 2026-04-29 14:13:57,511 - DEBUG - ====Verifying policy data for ctest-vn-30835714 in API_Server ====== 2026-04-29 14:13:57,511 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-29 14:13:57,517 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b616e12f-51c1-4b49-8976-d95ba1be5731 2026-04-29 14:13:57,528 - DEBUG - Requesting: http://10.0.0.50:8082/project/e95123fb-96d4-446b-9a25-a8ad6d28d380 2026-04-29 14:13:57,605 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d488a8e8-b284-42de-89b2-653e762c3cc6 2026-04-29 14:13:57,614 - DEBUG - ==>Verifying data for policy with id: 73fdbb37-0e84-4029-8072-8b6f658d4ebb, fqn: ['default-domain', 'ctest-TestBasicPolicy-92627073', 'ctest-policy-allow-all-22357761'] 2026-04-29 14:13:57,614 - INFO - VN ctest-vn-30835714 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-29 14:13:57,614 - DEBUG - Verifying the vn in opserver 2026-04-29 14:13:57,614 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92627073:ctest-vn-30835714 virtual network link through opserver 10.0.0.50 2026-04-29 14:13:57,614 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-29 14:13:57,911 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-29 14:13:57,981 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92627073:ctest-vn-30835714', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92627073:ctest-vn-30835714?flat'} 2026-04-29 14:13:57,981 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92627073:ctest-vn-30835714 is found in opserver 2026-04-29 14:13:57,990 - DEBUG - Do not have enough data to verify VN in agent 2026-04-29 14:13:57,994 - DEBUG - VRF ids for VN ctest-vn-30835714: {} 2026-04-29 14:13:57,994 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-29 14:13:58,000 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b616e12f-51c1-4b49-8976-d95ba1be5731 2026-04-29 14:13:58,011 - DEBUG - Requesting: http://10.0.0.50:8082/project/e95123fb-96d4-446b-9a25-a8ad6d28d380 2026-04-29 14:13:58,080 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/247d02a1-ffa2-42f2-a856-ec19d78c4da3 2026-04-29 14:13:58,091 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/247d02a1-ffa2-42f2-a856-ec19d78c4da3 2026-04-29 14:13:58,100 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cf70f879-2f1c-4ae7-9c5d-ac23ca3c727e 2026-04-29 14:13:58,108 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cf70f879-2f1c-4ae7-9c5d-ac23ca3c727e 2026-04-29 14:13:58,115 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/fc031a48-c1cf-4be9-a50d-97a5c2d6a19a 2026-04-29 14:13:58,121 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-29 14:13:58,121 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/247d02a1-ffa2-42f2-a856-ec19d78c4da3 2026-04-29 14:13:58,129 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cf70f879-2f1c-4ae7-9c5d-ac23ca3c727e 2026-04-29 14:13:58,145 - INFO - Verified VN network id 12 for VN 247d02a1-ffa2-42f2-a856-ec19d78c4da3 2026-04-29 14:13:58,145 - INFO - Verifications in API Server for VN ctest-vn-24785865 passed 2026-04-29 14:13:58,145 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/247d02a1-ffa2-42f2-a856-ec19d78c4da3 2026-04-29 14:13:58,154 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cf70f879-2f1c-4ae7-9c5d-ac23ca3c727e 2026-04-29 14:13:58,162 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cf70f879-2f1c-4ae7-9c5d-ac23ca3c727e 2026-04-29 14:13:58,171 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/fc031a48-c1cf-4be9-a50d-97a5c2d6a19a 2026-04-29 14:13:58,185 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92627073:ctest-vn-24785865', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92627073', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2629260652256051954', 'uuid-lslong': '12130142242103643555'}, 'enable': 'true', 'created': '2026-04-29T14:13:55', 'last-modified': '2026-04-29T14:13:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.412812'} 2026-04-29 14:13:58,191 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-29 14:13:58,191 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24785865 passed 2026-04-29 14:13:58,191 - DEBUG - ====Verifying policy data for ctest-vn-24785865 in API_Server ====== 2026-04-29 14:13:58,192 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-29 14:13:58,197 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b616e12f-51c1-4b49-8976-d95ba1be5731 2026-04-29 14:13:58,210 - DEBUG - Requesting: http://10.0.0.50:8082/project/e95123fb-96d4-446b-9a25-a8ad6d28d380 2026-04-29 14:13:58,283 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/247d02a1-ffa2-42f2-a856-ec19d78c4da3 2026-04-29 14:13:58,291 - DEBUG - ==>Verifying data for policy with id: 73fdbb37-0e84-4029-8072-8b6f658d4ebb, fqn: ['default-domain', 'ctest-TestBasicPolicy-92627073', 'ctest-policy-allow-all-22357761'] 2026-04-29 14:13:58,292 - INFO - VN ctest-vn-24785865 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-29 14:13:58,292 - DEBUG - Verifying the vn in opserver 2026-04-29 14:13:58,292 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92627073:ctest-vn-24785865 virtual network link through opserver 10.0.0.50 2026-04-29 14:13:58,292 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-29 14:13:58,301 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92627073:ctest-vn-24785865', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92627073:ctest-vn-24785865?flat'} 2026-04-29 14:13:58,301 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92627073:ctest-vn-24785865 is found in opserver 2026-04-29 14:13:58,312 - DEBUG - Do not have enough data to verify VN in agent 2026-04-29 14:13:58,318 - DEBUG - VRF ids for VN ctest-vn-24785865: {} 2026-04-29 14:13:58,403 - DEBUG - Services list from nova: [, , ] 2026-04-29 14:13:59,496 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5710-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5710-1) 2026-04-29 14:14:00,815 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5710-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5710-1) 2026-04-29 14:14:00,817 - INFO - Waiting for VM ctest-TestBasicPolicy-92627073-97778870 to be up.. 2026-04-29 14:14:00,926 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-29 14:14:06,011 - DEBUG - VM is in ACTIVE state now 2026-04-29 14:14:06,011 - INFO - VM name : ctest-TestBasicPolicy-92627073-97778870 2026-04-29 14:14:06,089 - DEBUG - VM ctest-TestBasicPolicy-92627073-97778870 ID is fb874ed1-7019-409e-8151-a65c76f404bb 2026-04-29 14:14:06,109 - DEBUG - VM ctest-TestBasicPolicy-92627073-97778870 launched on Node cn-jenkins-deploy-platform-ansible-os-5710-1 2026-04-29 14:14:06,187 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/fb874ed1-7019-409e-8151-a65c76f404bb 2026-04-29 14:14:06,196 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/24c3d37b-91bf-4a9d-89f8-115cc46a3f8e 2026-04-29 14:14:09,445 - 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 1003ms') 2026-04-29 14:14:09,445 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92627073-97778870 failed! 2026-04-29 14:14:09,502 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92627073:ctest-vn-30835714 is 87.72.180.1 and allocation pool is NOT set 2026-04-29 14:14:11,568 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.14 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 = 1.142/4.042/6.942/2.900 ms') 2026-04-29 14:14:11,569 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92627073-97778870 passed 2026-04-29 14:14:11,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 14:14:11,730 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92627073-97778870, IP 87.72.180.3, Port 22 2026-04-29 14:14:11,796 - 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-29 14:14:11,884 - DEBUG - VM ctest-TestBasicPolicy-92627073-97778870 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-29 14:14:16,885 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 14:14:16,885 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92627073-97778870, IP 87.72.180.3, Port 22 2026-04-29 14:14:17,047 - DEBUG - VM ctest-TestBasicPolicy-92627073-97778870 is ready for SSH connections 2026-04-29 14:14:17,047 - INFO - Waiting for VM ctest-TestBasicPolicy-92627073-62430171 to be up.. 2026-04-29 14:14:17,121 - DEBUG - VM is in ACTIVE state now 2026-04-29 14:14:17,122 - INFO - VM name : ctest-TestBasicPolicy-92627073-62430171 2026-04-29 14:14:17,199 - DEBUG - VM ctest-TestBasicPolicy-92627073-62430171 ID is 918236e6-f461-485b-8c5a-8f56bf4973e2 2026-04-29 14:14:17,199 - DEBUG - VM ctest-TestBasicPolicy-92627073-62430171 launched on Node cn-jenkins-deploy-platform-ansible-os-5710-1 2026-04-29 14:14:17,280 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/918236e6-f461-485b-8c5a-8f56bf4973e2 2026-04-29 14:14:17,290 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b6a59e07-c909-4ec0-bf9d-0a13874c3730 2026-04-29 14:14:18,531 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.397 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.397/1.813/3.230/1.416 ms') 2026-04-29 14:14:18,531 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-92627073-62430171 passed 2026-04-29 14:14:18,678 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 14:14:18,678 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92627073-62430171, IP 137.142.197.195, Port 22 2026-04-29 14:14:18,834 - DEBUG - VM ctest-TestBasicPolicy-92627073-62430171 is ready for SSH connections 2026-04-29 14:14:18,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 14:14:18,834 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.142.197.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-29 14:14:18,834 - DEBUG - ping -s 56 -c 3 -W 1 137.142.197.195 2026-04-29 14:14:22,938 - DEBUG - PING 137.142.197.195 (137.142.197.195): 56 data bytes 64 bytes from 137.142.197.195: seq=0 ttl=63 time=3.963 ms 64 bytes from 137.142.197.195: seq=1 ttl=63 time=1.414 ms 64 bytes from 137.142.197.195: seq=2 ttl=63 time=1.872 ms --- 137.142.197.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.414/2.416/3.963 ms 2026-04-29 14:14:22,938 - INFO - Ping to IP 137.142.197.195 from VM ctest-TestBasicPolicy-92627073-97778870 passed 2026-04-29 14:14:23,122 - DEBUG - Policy Update Response {"network-policy": {"uuid": "73fdbb37-0e84-4029-8072-8b6f658d4ebb", "href": "http://10.0.0.50:8082/network-policy/73fdbb37-0e84-4029-8072-8b6f658d4ebb"}} 2026-04-29 14:14:23,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 14:14:23,122 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.142.197.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-29 14:14:23,122 - DEBUG - ping -s 56 -c 3 -W 1 137.142.197.195 2026-04-29 14:14:26,337 - DEBUG - PING 137.142.197.195 (137.142.197.195): 56 data bytes --- 137.142.197.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-29 14:14:26,337 - WARNING - Ping to IP 137.142.197.195 from VM ctest-TestBasicPolicy-92627073-97778870 failed 2026-04-29 14:14:26,337 - INFO - Deleting VM ctest-TestBasicPolicy-92627073-62430171 2026-04-29 14:14:26,412 - INFO - Deleting VM ctest-TestBasicPolicy-92627073-97778870 2026-04-29 14:14:26,791 - INFO - Deleted policy ctest-policy-allow-all-22357761 2026-04-29 14:14:26,791 - INFO - Deleting VN ctest-vn-24785865 2026-04-29 14:14:26,826 - DEBUG - VN 247d02a1-ffa2-42f2-a856-ec19d78c4da3 still in use: Unable to complete operation on network 247d02a1-ffa2-42f2-a856-ec19d78c4da3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f067397c-4041-4a45-93c7-bdf12febb6e8'] 2026-04-29 14:14:26,826 - WARNING - Deleting VN ctest-vn-24785865 failed..Will retry 2026-04-29 14:14:28,944 - DEBUG - Response for deleting network () 2026-04-29 14:14:28,944 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cf70f879-2f1c-4ae7-9c5d-ac23ca3c727e 2026-04-29 14:14:28,949 - DEBUG - Response Code: 404 2026-04-29 14:14:28,950 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-29 14:14:28,955 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b616e12f-51c1-4b49-8976-d95ba1be5731 2026-04-29 14:14:29,008 - DEBUG - Requesting: http://10.0.0.50:8082/project/e95123fb-96d4-446b-9a25-a8ad6d28d380 2026-04-29 14:14:29,083 - INFO - Validated that VN ctest-vn-24785865 is not found in API Server 2026-04-29 14:14:29,095 - DEBUG - VN ctest-vn-24785865 is not present in Agent 10.0.0.50 2026-04-29 14:14:29,095 - INFO - Validated that VN ctest-vn-24785865 is not in any agent 2026-04-29 14:14:29,112 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24785865 info 2026-04-29 14:14:29,112 - INFO - Deleting VN ctest-vn-30835714 2026-04-29 14:14:29,228 - DEBUG - Response for deleting network () 2026-04-29 14:14:29,228 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fa1fa628-15d7-4f84-9b44-beb9d8029d5f 2026-04-29 14:14:29,236 - DEBUG - Response Code: 404 2026-04-29 14:14:29,237 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-29 14:14:29,243 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b616e12f-51c1-4b49-8976-d95ba1be5731 2026-04-29 14:14:29,296 - DEBUG - Requesting: http://10.0.0.50:8082/project/e95123fb-96d4-446b-9a25-a8ad6d28d380 2026-04-29 14:14:29,376 - INFO - Validated that VN ctest-vn-30835714 is not found in API Server 2026-04-29 14:14:29,385 - DEBUG - VN ctest-vn-30835714 is not present in Agent 10.0.0.50 2026-04-29 14:14:29,385 - INFO - Validated that VN ctest-vn-30835714 is not in any agent 2026-04-29 14:14:29,401 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30835714 info 2026-04-29 14:14:29,671 - DEBUG - No XMPP flaps were noticed during the test 2026-04-29 14:14:29,671 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-04-29 14:14:29,671 - INFO - -------------------------------------------------------------------------------- 2026-04-29 14:14:30,384 - INFO - Deleted project: ctest-TestBasicPolicy-92627073, ID : e95123fb-96d4-446b-9a25-a8ad6d28d380