2026-04-24 17:08:26,999 - INFO - Domain Default found not creating 2026-04-24 17:08:27,195 - INFO - Project ctest-TestBasicPolicy-18676881 not found, creating it 2026-04-24 17:08:27,696 - INFO - Created Project:ctest-TestBasicPolicy-18676881, ID : c7c5da97-cf5b-4b9d-a001-2fdfd2f234b4 2026-04-24 17:08:29,202 - INFO - ================================================================================ 2026-04-24 17:08:29,202 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-24 17:08:29,202 - 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-24 17:08:29,458 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-04-24 17:08:29,458 - INFO - Initial checks done. Running the testcase now 2026-04-24 17:08:29,458 - INFO - 2026-04-24 17:08:30,086 - DEBUG - Response for create_network : {'network': {'id': '1c01d085-c004-4d18-8189-497aabd3dd4a', 'name': 'ctest-vn-43217130', 'tenant_id': 'c7c5da97cf5b4b9da0012fdfd2f234b4', 'project_id': 'c7c5da97cf5b4b9da0012fdfd2f234b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18676881', 'ctest-vn-43217130'], 'port_security_enabled': True, 'description': ''}} 2026-04-24 17:08:30,277 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c812978-f051-4ebd-b4e5-14763d70ac1a', 'name': '', 'tenant_id': 'c7c5da97cf5b4b9da0012fdfd2f234b4', 'network_id': '1c01d085-c004-4d18-8189-497aabd3dd4a', 'ip_version': 4, 'cidr': '97.162.182.128/26', 'allocation_pools': [{'start': '97.162.182.130', 'end': '97.162.182.190'}], 'gateway_ip': '97.162.182.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.162.182.130', 'tags': [], 'project_id': 'c7c5da97cf5b4b9da0012fdfd2f234b4'}} 2026-04-24 17:08:30,298 - INFO - Created VN ctest-vn-43217130 2026-04-24 17:08:30,352 - DEBUG - VN ctest-vn-43217130 UUID is 1c01d085-c004-4d18-8189-497aabd3dd4a 2026-04-24 17:08:30,657 - DEBUG - Response for create_network : {'network': {'id': 'c11ff46d-0ddb-404d-b231-d5bb499cfa5a', 'name': 'ctest-vn-71388231', 'tenant_id': 'c7c5da97cf5b4b9da0012fdfd2f234b4', 'project_id': 'c7c5da97cf5b4b9da0012fdfd2f234b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18676881', 'ctest-vn-71388231'], 'port_security_enabled': True, 'description': ''}} 2026-04-24 17:08:30,857 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cff48d98-7cea-4875-9200-bc9e2fad487c', 'name': '', 'tenant_id': 'c7c5da97cf5b4b9da0012fdfd2f234b4', 'network_id': 'c11ff46d-0ddb-404d-b231-d5bb499cfa5a', 'ip_version': 4, 'cidr': '36.247.79.64/26', 'allocation_pools': [{'start': '36.247.79.66', 'end': '36.247.79.126'}], 'gateway_ip': '36.247.79.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.247.79.66', 'tags': [], 'project_id': 'c7c5da97cf5b4b9da0012fdfd2f234b4'}} 2026-04-24 17:08:30,877 - INFO - Created VN ctest-vn-71388231 2026-04-24 17:08:30,932 - DEBUG - VN ctest-vn-71388231 UUID is c11ff46d-0ddb-404d-b231-d5bb499cfa5a 2026-04-24 17:08:31,051 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18676881:ctest-vn-43217130, 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-18676881:ctest-vn-71388231, 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-24 17:08:31,375 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1c01d085-c004-4d18-8189-497aabd3dd4a', 'name': 'ctest-vn-43217130', 'tenant_id': 'c7c5da97cf5b4b9da0012fdfd2f234b4', 'project_id': 'c7c5da97cf5b4b9da0012fdfd2f234b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7c812978-f051-4ebd-b4e5-14763d70ac1a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18676881', 'ctest-vn-43217130'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18676881', 'ctest-policy-allow-all-01049253']], 'subnet_ipam': [{'subnet_cidr': '97.162.182.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-24 17:08:31,633 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c11ff46d-0ddb-404d-b231-d5bb499cfa5a', 'name': 'ctest-vn-71388231', 'tenant_id': 'c7c5da97cf5b4b9da0012fdfd2f234b4', 'project_id': 'c7c5da97cf5b4b9da0012fdfd2f234b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cff48d98-7cea-4875-9200-bc9e2fad487c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18676881', 'ctest-vn-71388231'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18676881', 'ctest-policy-allow-all-01049253']], 'subnet_ipam': [{'subnet_cidr': '36.247.79.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-24 17:08:31,808 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-24 17:08:32,109 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-24 17:08:32,148 - DEBUG - Requesting: http://10.0.0.38:8082/domain/edcce260-caef-4999-8ac9-8def37d9b21e 2026-04-24 17:08:32,163 - DEBUG - Requesting: http://10.0.0.38:8082/project/c7c5da97-cf5b-4b9d-a001-2fdfd2f234b4 2026-04-24 17:08:32,237 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1c01d085-c004-4d18-8189-497aabd3dd4a 2026-04-24 17:08:32,250 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1c01d085-c004-4d18-8189-497aabd3dd4a 2026-04-24 17:08:32,259 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/16c21e3b-0f1d-4937-8136-80acae977258 2026-04-24 17:08:32,268 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/16c21e3b-0f1d-4937-8136-80acae977258 2026-04-24 17:08:32,276 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5a9ebf3e-5964-4ea9-954b-f4bc8711b4bd 2026-04-24 17:08:32,285 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-24 17:08:32,285 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1c01d085-c004-4d18-8189-497aabd3dd4a 2026-04-24 17:08:32,297 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/16c21e3b-0f1d-4937-8136-80acae977258 2026-04-24 17:08:32,313 - INFO - Verified VN network id 11 for VN 1c01d085-c004-4d18-8189-497aabd3dd4a 2026-04-24 17:08:32,314 - INFO - Verifications in API Server for VN ctest-vn-43217130 passed 2026-04-24 17:08:32,314 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1c01d085-c004-4d18-8189-497aabd3dd4a 2026-04-24 17:08:32,324 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/16c21e3b-0f1d-4937-8136-80acae977258 2026-04-24 17:08:32,333 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/16c21e3b-0f1d-4937-8136-80acae977258 2026-04-24 17:08:32,342 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5a9ebf3e-5964-4ea9-954b-f4bc8711b4bd 2026-04-24 17:08:32,356 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18676881:ctest-vn-43217130', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18676881', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2018123380909427992', 'uuid-lslong': '9334072493919690058'}, 'enable': 'true', 'created': '2026-04-24T17:08:30', 'last-modified': '2026-04-24T17:08:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.012026'} 2026-04-24 17:08:32,363 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-24 17:08:32,363 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43217130 passed 2026-04-24 17:08:32,364 - DEBUG - ====Verifying policy data for ctest-vn-43217130 in API_Server ====== 2026-04-24 17:08:32,364 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-24 17:08:32,371 - DEBUG - Requesting: http://10.0.0.38:8082/domain/edcce260-caef-4999-8ac9-8def37d9b21e 2026-04-24 17:08:32,385 - DEBUG - Requesting: http://10.0.0.38:8082/project/c7c5da97-cf5b-4b9d-a001-2fdfd2f234b4 2026-04-24 17:08:32,456 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1c01d085-c004-4d18-8189-497aabd3dd4a 2026-04-24 17:08:32,465 - DEBUG - ==>Verifying data for policy with id: 937e66fc-84bf-4e00-9b44-3e5f2d42bdd4, fqn: ['default-domain', 'ctest-TestBasicPolicy-18676881', 'ctest-policy-allow-all-01049253'] 2026-04-24 17:08:32,465 - INFO - VN ctest-vn-43217130 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-24 17:08:32,465 - DEBUG - Verifying the vn in opserver 2026-04-24 17:08:32,465 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18676881:ctest-vn-43217130 virtual network link through opserver 10.0.0.38 2026-04-24 17:08:32,465 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-24 17:08:32,758 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-24 17:08:32,828 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18676881:ctest-vn-43217130', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18676881:ctest-vn-43217130?flat'} 2026-04-24 17:08:32,828 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18676881:ctest-vn-43217130 is found in opserver 2026-04-24 17:08:32,837 - DEBUG - Do not have enough data to verify VN in agent 2026-04-24 17:08:32,842 - DEBUG - VRF ids for VN ctest-vn-43217130: {} 2026-04-24 17:08:32,842 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-24 17:08:32,847 - DEBUG - Requesting: http://10.0.0.38:8082/domain/edcce260-caef-4999-8ac9-8def37d9b21e 2026-04-24 17:08:32,859 - DEBUG - Requesting: http://10.0.0.38:8082/project/c7c5da97-cf5b-4b9d-a001-2fdfd2f234b4 2026-04-24 17:08:32,933 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c11ff46d-0ddb-404d-b231-d5bb499cfa5a 2026-04-24 17:08:32,946 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c11ff46d-0ddb-404d-b231-d5bb499cfa5a 2026-04-24 17:08:32,959 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4d79af90-949f-4dee-8873-8d978c1ebf90 2026-04-24 17:08:32,967 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4d79af90-949f-4dee-8873-8d978c1ebf90 2026-04-24 17:08:32,974 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d102d908-9b7a-4930-86aa-4c75694f4695 2026-04-24 17:08:32,982 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-24 17:08:32,982 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c11ff46d-0ddb-404d-b231-d5bb499cfa5a 2026-04-24 17:08:32,992 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4d79af90-949f-4dee-8873-8d978c1ebf90 2026-04-24 17:08:33,012 - INFO - Verified VN network id 12 for VN c11ff46d-0ddb-404d-b231-d5bb499cfa5a 2026-04-24 17:08:33,013 - INFO - Verifications in API Server for VN ctest-vn-71388231 passed 2026-04-24 17:08:33,013 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c11ff46d-0ddb-404d-b231-d5bb499cfa5a 2026-04-24 17:08:33,026 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4d79af90-949f-4dee-8873-8d978c1ebf90 2026-04-24 17:08:33,035 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4d79af90-949f-4dee-8873-8d978c1ebf90 2026-04-24 17:08:33,043 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d102d908-9b7a-4930-86aa-4c75694f4695 2026-04-24 17:08:33,056 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18676881:ctest-vn-71388231', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18676881', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13916110122819207245', 'uuid-lslong': '12840279012980619866'}, 'enable': 'true', 'created': '2026-04-24T17:08:30', 'last-modified': '2026-04-24T17:08:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.448443'} 2026-04-24 17:08:33,061 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-24 17:08:33,061 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71388231 passed 2026-04-24 17:08:33,061 - DEBUG - ====Verifying policy data for ctest-vn-71388231 in API_Server ====== 2026-04-24 17:08:33,061 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-24 17:08:33,067 - DEBUG - Requesting: http://10.0.0.38:8082/domain/edcce260-caef-4999-8ac9-8def37d9b21e 2026-04-24 17:08:33,080 - DEBUG - Requesting: http://10.0.0.38:8082/project/c7c5da97-cf5b-4b9d-a001-2fdfd2f234b4 2026-04-24 17:08:33,154 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c11ff46d-0ddb-404d-b231-d5bb499cfa5a 2026-04-24 17:08:33,163 - DEBUG - ==>Verifying data for policy with id: 937e66fc-84bf-4e00-9b44-3e5f2d42bdd4, fqn: ['default-domain', 'ctest-TestBasicPolicy-18676881', 'ctest-policy-allow-all-01049253'] 2026-04-24 17:08:33,163 - INFO - VN ctest-vn-71388231 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-24 17:08:33,163 - DEBUG - Verifying the vn in opserver 2026-04-24 17:08:33,163 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18676881:ctest-vn-71388231 virtual network link through opserver 10.0.0.38 2026-04-24 17:08:33,163 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-24 17:08:33,175 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18676881:ctest-vn-71388231', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18676881:ctest-vn-71388231?flat'} 2026-04-24 17:08:33,175 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18676881:ctest-vn-71388231 is found in opserver 2026-04-24 17:08:33,188 - DEBUG - Do not have enough data to verify VN in agent 2026-04-24 17:08:33,193 - DEBUG - VRF ids for VN ctest-vn-71388231: {} 2026-04-24 17:08:33,259 - DEBUG - Services list from nova: [, , ] 2026-04-24 17:08:34,317 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5683-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5683-1) 2026-04-24 17:08:35,477 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5683-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5683-1) 2026-04-24 17:08:35,478 - INFO - Waiting for VM ctest-TestBasicPolicy-18676881-72022927 to be up.. 2026-04-24 17:08:35,580 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-24 17:08:40,660 - DEBUG - VM is in ACTIVE state now 2026-04-24 17:08:40,660 - INFO - VM name : ctest-TestBasicPolicy-18676881-72022927 2026-04-24 17:08:40,735 - DEBUG - VM ctest-TestBasicPolicy-18676881-72022927 ID is 34ea3b02-4d99-464a-8199-5a1628226292 2026-04-24 17:08:40,755 - DEBUG - VM ctest-TestBasicPolicy-18676881-72022927 launched on Node cn-jenkins-deploy-platform-ansible-os-5683-1 2026-04-24 17:08:40,832 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/34ea3b02-4d99-464a-8199-5a1628226292 2026-04-24 17:08:40,841 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b8ec869e-d3b9-491d-8279-b4041b43fe87 2026-04-24 17:08:44,093 - 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 1014ms') 2026-04-24 17:08:44,094 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18676881-72022927 failed! 2026-04-24 17:08:44,148 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18676881:ctest-vn-43217130 is 97.162.182.129 and allocation pool is NOT set 2026-04-24 17:08:46,208 - 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.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.752 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.752/4.972/9.193/4.220 ms') 2026-04-24 17:08:46,208 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18676881-72022927 passed 2026-04-24 17:08:46,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 17:08:46,412 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18676881-72022927, IP 97.162.182.131, Port 22 2026-04-24 17:08:46,482 - 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-24 17:08:46,657 - DEBUG - VM ctest-TestBasicPolicy-18676881-72022927 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-24 17:08:51,658 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 17:08:51,658 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18676881-72022927, IP 97.162.182.131, Port 22 2026-04-24 17:08:51,816 - DEBUG - VM ctest-TestBasicPolicy-18676881-72022927 is ready for SSH connections 2026-04-24 17:08:51,816 - INFO - Waiting for VM ctest-TestBasicPolicy-18676881-70650082 to be up.. 2026-04-24 17:08:51,904 - DEBUG - VM is in ACTIVE state now 2026-04-24 17:08:51,904 - INFO - VM name : ctest-TestBasicPolicy-18676881-70650082 2026-04-24 17:08:52,002 - DEBUG - VM ctest-TestBasicPolicy-18676881-70650082 ID is 40874920-51f3-461a-9916-10a1b8aae24c 2026-04-24 17:08:52,003 - DEBUG - VM ctest-TestBasicPolicy-18676881-70650082 launched on Node cn-jenkins-deploy-platform-ansible-os-5683-1 2026-04-24 17:08:52,081 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/40874920-51f3-461a-9916-10a1b8aae24c 2026-04-24 17:08:52,090 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7f81dd9d-09b1-43f6-b13b-2ca502fd9f81 2026-04-24 17:08:53,335 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.528 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.528/1.843/3.158/1.315 ms') 2026-04-24 17:08:53,335 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-18676881-70650082 passed 2026-04-24 17:08:53,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 17:08:53,488 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18676881-70650082, IP 36.247.79.67, Port 22 2026-04-24 17:08:53,643 - DEBUG - VM ctest-TestBasicPolicy-18676881-70650082 is ready for SSH connections 2026-04-24 17:08:53,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 17:08:53,644 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.247.79.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-24 17:08:53,644 - DEBUG - ping -s 56 -c 3 -W 1 36.247.79.67 2026-04-24 17:08:57,770 - DEBUG - PING 36.247.79.67 (36.247.79.67): 56 data bytes 64 bytes from 36.247.79.67: seq=0 ttl=63 time=3.939 ms 64 bytes from 36.247.79.67: seq=1 ttl=63 time=0.950 ms 64 bytes from 36.247.79.67: seq=2 ttl=63 time=0.864 ms --- 36.247.79.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.864/1.917/3.939 ms 2026-04-24 17:08:57,770 - INFO - Ping to IP 36.247.79.67 from VM ctest-TestBasicPolicy-18676881-72022927 passed 2026-04-24 17:08:57,948 - DEBUG - Policy Update Response {"network-policy": {"uuid": "937e66fc-84bf-4e00-9b44-3e5f2d42bdd4", "href": "http://10.0.0.38:8082/network-policy/937e66fc-84bf-4e00-9b44-3e5f2d42bdd4"}} 2026-04-24 17:08:57,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 17:08:57,948 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.247.79.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-24 17:08:57,948 - DEBUG - ping -s 56 -c 3 -W 1 36.247.79.67 2026-04-24 17:09:01,220 - DEBUG - PING 36.247.79.67 (36.247.79.67): 56 data bytes --- 36.247.79.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-24 17:09:01,221 - WARNING - Ping to IP 36.247.79.67 from VM ctest-TestBasicPolicy-18676881-72022927 failed 2026-04-24 17:09:01,221 - INFO - Deleting VM ctest-TestBasicPolicy-18676881-70650082 2026-04-24 17:09:01,310 - INFO - Deleting VM ctest-TestBasicPolicy-18676881-72022927 2026-04-24 17:09:01,756 - INFO - Deleted policy ctest-policy-allow-all-01049253 2026-04-24 17:09:01,756 - INFO - Deleting VN ctest-vn-71388231 2026-04-24 17:09:01,793 - DEBUG - VN c11ff46d-0ddb-404d-b231-d5bb499cfa5a still in use: Unable to complete operation on network c11ff46d-0ddb-404d-b231-d5bb499cfa5a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cd41d8d7-f09f-4fb7-9047-de4bbead3f42'] 2026-04-24 17:09:01,793 - WARNING - Deleting VN ctest-vn-71388231 failed..Will retry 2026-04-24 17:09:03,913 - DEBUG - Response for deleting network () 2026-04-24 17:09:03,913 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4d79af90-949f-4dee-8873-8d978c1ebf90 2026-04-24 17:09:03,922 - DEBUG - Response Code: 404 2026-04-24 17:09:03,922 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-24 17:09:03,927 - DEBUG - Requesting: http://10.0.0.38:8082/domain/edcce260-caef-4999-8ac9-8def37d9b21e 2026-04-24 17:09:03,983 - DEBUG - Requesting: http://10.0.0.38:8082/project/c7c5da97-cf5b-4b9d-a001-2fdfd2f234b4 2026-04-24 17:09:04,055 - INFO - Validated that VN ctest-vn-71388231 is not found in API Server 2026-04-24 17:09:04,066 - DEBUG - VN ctest-vn-71388231 is not present in Agent 10.0.0.38 2026-04-24 17:09:04,066 - INFO - Validated that VN ctest-vn-71388231 is not in any agent 2026-04-24 17:09:04,083 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71388231 info 2026-04-24 17:09:04,083 - INFO - Deleting VN ctest-vn-43217130 2026-04-24 17:09:04,204 - DEBUG - Response for deleting network () 2026-04-24 17:09:04,204 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/16c21e3b-0f1d-4937-8136-80acae977258 2026-04-24 17:09:04,211 - DEBUG - Response Code: 404 2026-04-24 17:09:04,212 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-24 17:09:04,218 - DEBUG - Requesting: http://10.0.0.38:8082/domain/edcce260-caef-4999-8ac9-8def37d9b21e 2026-04-24 17:09:04,277 - DEBUG - Requesting: http://10.0.0.38:8082/project/c7c5da97-cf5b-4b9d-a001-2fdfd2f234b4 2026-04-24 17:09:04,350 - INFO - Validated that VN ctest-vn-43217130 is not found in API Server 2026-04-24 17:09:04,361 - DEBUG - VN ctest-vn-43217130 is not present in Agent 10.0.0.38 2026-04-24 17:09:04,361 - INFO - Validated that VN ctest-vn-43217130 is not in any agent 2026-04-24 17:09:04,378 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43217130 info 2026-04-24 17:09:04,638 - DEBUG - No XMPP flaps were noticed during the test
2026-04-24 17:09:04,638 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-04-24 17:09:04,638 - INFO - -------------------------------------------------------------------------------- 2026-04-24 17:09:05,356 - INFO - Deleted project: ctest-TestBasicPolicy-18676881, ID : c7c5da97-cf5b-4b9d-a001-2fdfd2f234b4