2026-05-07 02:27:26,017 - INFO - Domain Default found not creating 2026-05-07 02:27:26,251 - INFO - Project ctest-TestBasicPolicy-40807288 not found, creating it 2026-05-07 02:27:26,736 - INFO - Created Project:ctest-TestBasicPolicy-40807288, ID : 343ccc0d-8b19-47ce-afd0-b32bb9486007 2026-05-07 02:27:29,195 - INFO - ================================================================================ 2026-05-07 02:27:29,195 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-07 02:27:29,195 - 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-05-07 02:27:29,469 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2026-05-07 02:27:29,470 - INFO - Initial checks done. Running the testcase now 2026-05-07 02:27:29,470 - INFO - 2026-05-07 02:27:30,067 - DEBUG - Response for create_network : {'network': {'id': '8a8aae06-003b-4917-9bf8-c367e063a17c', 'name': 'ctest-vn-81674842', 'tenant_id': '343ccc0d8b1947ceafd0b32bb9486007', 'project_id': '343ccc0d8b1947ceafd0b32bb9486007', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40807288', 'ctest-vn-81674842'], 'port_security_enabled': True, 'description': ''}} 2026-05-07 02:27:30,282 - DEBUG - Response for create_subnet : {'subnet': {'id': '77f4d5ba-2972-4b42-9ea4-a3d2aae41527', 'name': '', 'tenant_id': '343ccc0d8b1947ceafd0b32bb9486007', 'network_id': '8a8aae06-003b-4917-9bf8-c367e063a17c', 'ip_version': 4, 'cidr': '221.65.130.0/26', 'allocation_pools': [{'start': '221.65.130.2', 'end': '221.65.130.62'}], 'gateway_ip': '221.65.130.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.65.130.2', 'tags': [], 'project_id': '343ccc0d8b1947ceafd0b32bb9486007'}} 2026-05-07 02:27:30,308 - INFO - Created VN ctest-vn-81674842 2026-05-07 02:27:30,366 - DEBUG - VN ctest-vn-81674842 UUID is 8a8aae06-003b-4917-9bf8-c367e063a17c 2026-05-07 02:27:30,703 - DEBUG - Response for create_network : {'network': {'id': '0f7304d6-c8da-4bce-94f8-50d0defbfe8b', 'name': 'ctest-vn-58401770', 'tenant_id': '343ccc0d8b1947ceafd0b32bb9486007', 'project_id': '343ccc0d8b1947ceafd0b32bb9486007', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40807288', 'ctest-vn-58401770'], 'port_security_enabled': True, 'description': ''}} 2026-05-07 02:27:30,891 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4f67a50-984b-40df-a2b1-2285f4b693e2', 'name': '', 'tenant_id': '343ccc0d8b1947ceafd0b32bb9486007', 'network_id': '0f7304d6-c8da-4bce-94f8-50d0defbfe8b', 'ip_version': 4, 'cidr': '61.243.161.64/26', 'allocation_pools': [{'start': '61.243.161.66', 'end': '61.243.161.126'}], 'gateway_ip': '61.243.161.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.243.161.66', 'tags': [], 'project_id': '343ccc0d8b1947ceafd0b32bb9486007'}} 2026-05-07 02:27:30,915 - INFO - Created VN ctest-vn-58401770 2026-05-07 02:27:30,970 - DEBUG - VN ctest-vn-58401770 UUID is 0f7304d6-c8da-4bce-94f8-50d0defbfe8b 2026-05-07 02:27:31,107 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40807288:ctest-vn-81674842, 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-40807288:ctest-vn-58401770, 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-05-07 02:27:31,443 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8a8aae06-003b-4917-9bf8-c367e063a17c', 'name': 'ctest-vn-81674842', 'tenant_id': '343ccc0d8b1947ceafd0b32bb9486007', 'project_id': '343ccc0d8b1947ceafd0b32bb9486007', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['77f4d5ba-2972-4b42-9ea4-a3d2aae41527'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40807288', 'ctest-vn-81674842'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40807288', 'ctest-policy-allow-all-09022513']], 'subnet_ipam': [{'subnet_cidr': '221.65.130.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-07 02:27:31,707 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0f7304d6-c8da-4bce-94f8-50d0defbfe8b', 'name': 'ctest-vn-58401770', 'tenant_id': '343ccc0d8b1947ceafd0b32bb9486007', 'project_id': '343ccc0d8b1947ceafd0b32bb9486007', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b4f67a50-984b-40df-a2b1-2285f4b693e2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40807288', 'ctest-vn-58401770'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40807288', 'ctest-policy-allow-all-09022513']], 'subnet_ipam': [{'subnet_cidr': '61.243.161.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-07 02:27:31,882 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-05-07 02:27:32,201 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-05-07 02:27:32,238 - DEBUG - Requesting: http://10.0.0.22:8082/domain/ce58ba89-0286-48e6-aceb-3557d6ec7944 2026-05-07 02:27:32,253 - DEBUG - Requesting: http://10.0.0.22:8082/project/343ccc0d-8b19-47ce-afd0-b32bb9486007 2026-05-07 02:27:32,328 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8a8aae06-003b-4917-9bf8-c367e063a17c 2026-05-07 02:27:32,343 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8a8aae06-003b-4917-9bf8-c367e063a17c 2026-05-07 02:27:32,358 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c30db230-c841-43ce-81ba-74b8deee5362 2026-05-07 02:27:32,368 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c30db230-c841-43ce-81ba-74b8deee5362 2026-05-07 02:27:32,376 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/adc16068-b406-4a86-9304-dcca298b0de9 2026-05-07 02:27:32,384 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-07 02:27:32,384 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8a8aae06-003b-4917-9bf8-c367e063a17c 2026-05-07 02:27:32,393 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c30db230-c841-43ce-81ba-74b8deee5362 2026-05-07 02:27:32,411 - INFO - Verified VN network id 12 for VN 8a8aae06-003b-4917-9bf8-c367e063a17c 2026-05-07 02:27:32,412 - INFO - Verifications in API Server for VN ctest-vn-81674842 passed 2026-05-07 02:27:32,412 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8a8aae06-003b-4917-9bf8-c367e063a17c 2026-05-07 02:27:32,422 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c30db230-c841-43ce-81ba-74b8deee5362 2026-05-07 02:27:32,430 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c30db230-c841-43ce-81ba-74b8deee5362 2026-05-07 02:27:32,438 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/adc16068-b406-4a86-9304-dcca298b0de9 2026-05-07 02:27:32,451 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40807288:ctest-vn-81674842', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40807288', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9982982864817047831', 'uuid-lslong': '11238947721016746364'}, 'enable': 'true', 'created': '2026-05-07T02:27:30', 'last-modified': '2026-05-07T02:27:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.033191'} 2026-05-07 02:27:32,459 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-07 02:27:32,459 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81674842 passed 2026-05-07 02:27:32,460 - DEBUG - ====Verifying policy data for ctest-vn-81674842 in API_Server ====== 2026-05-07 02:27:32,460 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-05-07 02:27:32,467 - DEBUG - Requesting: http://10.0.0.22:8082/domain/ce58ba89-0286-48e6-aceb-3557d6ec7944 2026-05-07 02:27:32,480 - DEBUG - Requesting: http://10.0.0.22:8082/project/343ccc0d-8b19-47ce-afd0-b32bb9486007 2026-05-07 02:27:32,552 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8a8aae06-003b-4917-9bf8-c367e063a17c 2026-05-07 02:27:32,563 - DEBUG - ==>Verifying data for policy with id: a98102ea-35fa-4cd4-adec-c49a3e6ceb82, fqn: ['default-domain', 'ctest-TestBasicPolicy-40807288', 'ctest-policy-allow-all-09022513'] 2026-05-07 02:27:32,563 - INFO - VN ctest-vn-81674842 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-07 02:27:32,563 - DEBUG - Verifying the vn in opserver 2026-05-07 02:27:32,563 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40807288:ctest-vn-81674842 virtual network link through opserver 10.0.0.22 2026-05-07 02:27:32,563 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-05-07 02:27:32,889 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-05-07 02:27:32,975 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40807288:ctest-vn-81674842', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40807288:ctest-vn-81674842?flat'} 2026-05-07 02:27:32,975 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40807288:ctest-vn-81674842 is found in opserver 2026-05-07 02:27:32,989 - DEBUG - Do not have enough data to verify VN in agent 2026-05-07 02:27:32,995 - DEBUG - VRF ids for VN ctest-vn-81674842: {} 2026-05-07 02:27:32,995 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-05-07 02:27:33,002 - DEBUG - Requesting: http://10.0.0.22:8082/domain/ce58ba89-0286-48e6-aceb-3557d6ec7944 2026-05-07 02:27:33,014 - DEBUG - Requesting: http://10.0.0.22:8082/project/343ccc0d-8b19-47ce-afd0-b32bb9486007 2026-05-07 02:27:33,095 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0f7304d6-c8da-4bce-94f8-50d0defbfe8b 2026-05-07 02:27:33,110 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0f7304d6-c8da-4bce-94f8-50d0defbfe8b 2026-05-07 02:27:33,122 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/039683ed-2e24-4d41-bfc1-1f7edc018bc4 2026-05-07 02:27:33,131 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/039683ed-2e24-4d41-bfc1-1f7edc018bc4 2026-05-07 02:27:33,140 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d1210943-6974-4e96-9de0-f5e92bcf284b 2026-05-07 02:27:33,150 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-07 02:27:33,150 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0f7304d6-c8da-4bce-94f8-50d0defbfe8b 2026-05-07 02:27:33,162 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/039683ed-2e24-4d41-bfc1-1f7edc018bc4 2026-05-07 02:27:33,183 - INFO - Verified VN network id 13 for VN 0f7304d6-c8da-4bce-94f8-50d0defbfe8b 2026-05-07 02:27:33,183 - INFO - Verifications in API Server for VN ctest-vn-58401770 passed 2026-05-07 02:27:33,183 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0f7304d6-c8da-4bce-94f8-50d0defbfe8b 2026-05-07 02:27:33,193 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/039683ed-2e24-4d41-bfc1-1f7edc018bc4 2026-05-07 02:27:33,202 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/039683ed-2e24-4d41-bfc1-1f7edc018bc4 2026-05-07 02:27:33,211 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d1210943-6974-4e96-9de0-f5e92bcf284b 2026-05-07 02:27:33,225 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40807288:ctest-vn-58401770', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40807288', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1113238853429906382', 'uuid-lslong': '10734418569862053515'}, 'enable': 'true', 'created': '2026-05-07T02:27:30', 'last-modified': '2026-05-07T02:27:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.543421'} 2026-05-07 02:27:33,232 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-07 02:27:33,232 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58401770 passed 2026-05-07 02:27:33,232 - DEBUG - ====Verifying policy data for ctest-vn-58401770 in API_Server ====== 2026-05-07 02:27:33,232 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-05-07 02:27:33,239 - DEBUG - Requesting: http://10.0.0.22:8082/domain/ce58ba89-0286-48e6-aceb-3557d6ec7944 2026-05-07 02:27:33,251 - DEBUG - Requesting: http://10.0.0.22:8082/project/343ccc0d-8b19-47ce-afd0-b32bb9486007 2026-05-07 02:27:33,325 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0f7304d6-c8da-4bce-94f8-50d0defbfe8b 2026-05-07 02:27:33,337 - DEBUG - ==>Verifying data for policy with id: a98102ea-35fa-4cd4-adec-c49a3e6ceb82, fqn: ['default-domain', 'ctest-TestBasicPolicy-40807288', 'ctest-policy-allow-all-09022513'] 2026-05-07 02:27:33,337 - INFO - VN ctest-vn-58401770 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-07 02:27:33,337 - DEBUG - Verifying the vn in opserver 2026-05-07 02:27:33,337 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40807288:ctest-vn-58401770 virtual network link through opserver 10.0.0.22 2026-05-07 02:27:33,337 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-05-07 02:27:33,349 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40807288:ctest-vn-58401770', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40807288:ctest-vn-58401770?flat'} 2026-05-07 02:27:33,349 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40807288:ctest-vn-58401770 is found in opserver 2026-05-07 02:27:33,360 - DEBUG - Do not have enough data to verify VN in agent 2026-05-07 02:27:33,365 - DEBUG - VRF ids for VN ctest-vn-58401770: {} 2026-05-07 02:27:33,444 - DEBUG - Services list from nova: [, , ] 2026-05-07 02:27:34,600 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5753-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5753-1) 2026-05-07 02:27:35,891 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5753-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5753-1) 2026-05-07 02:27:35,891 - INFO - Waiting for VM ctest-TestBasicPolicy-40807288-15384218 to be up.. 2026-05-07 02:27:36,005 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-07 02:27:41,101 - DEBUG - VM is in ACTIVE state now 2026-05-07 02:27:41,101 - INFO - VM name : ctest-TestBasicPolicy-40807288-15384218 2026-05-07 02:27:41,211 - DEBUG - VM ctest-TestBasicPolicy-40807288-15384218 ID is a5df437d-843f-42b8-b8ab-409c99eb7567 2026-05-07 02:27:41,245 - DEBUG - VM ctest-TestBasicPolicy-40807288-15384218 launched on Node cn-jenkins-deploy-platform-ansible-os-5753-1 2026-05-07 02:27:41,373 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/a5df437d-843f-42b8-b8ab-409c99eb7567 2026-05-07 02:27:41,383 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a7570e8d-a899-4ab4-8bcd-2558ec38099c 2026-05-07 02:27:44,591 - 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 1009ms') 2026-05-07 02:27:44,591 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40807288-15384218 failed! 2026-05-07 02:27:44,654 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40807288:ctest-vn-81674842 is 221.65.130.1 and allocation pool is NOT set 2026-05-07 02:27:46,718 - 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=11.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.57 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.569/7.091/11.614/4.522 ms') 2026-05-07 02:27:46,718 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40807288-15384218 passed 2026-05-07 02:27:46,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 02:27:46,886 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40807288-15384218, IP 221.65.130.3, Port 22 2026-05-07 02:27:46,957 - 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-05-07 02:27:47,106 - DEBUG - VM ctest-TestBasicPolicy-40807288-15384218 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-07 02:27:52,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 02:27:52,107 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40807288-15384218, IP 221.65.130.3, Port 22 2026-05-07 02:27:52,284 - DEBUG - VM ctest-TestBasicPolicy-40807288-15384218 is ready for SSH connections 2026-05-07 02:27:52,284 - INFO - Waiting for VM ctest-TestBasicPolicy-40807288-95003751 to be up.. 2026-05-07 02:27:52,384 - DEBUG - VM is in ACTIVE state now 2026-05-07 02:27:52,384 - INFO - VM name : ctest-TestBasicPolicy-40807288-95003751 2026-05-07 02:27:52,478 - DEBUG - VM ctest-TestBasicPolicy-40807288-95003751 ID is 0850b060-4cb7-45d7-8a05-bd894ea7618c 2026-05-07 02:27:52,478 - DEBUG - VM ctest-TestBasicPolicy-40807288-95003751 launched on Node cn-jenkins-deploy-platform-ansible-os-5753-1 2026-05-07 02:27:52,574 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0850b060-4cb7-45d7-8a05-bd894ea7618c 2026-05-07 02:27:52,586 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/60ef076f-7352-46cd-8ba2-eee8a1d35c56 2026-05-07 02:27:53,834 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.471 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.471/2.202/3.933/1.731 ms') 2026-05-07 02:27:53,834 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40807288-95003751 passed 2026-05-07 02:27:53,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 02:27:53,990 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40807288-95003751, IP 61.243.161.67, Port 22 2026-05-07 02:27:54,160 - DEBUG - VM ctest-TestBasicPolicy-40807288-95003751 is ready for SSH connections 2026-05-07 02:27:54,160 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 02:27:54,160 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.243.161.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-05-07 02:27:54,160 - DEBUG - ping -s 56 -c 3 -W 1 61.243.161.67 2026-05-07 02:27:58,340 - DEBUG - PING 61.243.161.67 (61.243.161.67): 56 data bytes 64 bytes from 61.243.161.67: seq=0 ttl=63 time=4.065 ms 64 bytes from 61.243.161.67: seq=1 ttl=63 time=1.349 ms 64 bytes from 61.243.161.67: seq=2 ttl=63 time=1.390 ms --- 61.243.161.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.349/2.268/4.065 ms 2026-05-07 02:27:58,340 - INFO - Ping to IP 61.243.161.67 from VM ctest-TestBasicPolicy-40807288-15384218 passed 2026-05-07 02:27:58,526 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a98102ea-35fa-4cd4-adec-c49a3e6ceb82", "href": "http://10.0.0.22:8082/network-policy/a98102ea-35fa-4cd4-adec-c49a3e6ceb82"}} 2026-05-07 02:27:58,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-07 02:27:58,526 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.243.161.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-05-07 02:27:58,526 - DEBUG - ping -s 56 -c 3 -W 1 61.243.161.67 2026-05-07 02:28:01,759 - DEBUG - PING 61.243.161.67 (61.243.161.67): 56 data bytes --- 61.243.161.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-07 02:28:01,759 - WARNING - Ping to IP 61.243.161.67 from VM ctest-TestBasicPolicy-40807288-15384218 failed 2026-05-07 02:28:01,760 - INFO - Deleting VM ctest-TestBasicPolicy-40807288-95003751 2026-05-07 02:28:01,868 - INFO - Deleting VM ctest-TestBasicPolicy-40807288-15384218 2026-05-07 02:28:02,342 - INFO - Deleted policy ctest-policy-allow-all-09022513 2026-05-07 02:28:02,342 - INFO - Deleting VN ctest-vn-58401770 2026-05-07 02:28:02,397 - DEBUG - VN 0f7304d6-c8da-4bce-94f8-50d0defbfe8b still in use: Unable to complete operation on network 0f7304d6-c8da-4bce-94f8-50d0defbfe8b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fcc64091-4be9-4166-aa6d-eb93fef0ff6e'] 2026-05-07 02:28:02,398 - WARNING - Deleting VN ctest-vn-58401770 failed..Will retry 2026-05-07 02:28:04,548 - DEBUG - Response for deleting network () 2026-05-07 02:28:04,548 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/039683ed-2e24-4d41-bfc1-1f7edc018bc4 2026-05-07 02:28:04,555 - DEBUG - Response Code: 404 2026-05-07 02:28:04,555 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-05-07 02:28:04,564 - DEBUG - Requesting: http://10.0.0.22:8082/domain/ce58ba89-0286-48e6-aceb-3557d6ec7944 2026-05-07 02:28:04,620 - DEBUG - Requesting: http://10.0.0.22:8082/project/343ccc0d-8b19-47ce-afd0-b32bb9486007 2026-05-07 02:28:04,702 - INFO - Validated that VN ctest-vn-58401770 is not found in API Server 2026-05-07 02:28:04,713 - DEBUG - VN ctest-vn-58401770 is not present in Agent 10.0.0.22 2026-05-07 02:28:04,713 - INFO - Validated that VN ctest-vn-58401770 is not in any agent 2026-05-07 02:28:04,730 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58401770 info 2026-05-07 02:28:04,730 - INFO - Deleting VN ctest-vn-81674842 2026-05-07 02:28:04,859 - DEBUG - Response for deleting network () 2026-05-07 02:28:04,860 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c30db230-c841-43ce-81ba-74b8deee5362 2026-05-07 02:28:04,866 - DEBUG - Response Code: 404 2026-05-07 02:28:04,866 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-05-07 02:28:04,872 - DEBUG - Requesting: http://10.0.0.22:8082/domain/ce58ba89-0286-48e6-aceb-3557d6ec7944 2026-05-07 02:28:04,929 - DEBUG - Requesting: http://10.0.0.22:8082/project/343ccc0d-8b19-47ce-afd0-b32bb9486007 2026-05-07 02:28:05,005 - INFO - Validated that VN ctest-vn-81674842 is not found in API Server 2026-05-07 02:28:05,016 - DEBUG - VN ctest-vn-81674842 is not present in Agent 10.0.0.22 2026-05-07 02:28:05,016 - INFO - Validated that VN ctest-vn-81674842 is not in any agent 2026-05-07 02:28:05,034 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81674842 info 2026-05-07 02:28:05,296 - DEBUG - No XMPP flaps were noticed during the test 2026-05-07 02:28:05,296 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2026-05-07 02:28:05,297 - INFO - -------------------------------------------------------------------------------- 2026-05-07 02:28:06,073 - INFO - Deleted project: ctest-TestBasicPolicy-40807288, ID : 343ccc0d-8b19-47ce-afd0-b32bb9486007