2026-02-12 10:43:54,466 - INFO - Domain Default found not creating 2026-02-12 10:43:54,654 - INFO - Project ctest-TestBasicPolicy-89487455 not found, creating it 2026-02-12 10:43:55,116 - INFO - Created Project:ctest-TestBasicPolicy-89487455, ID : 925a1188-8e4d-43e1-a8a3-c72ecf33d7d0 2026-02-12 10:43:56,720 - INFO - ================================================================================ 2026-02-12 10:43:56,721 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-12 10:43:56,721 - 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-02-12 10:43:56,994 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-12 10:43:56,994 - INFO - Initial checks done. Running the testcase now 2026-02-12 10:43:56,995 - INFO - 2026-02-12 10:43:57,563 - DEBUG - Response for create_network : {'network': {'id': '30e5d72c-d5cc-4c05-bb1d-7287370e039f', 'name': 'ctest-vn-42621110', 'tenant_id': '925a11888e4d43e1a8a3c72ecf33d7d0', 'project_id': '925a11888e4d43e1a8a3c72ecf33d7d0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89487455', 'ctest-vn-42621110'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 10:43:57,776 - DEBUG - Response for create_subnet : {'subnet': {'id': '47a27c93-d44c-485d-b050-621666a6f4d6', 'name': '', 'tenant_id': '925a11888e4d43e1a8a3c72ecf33d7d0', 'network_id': '30e5d72c-d5cc-4c05-bb1d-7287370e039f', 'ip_version': 4, 'cidr': '104.55.220.0/26', 'allocation_pools': [{'start': '104.55.220.2', 'end': '104.55.220.62'}], 'gateway_ip': '104.55.220.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.55.220.2', 'tags': [], 'project_id': '925a11888e4d43e1a8a3c72ecf33d7d0'}} 2026-02-12 10:43:57,795 - INFO - Created VN ctest-vn-42621110 2026-02-12 10:43:57,850 - DEBUG - VN ctest-vn-42621110 UUID is 30e5d72c-d5cc-4c05-bb1d-7287370e039f 2026-02-12 10:43:58,164 - DEBUG - Response for create_network : {'network': {'id': 'ec904082-a0c0-45aa-a486-32a6ea1a9c39', 'name': 'ctest-vn-62207801', 'tenant_id': '925a11888e4d43e1a8a3c72ecf33d7d0', 'project_id': '925a11888e4d43e1a8a3c72ecf33d7d0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89487455', 'ctest-vn-62207801'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 10:43:58,394 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c0f563a-c1d6-4fd0-9d62-e19f44c4668f', 'name': '', 'tenant_id': '925a11888e4d43e1a8a3c72ecf33d7d0', 'network_id': 'ec904082-a0c0-45aa-a486-32a6ea1a9c39', 'ip_version': 4, 'cidr': '149.181.74.128/26', 'allocation_pools': [{'start': '149.181.74.130', 'end': '149.181.74.190'}], 'gateway_ip': '149.181.74.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.181.74.130', 'tags': [], 'project_id': '925a11888e4d43e1a8a3c72ecf33d7d0'}} 2026-02-12 10:43:58,415 - INFO - Created VN ctest-vn-62207801 2026-02-12 10:43:58,470 - DEBUG - VN ctest-vn-62207801 UUID is ec904082-a0c0-45aa-a486-32a6ea1a9c39 2026-02-12 10:43:58,589 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-89487455:ctest-vn-42621110, 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-89487455:ctest-vn-62207801, 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-02-12 10:43:58,895 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '30e5d72c-d5cc-4c05-bb1d-7287370e039f', 'name': 'ctest-vn-42621110', 'tenant_id': '925a11888e4d43e1a8a3c72ecf33d7d0', 'project_id': '925a11888e4d43e1a8a3c72ecf33d7d0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['47a27c93-d44c-485d-b050-621666a6f4d6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89487455', 'ctest-vn-42621110'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89487455', 'ctest-policy-allow-all-18315967']], 'subnet_ipam': [{'subnet_cidr': '104.55.220.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-12 10:43:59,159 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ec904082-a0c0-45aa-a486-32a6ea1a9c39', 'name': 'ctest-vn-62207801', 'tenant_id': '925a11888e4d43e1a8a3c72ecf33d7d0', 'project_id': '925a11888e4d43e1a8a3c72ecf33d7d0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8c0f563a-c1d6-4fd0-9d62-e19f44c4668f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89487455', 'ctest-vn-62207801'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89487455', 'ctest-policy-allow-all-18315967']], 'subnet_ipam': [{'subnet_cidr': '149.181.74.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-12 10:43:59,322 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-12 10:43:59,647 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-12 10:43:59,699 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9262b1a8-b0fa-4571-aeb1-7ebca5cb486f 2026-02-12 10:43:59,712 - DEBUG - Requesting: http://10.0.0.50:8082/project/925a1188-8e4d-43e1-a8a3-c72ecf33d7d0 2026-02-12 10:43:59,786 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/30e5d72c-d5cc-4c05-bb1d-7287370e039f 2026-02-12 10:43:59,798 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/30e5d72c-d5cc-4c05-bb1d-7287370e039f 2026-02-12 10:43:59,808 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4e49ba4a-e758-4237-aba2-b3ea3c8b818b 2026-02-12 10:43:59,815 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4e49ba4a-e758-4237-aba2-b3ea3c8b818b 2026-02-12 10:43:59,822 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/fccb498a-c0ac-475e-95b5-87508d031034 2026-02-12 10:43:59,829 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-12 10:43:59,829 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/30e5d72c-d5cc-4c05-bb1d-7287370e039f 2026-02-12 10:43:59,840 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4e49ba4a-e758-4237-aba2-b3ea3c8b818b 2026-02-12 10:43:59,856 - INFO - Verified VN network id 12 for VN 30e5d72c-d5cc-4c05-bb1d-7287370e039f 2026-02-12 10:43:59,856 - INFO - Verifications in API Server for VN ctest-vn-42621110 passed 2026-02-12 10:43:59,856 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/30e5d72c-d5cc-4c05-bb1d-7287370e039f 2026-02-12 10:43:59,867 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4e49ba4a-e758-4237-aba2-b3ea3c8b818b 2026-02-12 10:43:59,875 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4e49ba4a-e758-4237-aba2-b3ea3c8b818b 2026-02-12 10:43:59,883 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/fccb498a-c0ac-475e-95b5-87508d031034 2026-02-12 10:43:59,896 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89487455:ctest-vn-42621110', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89487455', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3523458871052749829', 'uuid-lslong': '13483058784486949791'}, 'enable': 'true', 'created': '2026-02-12T10:43:57', 'last-modified': '2026-02-12T10:43:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.027948'} 2026-02-12 10:43:59,903 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-12 10:43:59,903 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42621110 passed 2026-02-12 10:43:59,903 - DEBUG - ====Verifying policy data for ctest-vn-42621110 in API_Server ====== 2026-02-12 10:43:59,903 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-12 10:43:59,909 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9262b1a8-b0fa-4571-aeb1-7ebca5cb486f 2026-02-12 10:43:59,919 - DEBUG - Requesting: http://10.0.0.50:8082/project/925a1188-8e4d-43e1-a8a3-c72ecf33d7d0 2026-02-12 10:43:59,989 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/30e5d72c-d5cc-4c05-bb1d-7287370e039f 2026-02-12 10:43:59,998 - DEBUG - ==>Verifying data for policy with id: 55e264b3-d22d-4e1e-8257-27ed6e8c641e, fqn: ['default-domain', 'ctest-TestBasicPolicy-89487455', 'ctest-policy-allow-all-18315967'] 2026-02-12 10:43:59,998 - INFO - VN ctest-vn-42621110 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-12 10:43:59,998 - DEBUG - Verifying the vn in opserver 2026-02-12 10:43:59,998 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89487455:ctest-vn-42621110 virtual network link through opserver 10.0.0.50 2026-02-12 10:43:59,998 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-12 10:44:00,307 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-12 10:44:00,396 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89487455:ctest-vn-42621110', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89487455:ctest-vn-42621110?flat'} 2026-02-12 10:44:00,396 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89487455:ctest-vn-42621110 is found in opserver 2026-02-12 10:44:00,405 - DEBUG - Do not have enough data to verify VN in agent 2026-02-12 10:44:00,409 - DEBUG - VRF ids for VN ctest-vn-42621110: {} 2026-02-12 10:44:00,409 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-12 10:44:00,415 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9262b1a8-b0fa-4571-aeb1-7ebca5cb486f 2026-02-12 10:44:00,425 - DEBUG - Requesting: http://10.0.0.50:8082/project/925a1188-8e4d-43e1-a8a3-c72ecf33d7d0 2026-02-12 10:44:00,498 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ec904082-a0c0-45aa-a486-32a6ea1a9c39 2026-02-12 10:44:00,509 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ec904082-a0c0-45aa-a486-32a6ea1a9c39 2026-02-12 10:44:00,518 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5b4d119c-123d-4488-b3a2-5e40e203b049 2026-02-12 10:44:00,525 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5b4d119c-123d-4488-b3a2-5e40e203b049 2026-02-12 10:44:00,533 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b7811f85-dce9-4132-a57c-32783451d0d1 2026-02-12 10:44:00,540 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-12 10:44:00,540 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ec904082-a0c0-45aa-a486-32a6ea1a9c39 2026-02-12 10:44:00,548 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5b4d119c-123d-4488-b3a2-5e40e203b049 2026-02-12 10:44:00,565 - INFO - Verified VN network id 13 for VN ec904082-a0c0-45aa-a486-32a6ea1a9c39 2026-02-12 10:44:00,565 - INFO - Verifications in API Server for VN ctest-vn-62207801 passed 2026-02-12 10:44:00,565 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ec904082-a0c0-45aa-a486-32a6ea1a9c39 2026-02-12 10:44:00,576 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5b4d119c-123d-4488-b3a2-5e40e203b049 2026-02-12 10:44:00,584 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5b4d119c-123d-4488-b3a2-5e40e203b049 2026-02-12 10:44:00,592 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b7811f85-dce9-4132-a57c-32783451d0d1 2026-02-12 10:44:00,606 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89487455:ctest-vn-62207801', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89487455', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17046195519384208810', 'uuid-lslong': '11855218761572981817'}, 'enable': 'true', 'created': '2026-02-12T10:43:58', 'last-modified': '2026-02-12T10:43:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.481947'} 2026-02-12 10:44:00,612 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-12 10:44:00,612 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62207801 passed 2026-02-12 10:44:00,612 - DEBUG - ====Verifying policy data for ctest-vn-62207801 in API_Server ====== 2026-02-12 10:44:00,612 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-12 10:44:00,617 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9262b1a8-b0fa-4571-aeb1-7ebca5cb486f 2026-02-12 10:44:00,628 - DEBUG - Requesting: http://10.0.0.50:8082/project/925a1188-8e4d-43e1-a8a3-c72ecf33d7d0 2026-02-12 10:44:00,699 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ec904082-a0c0-45aa-a486-32a6ea1a9c39 2026-02-12 10:44:00,708 - DEBUG - ==>Verifying data for policy with id: 55e264b3-d22d-4e1e-8257-27ed6e8c641e, fqn: ['default-domain', 'ctest-TestBasicPolicy-89487455', 'ctest-policy-allow-all-18315967'] 2026-02-12 10:44:00,708 - INFO - VN ctest-vn-62207801 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-12 10:44:00,708 - DEBUG - Verifying the vn in opserver 2026-02-12 10:44:00,708 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89487455:ctest-vn-62207801 virtual network link through opserver 10.0.0.50 2026-02-12 10:44:00,708 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-12 10:44:00,717 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89487455:ctest-vn-62207801', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89487455:ctest-vn-62207801?flat'} 2026-02-12 10:44:00,717 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89487455:ctest-vn-62207801 is found in opserver 2026-02-12 10:44:00,728 - DEBUG - Do not have enough data to verify VN in agent 2026-02-12 10:44:00,734 - DEBUG - VRF ids for VN ctest-vn-62207801: {} 2026-02-12 10:44:00,792 - DEBUG - Services list from nova: [, , ] 2026-02-12 10:44:01,838 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5314-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5314-1) 2026-02-12 10:44:03,039 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5314-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5314-1) 2026-02-12 10:44:03,039 - INFO - Waiting for VM ctest-TestBasicPolicy-89487455-48136965 to be up.. 2026-02-12 10:44:03,157 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-12 10:44:08,236 - DEBUG - VM is in ACTIVE state now 2026-02-12 10:44:08,236 - INFO - VM name : ctest-TestBasicPolicy-89487455-48136965 2026-02-12 10:44:08,316 - DEBUG - VM ctest-TestBasicPolicy-89487455-48136965 ID is 8c21e739-0b5c-436a-99e4-6417700dd810 2026-02-12 10:44:08,337 - DEBUG - VM ctest-TestBasicPolicy-89487455-48136965 launched on Node cn-jenkins-deploy-platform-ansible-os-5314-1 2026-02-12 10:44:08,432 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8c21e739-0b5c-436a-99e4-6417700dd810 2026-02-12 10:44:08,442 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a8ab4e9f-21ec-42fc-90cc-0dc3f40ff62a 2026-02-12 10:44:11,687 - 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 1010ms') 2026-02-12 10:44:11,687 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89487455-48136965 failed! 2026-02-12 10:44:11,742 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-89487455:ctest-vn-42621110 is 104.55.220.1 and allocation pool is NOT set 2026-02-12 10:44:13,802 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=13.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.09 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.093/7.093/13.094/6.000 ms') 2026-02-12 10:44:13,802 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89487455-48136965 passed 2026-02-12 10:44:13,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 10:44:13,954 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89487455-48136965, IP 104.55.220.3, Port 22 2026-02-12 10:44:14,010 - 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-02-12 10:44:14,093 - DEBUG - VM ctest-TestBasicPolicy-89487455-48136965 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-12 10:44:19,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 10:44:19,095 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89487455-48136965, IP 104.55.220.3, Port 22 2026-02-12 10:44:19,253 - DEBUG - VM ctest-TestBasicPolicy-89487455-48136965 is ready for SSH connections 2026-02-12 10:44:19,254 - INFO - Waiting for VM ctest-TestBasicPolicy-89487455-10770915 to be up.. 2026-02-12 10:44:19,336 - DEBUG - VM is in ACTIVE state now 2026-02-12 10:44:19,336 - INFO - VM name : ctest-TestBasicPolicy-89487455-10770915 2026-02-12 10:44:19,418 - DEBUG - VM ctest-TestBasicPolicy-89487455-10770915 ID is c3176f8d-ef04-4f2f-bde1-d0c757982603 2026-02-12 10:44:19,418 - DEBUG - VM ctest-TestBasicPolicy-89487455-10770915 launched on Node cn-jenkins-deploy-platform-ansible-os-5314-1 2026-02-12 10:44:19,491 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c3176f8d-ef04-4f2f-bde1-d0c757982603 2026-02-12 10:44:19,499 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8884ccbf-5710-43e5-839a-775232e4b175 2026-02-12 10:44:20,735 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.392 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.392/1.671/2.950/1.279 ms') 2026-02-12 10:44:20,735 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-89487455-10770915 passed 2026-02-12 10:44:20,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 10:44:20,887 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89487455-10770915, IP 149.181.74.131, Port 22 2026-02-12 10:44:21,046 - DEBUG - VM ctest-TestBasicPolicy-89487455-10770915 is ready for SSH connections 2026-02-12 10:44:21,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 10:44:21,046 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.181.74.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-12 10:44:21,046 - DEBUG - ping -s 56 -c 3 -W 1 149.181.74.131 2026-02-12 10:44:25,161 - DEBUG - PING 149.181.74.131 (149.181.74.131): 56 data bytes 64 bytes from 149.181.74.131: seq=0 ttl=63 time=5.002 ms 64 bytes from 149.181.74.131: seq=1 ttl=63 time=0.987 ms 64 bytes from 149.181.74.131: seq=2 ttl=63 time=0.869 ms --- 149.181.74.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.869/2.286/5.002 ms 2026-02-12 10:44:25,162 - INFO - Ping to IP 149.181.74.131 from VM ctest-TestBasicPolicy-89487455-48136965 passed 2026-02-12 10:44:25,338 - DEBUG - Policy Update Response {"network-policy": {"uuid": "55e264b3-d22d-4e1e-8257-27ed6e8c641e", "href": "http://10.0.0.50:8082/network-policy/55e264b3-d22d-4e1e-8257-27ed6e8c641e"}} 2026-02-12 10:44:25,338 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 10:44:25,338 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.181.74.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-12 10:44:25,338 - DEBUG - ping -s 56 -c 3 -W 1 149.181.74.131 2026-02-12 10:44:28,607 - DEBUG - PING 149.181.74.131 (149.181.74.131): 56 data bytes --- 149.181.74.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-12 10:44:28,607 - WARNING - Ping to IP 149.181.74.131 from VM ctest-TestBasicPolicy-89487455-48136965 failed 2026-02-12 10:44:28,607 - INFO - Deleting VM ctest-TestBasicPolicy-89487455-10770915 2026-02-12 10:44:28,704 - INFO - Deleting VM ctest-TestBasicPolicy-89487455-48136965 2026-02-12 10:44:29,098 - INFO - Deleted policy ctest-policy-allow-all-18315967 2026-02-12 10:44:29,098 - INFO - Deleting VN ctest-vn-62207801 2026-02-12 10:44:29,139 - DEBUG - VN ec904082-a0c0-45aa-a486-32a6ea1a9c39 still in use: Unable to complete operation on network ec904082-a0c0-45aa-a486-32a6ea1a9c39. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d610796d-44bb-4ae8-ba3a-a07fbf8ab45e'] 2026-02-12 10:44:29,139 - WARNING - Deleting VN ctest-vn-62207801 failed..Will retry 2026-02-12 10:44:31,236 - DEBUG - Response for deleting network () 2026-02-12 10:44:31,236 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5b4d119c-123d-4488-b3a2-5e40e203b049 2026-02-12 10:44:31,241 - DEBUG - Response Code: 404 2026-02-12 10:44:31,241 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-12 10:44:31,252 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9262b1a8-b0fa-4571-aeb1-7ebca5cb486f 2026-02-12 10:44:31,303 - DEBUG - Requesting: http://10.0.0.50:8082/project/925a1188-8e4d-43e1-a8a3-c72ecf33d7d0 2026-02-12 10:44:31,382 - INFO - Validated that VN ctest-vn-62207801 is not found in API Server 2026-02-12 10:44:31,393 - DEBUG - VN ctest-vn-62207801 is not present in Agent 10.0.0.50 2026-02-12 10:44:31,393 - INFO - Validated that VN ctest-vn-62207801 is not in any agent 2026-02-12 10:44:31,409 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62207801 info 2026-02-12 10:44:31,409 - INFO - Deleting VN ctest-vn-42621110 2026-02-12 10:44:31,518 - DEBUG - Response for deleting network () 2026-02-12 10:44:31,518 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4e49ba4a-e758-4237-aba2-b3ea3c8b818b 2026-02-12 10:44:31,524 - DEBUG - Response Code: 404 2026-02-12 10:44:31,524 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-12 10:44:31,529 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9262b1a8-b0fa-4571-aeb1-7ebca5cb486f 2026-02-12 10:44:31,584 - DEBUG - Requesting: http://10.0.0.50:8082/project/925a1188-8e4d-43e1-a8a3-c72ecf33d7d0 2026-02-12 10:44:31,657 - INFO - Validated that VN ctest-vn-42621110 is not found in API Server 2026-02-12 10:44:31,666 - DEBUG - VN ctest-vn-42621110 is not present in Agent 10.0.0.50 2026-02-12 10:44:31,666 - INFO - Validated that VN ctest-vn-42621110 is not in any agent 2026-02-12 10:44:31,682 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42621110 info 2026-02-12 10:44:31,936 - DEBUG - No XMPP flaps were noticed during the test
2026-02-12 10:44:31,937 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-02-12 10:44:31,937 - INFO - -------------------------------------------------------------------------------- 2026-02-12 10:44:32,657 - INFO - Deleted project: ctest-TestBasicPolicy-89487455, ID : 925a1188-8e4d-43e1-a8a3-c72ecf33d7d0