2026-02-04 10:25:07,956 - INFO - Domain Default found not creating 2026-02-04 10:25:08,141 - INFO - Project ctest-TestBasicPolicy-32359958 not found, creating it 2026-02-04 10:25:08,623 - INFO - Created Project:ctest-TestBasicPolicy-32359958, ID : a15f46f3-5d7f-419d-a626-744d4bb56f21 2026-02-04 10:25:10,289 - INFO - ================================================================================ 2026-02-04 10:25:10,289 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-04 10:25:10,289 - 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-04 10:25:10,561 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.193': '0'}} with 2026-02-04 10:25:10,561 - INFO - Initial checks done. Running the testcase now 2026-02-04 10:25:10,561 - INFO - 2026-02-04 10:25:11,139 - DEBUG - Response for create_network : {'network': {'id': 'f4553ed1-086b-496d-b693-9fee26f12bf5', 'name': 'ctest-vn-44904731', 'tenant_id': 'a15f46f35d7f419da626744d4bb56f21', 'project_id': 'a15f46f35d7f419da626744d4bb56f21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32359958', 'ctest-vn-44904731'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 10:25:11,298 - DEBUG - Response for create_subnet : {'subnet': {'id': '2176368e-18bc-4d4a-8ddf-2735f25a64b5', 'name': '', 'tenant_id': 'a15f46f35d7f419da626744d4bb56f21', 'network_id': 'f4553ed1-086b-496d-b693-9fee26f12bf5', 'ip_version': 4, 'cidr': '69.28.210.0/26', 'allocation_pools': [{'start': '69.28.210.2', 'end': '69.28.210.62'}], 'gateway_ip': '69.28.210.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.28.210.2', 'tags': [], 'project_id': 'a15f46f35d7f419da626744d4bb56f21'}} 2026-02-04 10:25:11,319 - INFO - Created VN ctest-vn-44904731 2026-02-04 10:25:11,374 - DEBUG - VN ctest-vn-44904731 UUID is f4553ed1-086b-496d-b693-9fee26f12bf5 2026-02-04 10:25:11,667 - DEBUG - Response for create_network : {'network': {'id': '426e8e5b-f550-40da-9e52-3f33fa072d26', 'name': 'ctest-vn-99602201', 'tenant_id': 'a15f46f35d7f419da626744d4bb56f21', 'project_id': 'a15f46f35d7f419da626744d4bb56f21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32359958', 'ctest-vn-99602201'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 10:25:11,832 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f52bcd4d-72eb-4bb0-9bf9-a104031f3880', 'name': '', 'tenant_id': 'a15f46f35d7f419da626744d4bb56f21', 'network_id': '426e8e5b-f550-40da-9e52-3f33fa072d26', 'ip_version': 4, 'cidr': '160.150.28.128/26', 'allocation_pools': [{'start': '160.150.28.130', 'end': '160.150.28.190'}], 'gateway_ip': '160.150.28.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.150.28.130', 'tags': [], 'project_id': 'a15f46f35d7f419da626744d4bb56f21'}} 2026-02-04 10:25:11,857 - INFO - Created VN ctest-vn-99602201 2026-02-04 10:25:11,913 - DEBUG - VN ctest-vn-99602201 UUID is 426e8e5b-f550-40da-9e52-3f33fa072d26 2026-02-04 10:25:12,039 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-32359958:ctest-vn-44904731, 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-32359958:ctest-vn-99602201, 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-04 10:25:12,348 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f4553ed1-086b-496d-b693-9fee26f12bf5', 'name': 'ctest-vn-44904731', 'tenant_id': 'a15f46f35d7f419da626744d4bb56f21', 'project_id': 'a15f46f35d7f419da626744d4bb56f21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2176368e-18bc-4d4a-8ddf-2735f25a64b5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32359958', 'ctest-vn-44904731'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32359958', 'ctest-policy-allow-all-00895276']], 'subnet_ipam': [{'subnet_cidr': '69.28.210.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-04 10:25:12,573 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '426e8e5b-f550-40da-9e52-3f33fa072d26', 'name': 'ctest-vn-99602201', 'tenant_id': 'a15f46f35d7f419da626744d4bb56f21', 'project_id': 'a15f46f35d7f419da626744d4bb56f21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f52bcd4d-72eb-4bb0-9bf9-a104031f3880'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32359958', 'ctest-vn-99602201'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32359958', 'ctest-policy-allow-all-00895276']], 'subnet_ipam': [{'subnet_cidr': '160.150.28.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-04 10:25:12,734 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-02-04 10:25:13,045 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-02-04 10:25:13,076 - DEBUG - Requesting: http://10.0.0.23:8082/domain/2edf6a3b-a264-4d20-81b7-144b6668e103 2026-02-04 10:25:13,091 - DEBUG - Requesting: http://10.0.0.23:8082/project/a15f46f3-5d7f-419d-a626-744d4bb56f21 2026-02-04 10:25:13,171 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f4553ed1-086b-496d-b693-9fee26f12bf5 2026-02-04 10:25:13,183 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f4553ed1-086b-496d-b693-9fee26f12bf5 2026-02-04 10:25:13,192 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/08b289b7-0f2d-4b3b-bba3-807c20059399 2026-02-04 10:25:13,200 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/08b289b7-0f2d-4b3b-bba3-807c20059399 2026-02-04 10:25:13,207 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/6c1fc39b-ac0b-4c56-897e-9fa7b20244b1 2026-02-04 10:25:13,214 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-04 10:25:13,214 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f4553ed1-086b-496d-b693-9fee26f12bf5 2026-02-04 10:25:13,224 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/08b289b7-0f2d-4b3b-bba3-807c20059399 2026-02-04 10:25:13,241 - INFO - Verified VN network id 11 for VN f4553ed1-086b-496d-b693-9fee26f12bf5 2026-02-04 10:25:13,242 - INFO - Verifications in API Server for VN ctest-vn-44904731 passed 2026-02-04 10:25:13,242 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f4553ed1-086b-496d-b693-9fee26f12bf5 2026-02-04 10:25:13,251 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/08b289b7-0f2d-4b3b-bba3-807c20059399 2026-02-04 10:25:13,258 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/08b289b7-0f2d-4b3b-bba3-807c20059399 2026-02-04 10:25:13,266 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/6c1fc39b-ac0b-4c56-897e-9fa7b20244b1 2026-02-04 10:25:13,282 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32359958:ctest-vn-44904731', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32359958', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17606047385785157997', 'uuid-lslong': '13156034781683723253'}, 'enable': 'true', 'created': '2026-02-04T10:25:11', 'last-modified': '2026-02-04T10:25:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.956811'} 2026-02-04 10:25:13,288 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-04 10:25:13,288 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44904731 passed 2026-02-04 10:25:13,289 - DEBUG - ====Verifying policy data for ctest-vn-44904731 in API_Server ====== 2026-02-04 10:25:13,289 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-02-04 10:25:13,298 - DEBUG - Requesting: http://10.0.0.23:8082/domain/2edf6a3b-a264-4d20-81b7-144b6668e103 2026-02-04 10:25:13,309 - DEBUG - Requesting: http://10.0.0.23:8082/project/a15f46f3-5d7f-419d-a626-744d4bb56f21 2026-02-04 10:25:13,379 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f4553ed1-086b-496d-b693-9fee26f12bf5 2026-02-04 10:25:13,388 - DEBUG - ==>Verifying data for policy with id: fbf1b3e3-1d55-4a92-901e-64bb410127b1, fqn: ['default-domain', 'ctest-TestBasicPolicy-32359958', 'ctest-policy-allow-all-00895276'] 2026-02-04 10:25:13,388 - INFO - VN ctest-vn-44904731 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-04 10:25:13,388 - DEBUG - Verifying the vn in opserver 2026-02-04 10:25:13,388 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32359958:ctest-vn-44904731 virtual network link through opserver 10.0.0.23 2026-02-04 10:25:13,388 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-02-04 10:25:13,696 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-02-04 10:25:13,759 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32359958:ctest-vn-44904731', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32359958:ctest-vn-44904731?flat'} 2026-02-04 10:25:13,759 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32359958:ctest-vn-44904731 is found in opserver 2026-02-04 10:25:13,769 - DEBUG - Do not have enough data to verify VN in agent 2026-02-04 10:25:13,773 - DEBUG - VRF ids for VN ctest-vn-44904731: {} 2026-02-04 10:25:13,773 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-02-04 10:25:13,778 - DEBUG - Requesting: http://10.0.0.23:8082/domain/2edf6a3b-a264-4d20-81b7-144b6668e103 2026-02-04 10:25:13,791 - DEBUG - Requesting: http://10.0.0.23:8082/project/a15f46f3-5d7f-419d-a626-744d4bb56f21 2026-02-04 10:25:13,862 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/426e8e5b-f550-40da-9e52-3f33fa072d26 2026-02-04 10:25:13,874 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/426e8e5b-f550-40da-9e52-3f33fa072d26 2026-02-04 10:25:13,883 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/a2593fb2-babc-4c92-8d26-cae81433c93f 2026-02-04 10:25:13,889 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/a2593fb2-babc-4c92-8d26-cae81433c93f 2026-02-04 10:25:13,896 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/bc0e1aa3-cbfb-47f8-9f57-e6b4cbd8fb06 2026-02-04 10:25:13,903 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-04 10:25:13,903 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/426e8e5b-f550-40da-9e52-3f33fa072d26 2026-02-04 10:25:13,912 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/a2593fb2-babc-4c92-8d26-cae81433c93f 2026-02-04 10:25:13,924 - INFO - Verified VN network id 12 for VN 426e8e5b-f550-40da-9e52-3f33fa072d26 2026-02-04 10:25:13,924 - INFO - Verifications in API Server for VN ctest-vn-99602201 passed 2026-02-04 10:25:13,924 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/426e8e5b-f550-40da-9e52-3f33fa072d26 2026-02-04 10:25:13,932 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/a2593fb2-babc-4c92-8d26-cae81433c93f 2026-02-04 10:25:13,938 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/a2593fb2-babc-4c92-8d26-cae81433c93f 2026-02-04 10:25:13,943 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/bc0e1aa3-cbfb-47f8-9f57-e6b4cbd8fb06 2026-02-04 10:25:13,954 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32359958:ctest-vn-99602201', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32359958', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4786919979550261466', 'uuid-lslong': '11408250298553543974'}, 'enable': 'true', 'created': '2026-02-04T10:25:11', 'last-modified': '2026-02-04T10:25:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.404505'} 2026-02-04 10:25:13,961 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-04 10:25:13,961 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99602201 passed 2026-02-04 10:25:13,961 - DEBUG - ====Verifying policy data for ctest-vn-99602201 in API_Server ====== 2026-02-04 10:25:13,961 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-02-04 10:25:13,966 - DEBUG - Requesting: http://10.0.0.23:8082/domain/2edf6a3b-a264-4d20-81b7-144b6668e103 2026-02-04 10:25:13,976 - DEBUG - Requesting: http://10.0.0.23:8082/project/a15f46f3-5d7f-419d-a626-744d4bb56f21 2026-02-04 10:25:14,039 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/426e8e5b-f550-40da-9e52-3f33fa072d26 2026-02-04 10:25:14,049 - DEBUG - ==>Verifying data for policy with id: fbf1b3e3-1d55-4a92-901e-64bb410127b1, fqn: ['default-domain', 'ctest-TestBasicPolicy-32359958', 'ctest-policy-allow-all-00895276'] 2026-02-04 10:25:14,049 - INFO - VN ctest-vn-99602201 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-04 10:25:14,049 - DEBUG - Verifying the vn in opserver 2026-02-04 10:25:14,049 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32359958:ctest-vn-99602201 virtual network link through opserver 10.0.0.23 2026-02-04 10:25:14,049 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-02-04 10:25:14,059 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32359958:ctest-vn-99602201', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32359958:ctest-vn-99602201?flat'} 2026-02-04 10:25:14,059 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32359958:ctest-vn-99602201 is found in opserver 2026-02-04 10:25:14,068 - DEBUG - Do not have enough data to verify VN in agent 2026-02-04 10:25:14,073 - DEBUG - VRF ids for VN ctest-vn-99602201: {} 2026-02-04 10:25:14,131 - DEBUG - Services list from nova: [, , ] 2026-02-04 10:25:15,399 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5202-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5202-1) 2026-02-04 10:25:16,564 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5202-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5202-1) 2026-02-04 10:25:16,564 - INFO - Waiting for VM ctest-TestBasicPolicy-32359958-54191019 to be up.. 2026-02-04 10:25:16,662 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-04 10:25:21,746 - DEBUG - VM is in ACTIVE state now 2026-02-04 10:25:21,746 - INFO - VM name : ctest-TestBasicPolicy-32359958-54191019 2026-02-04 10:25:21,831 - DEBUG - VM ctest-TestBasicPolicy-32359958-54191019 ID is f70383fd-806c-45f5-82d9-5ca6cf92f627 2026-02-04 10:25:21,851 - DEBUG - VM ctest-TestBasicPolicy-32359958-54191019 launched on Node cn-jenkins-deploy-platform-ansible-os-5202-1 2026-02-04 10:25:21,933 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/f70383fd-806c-45f5-82d9-5ca6cf92f627 2026-02-04 10:25:21,942 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/91047092-18e7-4ca6-bdbb-e19dd32ea266 2026-02-04 10:25:25,179 - 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 1001ms') 2026-02-04 10:25:25,179 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32359958-54191019 failed! 2026-02-04 10:25:25,233 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-32359958:ctest-vn-44904731 is 69.28.210.1 and allocation pool is NOT set 2026-02-04 10:25:27,302 - 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=9.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.36 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.359/5.567/9.775/4.208 ms') 2026-02-04 10:25:27,302 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32359958-54191019 passed 2026-02-04 10:25:27,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:25:27,450 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32359958-54191019, IP 69.28.210.3, Port 22 2026-02-04 10:25:27,505 - 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-04 10:25:27,581 - DEBUG - VM ctest-TestBasicPolicy-32359958-54191019 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-04 10:25:32,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:25:32,582 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32359958-54191019, IP 69.28.210.3, Port 22 2026-02-04 10:25:32,737 - DEBUG - VM ctest-TestBasicPolicy-32359958-54191019 is ready for SSH connections 2026-02-04 10:25:32,738 - INFO - Waiting for VM ctest-TestBasicPolicy-32359958-51795038 to be up.. 2026-02-04 10:25:32,815 - DEBUG - VM is in ACTIVE state now 2026-02-04 10:25:32,815 - INFO - VM name : ctest-TestBasicPolicy-32359958-51795038 2026-02-04 10:25:32,908 - DEBUG - VM ctest-TestBasicPolicy-32359958-51795038 ID is 6bb0004b-35e2-41e6-a422-75b9295920c2 2026-02-04 10:25:32,909 - DEBUG - VM ctest-TestBasicPolicy-32359958-51795038 launched on Node cn-jenkins-deploy-platform-ansible-os-5202-1 2026-02-04 10:25:32,986 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/6bb0004b-35e2-41e6-a422-75b9295920c2 2026-02-04 10:25:32,995 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/9292a457-ea82-4a16-bd54-4df961e9fb4e 2026-02-04 10:25:34,234 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.330 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.330/1.948/3.566/1.618 ms') 2026-02-04 10:25:34,234 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-32359958-51795038 passed 2026-02-04 10:25:34,389 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:25:34,390 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32359958-51795038, IP 160.150.28.131, Port 22 2026-02-04 10:25:34,545 - DEBUG - VM ctest-TestBasicPolicy-32359958-51795038 is ready for SSH connections 2026-02-04 10:25:34,546 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:25:34,546 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.150.28.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-02-04 10:25:34,546 - DEBUG - ping -s 56 -c 3 -W 1 160.150.28.131 2026-02-04 10:25:38,666 - DEBUG - PING 160.150.28.131 (160.150.28.131): 56 data bytes 64 bytes from 160.150.28.131: seq=0 ttl=63 time=5.079 ms 64 bytes from 160.150.28.131: seq=1 ttl=63 time=2.320 ms 64 bytes from 160.150.28.131: seq=2 ttl=63 time=0.846 ms --- 160.150.28.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.846/2.748/5.079 ms 2026-02-04 10:25:38,666 - INFO - Ping to IP 160.150.28.131 from VM ctest-TestBasicPolicy-32359958-54191019 passed 2026-02-04 10:25:38,845 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fbf1b3e3-1d55-4a92-901e-64bb410127b1", "href": "http://10.0.0.23:8082/network-policy/fbf1b3e3-1d55-4a92-901e-64bb410127b1"}} 2026-02-04 10:25:38,845 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:25:38,845 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.150.28.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-02-04 10:25:38,845 - DEBUG - ping -s 56 -c 3 -W 1 160.150.28.131 2026-02-04 10:25:42,081 - DEBUG - PING 160.150.28.131 (160.150.28.131): 56 data bytes --- 160.150.28.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-04 10:25:42,081 - WARNING - Ping to IP 160.150.28.131 from VM ctest-TestBasicPolicy-32359958-54191019 failed 2026-02-04 10:25:42,081 - INFO - Deleting VM ctest-TestBasicPolicy-32359958-51795038 2026-02-04 10:25:42,157 - INFO - Deleting VM ctest-TestBasicPolicy-32359958-54191019 2026-02-04 10:25:42,541 - INFO - Deleted policy ctest-policy-allow-all-00895276 2026-02-04 10:25:42,541 - INFO - Deleting VN ctest-vn-99602201 2026-02-04 10:25:42,581 - DEBUG - VN 426e8e5b-f550-40da-9e52-3f33fa072d26 still in use: Unable to complete operation on network 426e8e5b-f550-40da-9e52-3f33fa072d26. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6dce138f-0d3c-44fd-925f-275fc85213c0'] 2026-02-04 10:25:42,581 - WARNING - Deleting VN ctest-vn-99602201 failed..Will retry 2026-02-04 10:25:44,690 - DEBUG - Response for deleting network () 2026-02-04 10:25:44,690 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/a2593fb2-babc-4c92-8d26-cae81433c93f 2026-02-04 10:25:44,699 - DEBUG - Response Code: 404 2026-02-04 10:25:44,699 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-02-04 10:25:44,704 - DEBUG - Requesting: http://10.0.0.23:8082/domain/2edf6a3b-a264-4d20-81b7-144b6668e103 2026-02-04 10:25:44,758 - DEBUG - Requesting: http://10.0.0.23:8082/project/a15f46f3-5d7f-419d-a626-744d4bb56f21 2026-02-04 10:25:44,839 - INFO - Validated that VN ctest-vn-99602201 is not found in API Server 2026-02-04 10:25:44,850 - DEBUG - VN ctest-vn-99602201 is not present in Agent 10.0.0.23 2026-02-04 10:25:44,850 - INFO - Validated that VN ctest-vn-99602201 is not in any agent 2026-02-04 10:25:44,865 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99602201 info 2026-02-04 10:25:44,865 - INFO - Deleting VN ctest-vn-44904731 2026-02-04 10:25:44,969 - DEBUG - Response for deleting network () 2026-02-04 10:25:44,969 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/08b289b7-0f2d-4b3b-bba3-807c20059399 2026-02-04 10:25:44,975 - DEBUG - Response Code: 404 2026-02-04 10:25:44,976 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-02-04 10:25:44,981 - DEBUG - Requesting: http://10.0.0.23:8082/domain/2edf6a3b-a264-4d20-81b7-144b6668e103 2026-02-04 10:25:45,034 - DEBUG - Requesting: http://10.0.0.23:8082/project/a15f46f3-5d7f-419d-a626-744d4bb56f21 2026-02-04 10:25:45,105 - INFO - Validated that VN ctest-vn-44904731 is not found in API Server 2026-02-04 10:25:45,116 - DEBUG - VN ctest-vn-44904731 is not present in Agent 10.0.0.23 2026-02-04 10:25:45,116 - INFO - Validated that VN ctest-vn-44904731 is not in any agent 2026-02-04 10:25:45,132 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44904731 info 2026-02-04 10:25:45,398 - DEBUG - No XMPP flaps were noticed during the test
2026-02-04 10:25:45,398 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-02-04 10:25:45,398 - INFO - -------------------------------------------------------------------------------- 2026-02-04 10:25:46,101 - INFO - Deleted project: ctest-TestBasicPolicy-32359958, ID : a15f46f3-5d7f-419d-a626-744d4bb56f21