2026-02-16 02:15:15,769 - INFO - Domain Default found not creating 2026-02-16 02:15:15,953 - INFO - Project ctest-TestBasicPolicy-48459352 not found, creating it 2026-02-16 02:15:16,451 - INFO - Created Project:ctest-TestBasicPolicy-48459352, ID : b619a012-64cd-453d-8c86-c6c3e42ee0e1 2026-02-16 02:15:18,182 - INFO - ================================================================================ 2026-02-16 02:15:18,183 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-16 02:15:18,183 - 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-16 02:15:18,452 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2026-02-16 02:15:18,452 - INFO - Initial checks done. Running the testcase now 2026-02-16 02:15:18,452 - INFO - 2026-02-16 02:15:19,064 - DEBUG - Response for create_network : {'network': {'id': 'ba5d64fa-45f2-4eb8-974f-4328ff84832f', 'name': 'ctest-vn-53934012', 'tenant_id': 'b619a01264cd453d8c86c6c3e42ee0e1', 'project_id': 'b619a01264cd453d8c86c6c3e42ee0e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48459352', 'ctest-vn-53934012'], 'port_security_enabled': True, 'description': ''}} 2026-02-16 02:15:19,302 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa6696aa-84b0-4b50-a6df-f906e99595e6', 'name': '', 'tenant_id': 'b619a01264cd453d8c86c6c3e42ee0e1', 'network_id': 'ba5d64fa-45f2-4eb8-974f-4328ff84832f', 'ip_version': 4, 'cidr': '160.237.109.64/26', 'allocation_pools': [{'start': '160.237.109.66', 'end': '160.237.109.126'}], 'gateway_ip': '160.237.109.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.237.109.66', 'tags': [], 'project_id': 'b619a01264cd453d8c86c6c3e42ee0e1'}} 2026-02-16 02:15:19,324 - INFO - Created VN ctest-vn-53934012 2026-02-16 02:15:19,375 - DEBUG - VN ctest-vn-53934012 UUID is ba5d64fa-45f2-4eb8-974f-4328ff84832f 2026-02-16 02:15:19,703 - DEBUG - Response for create_network : {'network': {'id': '58f40a4d-f53c-4564-9d25-3df6cd8a5d84', 'name': 'ctest-vn-78923323', 'tenant_id': 'b619a01264cd453d8c86c6c3e42ee0e1', 'project_id': 'b619a01264cd453d8c86c6c3e42ee0e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48459352', 'ctest-vn-78923323'], 'port_security_enabled': True, 'description': ''}} 2026-02-16 02:15:19,900 - DEBUG - Response for create_subnet : {'subnet': {'id': '2854c48a-fe7a-4f4e-9814-28248f9d80b5', 'name': '', 'tenant_id': 'b619a01264cd453d8c86c6c3e42ee0e1', 'network_id': '58f40a4d-f53c-4564-9d25-3df6cd8a5d84', 'ip_version': 4, 'cidr': '98.151.175.192/26', 'allocation_pools': [{'start': '98.151.175.194', 'end': '98.151.175.254'}], 'gateway_ip': '98.151.175.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.151.175.194', 'tags': [], 'project_id': 'b619a01264cd453d8c86c6c3e42ee0e1'}} 2026-02-16 02:15:19,920 - INFO - Created VN ctest-vn-78923323 2026-02-16 02:15:19,975 - DEBUG - VN ctest-vn-78923323 UUID is 58f40a4d-f53c-4564-9d25-3df6cd8a5d84 2026-02-16 02:15:20,131 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48459352:ctest-vn-53934012, 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-48459352:ctest-vn-78923323, 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-16 02:15:20,434 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ba5d64fa-45f2-4eb8-974f-4328ff84832f', 'name': 'ctest-vn-53934012', 'tenant_id': 'b619a01264cd453d8c86c6c3e42ee0e1', 'project_id': 'b619a01264cd453d8c86c6c3e42ee0e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fa6696aa-84b0-4b50-a6df-f906e99595e6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48459352', 'ctest-vn-53934012'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48459352', 'ctest-policy-allow-all-09367587']], 'subnet_ipam': [{'subnet_cidr': '160.237.109.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-16 02:15:20,717 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '58f40a4d-f53c-4564-9d25-3df6cd8a5d84', 'name': 'ctest-vn-78923323', 'tenant_id': 'b619a01264cd453d8c86c6c3e42ee0e1', 'project_id': 'b619a01264cd453d8c86c6c3e42ee0e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2854c48a-fe7a-4f4e-9814-28248f9d80b5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48459352', 'ctest-vn-78923323'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48459352', 'ctest-policy-allow-all-09367587']], 'subnet_ipam': [{'subnet_cidr': '98.151.175.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-16 02:15:20,867 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-02-16 02:15:21,210 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-02-16 02:15:21,270 - DEBUG - Requesting: http://10.0.0.249:8082/domain/f42e0b8c-ee7f-4f6c-9dc0-739303a96cda 2026-02-16 02:15:21,285 - DEBUG - Requesting: http://10.0.0.249:8082/project/b619a012-64cd-453d-8c86-c6c3e42ee0e1 2026-02-16 02:15:21,362 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ba5d64fa-45f2-4eb8-974f-4328ff84832f 2026-02-16 02:15:21,376 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ba5d64fa-45f2-4eb8-974f-4328ff84832f 2026-02-16 02:15:21,384 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0f325f3e-83ba-450f-a326-e5f2db8cdfcf 2026-02-16 02:15:21,392 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0f325f3e-83ba-450f-a326-e5f2db8cdfcf 2026-02-16 02:15:21,400 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/c7ef0c42-3c91-40c5-85aa-30eff356ca40 2026-02-16 02:15:21,407 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-16 02:15:21,408 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ba5d64fa-45f2-4eb8-974f-4328ff84832f 2026-02-16 02:15:21,417 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0f325f3e-83ba-450f-a326-e5f2db8cdfcf 2026-02-16 02:15:21,433 - INFO - Verified VN network id 11 for VN ba5d64fa-45f2-4eb8-974f-4328ff84832f 2026-02-16 02:15:21,433 - INFO - Verifications in API Server for VN ctest-vn-53934012 passed 2026-02-16 02:15:21,433 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ba5d64fa-45f2-4eb8-974f-4328ff84832f 2026-02-16 02:15:21,443 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0f325f3e-83ba-450f-a326-e5f2db8cdfcf 2026-02-16 02:15:21,451 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0f325f3e-83ba-450f-a326-e5f2db8cdfcf 2026-02-16 02:15:21,460 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/c7ef0c42-3c91-40c5-85aa-30eff356ca40 2026-02-16 02:15:21,473 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48459352:ctest-vn-53934012', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48459352', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13429000689966796472', 'uuid-lslong': '10903007066251887407'}, 'enable': 'true', 'created': '2026-02-16T02:15:19', 'last-modified': '2026-02-16T02:15:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.062776'} 2026-02-16 02:15:21,479 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-16 02:15:21,480 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53934012 passed 2026-02-16 02:15:21,480 - DEBUG - ====Verifying policy data for ctest-vn-53934012 in API_Server ====== 2026-02-16 02:15:21,480 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-02-16 02:15:21,487 - DEBUG - Requesting: http://10.0.0.249:8082/domain/f42e0b8c-ee7f-4f6c-9dc0-739303a96cda 2026-02-16 02:15:21,500 - DEBUG - Requesting: http://10.0.0.249:8082/project/b619a012-64cd-453d-8c86-c6c3e42ee0e1 2026-02-16 02:15:21,574 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ba5d64fa-45f2-4eb8-974f-4328ff84832f 2026-02-16 02:15:21,584 - DEBUG - ==>Verifying data for policy with id: e189c478-b550-44ed-8eca-ab5d89bc6c61, fqn: ['default-domain', 'ctest-TestBasicPolicy-48459352', 'ctest-policy-allow-all-09367587'] 2026-02-16 02:15:21,584 - INFO - VN ctest-vn-53934012 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-16 02:15:21,585 - DEBUG - Verifying the vn in opserver 2026-02-16 02:15:21,585 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48459352:ctest-vn-53934012 virtual network link through opserver 10.0.0.249 2026-02-16 02:15:21,585 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-02-16 02:15:21,931 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-02-16 02:15:22,002 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48459352:ctest-vn-53934012', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48459352:ctest-vn-53934012?flat'} 2026-02-16 02:15:22,003 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48459352:ctest-vn-53934012 is found in opserver 2026-02-16 02:15:22,013 - DEBUG - Do not have enough data to verify VN in agent 2026-02-16 02:15:22,017 - DEBUG - VRF ids for VN ctest-vn-53934012: {} 2026-02-16 02:15:22,017 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-02-16 02:15:22,022 - DEBUG - Requesting: http://10.0.0.249:8082/domain/f42e0b8c-ee7f-4f6c-9dc0-739303a96cda 2026-02-16 02:15:22,033 - DEBUG - Requesting: http://10.0.0.249:8082/project/b619a012-64cd-453d-8c86-c6c3e42ee0e1 2026-02-16 02:15:22,103 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/58f40a4d-f53c-4564-9d25-3df6cd8a5d84 2026-02-16 02:15:22,115 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/58f40a4d-f53c-4564-9d25-3df6cd8a5d84 2026-02-16 02:15:22,124 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8094c399-392c-41fe-ac37-6b3bffed8c51 2026-02-16 02:15:22,131 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8094c399-392c-41fe-ac37-6b3bffed8c51 2026-02-16 02:15:22,138 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/9f021476-c66c-4939-99c7-f204eaf9eb12 2026-02-16 02:15:22,144 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-16 02:15:22,144 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/58f40a4d-f53c-4564-9d25-3df6cd8a5d84 2026-02-16 02:15:22,153 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8094c399-392c-41fe-ac37-6b3bffed8c51 2026-02-16 02:15:22,166 - INFO - Verified VN network id 12 for VN 58f40a4d-f53c-4564-9d25-3df6cd8a5d84 2026-02-16 02:15:22,166 - INFO - Verifications in API Server for VN ctest-vn-78923323 passed 2026-02-16 02:15:22,166 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/58f40a4d-f53c-4564-9d25-3df6cd8a5d84 2026-02-16 02:15:22,175 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8094c399-392c-41fe-ac37-6b3bffed8c51 2026-02-16 02:15:22,181 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8094c399-392c-41fe-ac37-6b3bffed8c51 2026-02-16 02:15:22,187 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/9f021476-c66c-4939-99c7-f204eaf9eb12 2026-02-16 02:15:22,198 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48459352:ctest-vn-78923323', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48459352', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6409759499598185828', 'uuid-lslong': '11323524968312626564'}, 'enable': 'true', 'created': '2026-02-16T02:15:19', 'last-modified': '2026-02-16T02:15:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.548178'} 2026-02-16 02:15:22,205 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-16 02:15:22,205 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78923323 passed 2026-02-16 02:15:22,205 - DEBUG - ====Verifying policy data for ctest-vn-78923323 in API_Server ====== 2026-02-16 02:15:22,205 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-02-16 02:15:22,210 - DEBUG - Requesting: http://10.0.0.249:8082/domain/f42e0b8c-ee7f-4f6c-9dc0-739303a96cda 2026-02-16 02:15:22,220 - DEBUG - Requesting: http://10.0.0.249:8082/project/b619a012-64cd-453d-8c86-c6c3e42ee0e1 2026-02-16 02:15:22,298 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/58f40a4d-f53c-4564-9d25-3df6cd8a5d84 2026-02-16 02:15:22,310 - DEBUG - ==>Verifying data for policy with id: e189c478-b550-44ed-8eca-ab5d89bc6c61, fqn: ['default-domain', 'ctest-TestBasicPolicy-48459352', 'ctest-policy-allow-all-09367587'] 2026-02-16 02:15:22,310 - INFO - VN ctest-vn-78923323 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-16 02:15:22,310 - DEBUG - Verifying the vn in opserver 2026-02-16 02:15:22,310 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48459352:ctest-vn-78923323 virtual network link through opserver 10.0.0.249 2026-02-16 02:15:22,311 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-02-16 02:15:22,323 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48459352:ctest-vn-78923323', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48459352:ctest-vn-78923323?flat'} 2026-02-16 02:15:22,323 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48459352:ctest-vn-78923323 is found in opserver 2026-02-16 02:15:22,338 - DEBUG - Do not have enough data to verify VN in agent 2026-02-16 02:15:22,345 - DEBUG - VRF ids for VN ctest-vn-78923323: {} 2026-02-16 02:15:22,413 - DEBUG - Services list from nova: [, , ] 2026-02-16 02:15:23,613 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5328-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5328-1) 2026-02-16 02:15:25,003 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5328-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5328-1) 2026-02-16 02:15:25,003 - INFO - Waiting for VM ctest-TestBasicPolicy-48459352-17927062 to be up.. 2026-02-16 02:15:25,094 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-16 02:15:30,195 - DEBUG - VM is in ACTIVE state now 2026-02-16 02:15:30,195 - INFO - VM name : ctest-TestBasicPolicy-48459352-17927062 2026-02-16 02:15:30,308 - DEBUG - VM ctest-TestBasicPolicy-48459352-17927062 ID is fac18355-8ee7-44fa-ac44-2acf76921a25 2026-02-16 02:15:30,335 - DEBUG - VM ctest-TestBasicPolicy-48459352-17927062 launched on Node cn-jenkins-deploy-platform-ansible-os-5328-1 2026-02-16 02:15:30,428 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/fac18355-8ee7-44fa-ac44-2acf76921a25 2026-02-16 02:15:30,439 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/c901b999-8c8c-407b-aa9d-e8ad40349bc3 2026-02-16 02:15:33,689 - 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 1006ms') 2026-02-16 02:15:33,689 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48459352-17927062 failed! 2026-02-16 02:15:33,747 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48459352:ctest-vn-53934012 is 160.237.109.65 and allocation pool is NOT set 2026-02-16 02:15:35,820 - 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.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.91 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.913/6.269/9.626/3.356 ms') 2026-02-16 02:15:35,820 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48459352-17927062 passed 2026-02-16 02:15:35,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 02:15:35,973 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48459352-17927062, IP 160.237.109.67, Port 22 2026-02-16 02:15:36,042 - 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-16 02:15:36,125 - DEBUG - VM ctest-TestBasicPolicy-48459352-17927062 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-16 02:15:41,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 02:15:41,126 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48459352-17927062, IP 160.237.109.67, Port 22 2026-02-16 02:15:41,297 - DEBUG - VM ctest-TestBasicPolicy-48459352-17927062 is ready for SSH connections 2026-02-16 02:15:41,297 - INFO - Waiting for VM ctest-TestBasicPolicy-48459352-44221086 to be up.. 2026-02-16 02:15:41,386 - DEBUG - VM is in ACTIVE state now 2026-02-16 02:15:41,386 - INFO - VM name : ctest-TestBasicPolicy-48459352-44221086 2026-02-16 02:15:41,476 - DEBUG - VM ctest-TestBasicPolicy-48459352-44221086 ID is c80bb178-6082-45e0-a3bf-41117755800c 2026-02-16 02:15:41,476 - DEBUG - VM ctest-TestBasicPolicy-48459352-44221086 launched on Node cn-jenkins-deploy-platform-ansible-os-5328-1 2026-02-16 02:15:41,559 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/c80bb178-6082-45e0-a3bf-41117755800c 2026-02-16 02:15:41,569 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/2431e0d2-4493-4598-871f-6121277dadc1 2026-02-16 02:15:42,805 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.399 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.399/1.881/3.364/1.482 ms') 2026-02-16 02:15:42,805 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48459352-44221086 passed 2026-02-16 02:15:42,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 02:15:42,959 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48459352-44221086, IP 98.151.175.195, Port 22 2026-02-16 02:15:43,129 - DEBUG - VM ctest-TestBasicPolicy-48459352-44221086 is ready for SSH connections 2026-02-16 02:15:43,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 02:15:43,130 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.151.175.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-02-16 02:15:43,130 - DEBUG - ping -s 56 -c 3 -W 1 98.151.175.195 2026-02-16 02:15:47,275 - DEBUG - PING 98.151.175.195 (98.151.175.195): 56 data bytes 64 bytes from 98.151.175.195: seq=0 ttl=63 time=4.556 ms 64 bytes from 98.151.175.195: seq=1 ttl=63 time=1.163 ms 64 bytes from 98.151.175.195: seq=2 ttl=63 time=1.181 ms --- 98.151.175.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.163/2.300/4.556 ms 2026-02-16 02:15:47,275 - INFO - Ping to IP 98.151.175.195 from VM ctest-TestBasicPolicy-48459352-17927062 passed 2026-02-16 02:15:47,455 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e189c478-b550-44ed-8eca-ab5d89bc6c61", "href": "http://10.0.0.249:8082/network-policy/e189c478-b550-44ed-8eca-ab5d89bc6c61"}} 2026-02-16 02:15:47,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 02:15:47,455 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.151.175.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-02-16 02:15:47,455 - DEBUG - ping -s 56 -c 3 -W 1 98.151.175.195 2026-02-16 02:15:50,693 - DEBUG - PING 98.151.175.195 (98.151.175.195): 56 data bytes --- 98.151.175.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-16 02:15:50,693 - WARNING - Ping to IP 98.151.175.195 from VM ctest-TestBasicPolicy-48459352-17927062 failed 2026-02-16 02:15:50,693 - INFO - Deleting VM ctest-TestBasicPolicy-48459352-44221086 2026-02-16 02:15:50,780 - INFO - Deleting VM ctest-TestBasicPolicy-48459352-17927062 2026-02-16 02:15:51,194 - INFO - Deleted policy ctest-policy-allow-all-09367587 2026-02-16 02:15:51,194 - INFO - Deleting VN ctest-vn-78923323 2026-02-16 02:15:51,238 - DEBUG - VN 58f40a4d-f53c-4564-9d25-3df6cd8a5d84 still in use: Unable to complete operation on network 58f40a4d-f53c-4564-9d25-3df6cd8a5d84. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ef997751-7b43-46af-8ec4-c3b26b9108ca'] 2026-02-16 02:15:51,239 - WARNING - Deleting VN ctest-vn-78923323 failed..Will retry 2026-02-16 02:15:53,346 - DEBUG - Response for deleting network () 2026-02-16 02:15:53,346 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8094c399-392c-41fe-ac37-6b3bffed8c51 2026-02-16 02:15:53,354 - DEBUG - Response Code: 404 2026-02-16 02:15:53,354 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-02-16 02:15:53,359 - DEBUG - Requesting: http://10.0.0.249:8082/domain/f42e0b8c-ee7f-4f6c-9dc0-739303a96cda 2026-02-16 02:15:53,414 - DEBUG - Requesting: http://10.0.0.249:8082/project/b619a012-64cd-453d-8c86-c6c3e42ee0e1 2026-02-16 02:15:53,487 - INFO - Validated that VN ctest-vn-78923323 is not found in API Server 2026-02-16 02:15:53,498 - DEBUG - VN ctest-vn-78923323 is not present in Agent 10.0.0.249 2026-02-16 02:15:53,498 - INFO - Validated that VN ctest-vn-78923323 is not in any agent 2026-02-16 02:15:53,511 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78923323 info 2026-02-16 02:15:53,511 - INFO - Deleting VN ctest-vn-53934012 2026-02-16 02:15:53,621 - DEBUG - Response for deleting network () 2026-02-16 02:15:53,621 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0f325f3e-83ba-450f-a326-e5f2db8cdfcf 2026-02-16 02:15:53,627 - DEBUG - Response Code: 404 2026-02-16 02:15:53,628 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-02-16 02:15:53,632 - DEBUG - Requesting: http://10.0.0.249:8082/domain/f42e0b8c-ee7f-4f6c-9dc0-739303a96cda 2026-02-16 02:15:53,684 - DEBUG - Requesting: http://10.0.0.249:8082/project/b619a012-64cd-453d-8c86-c6c3e42ee0e1 2026-02-16 02:15:53,755 - INFO - Validated that VN ctest-vn-53934012 is not found in API Server 2026-02-16 02:15:53,767 - DEBUG - VN ctest-vn-53934012 is not present in Agent 10.0.0.249 2026-02-16 02:15:53,767 - INFO - Validated that VN ctest-vn-53934012 is not in any agent 2026-02-16 02:15:53,780 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53934012 info 2026-02-16 02:15:54,036 - DEBUG - No XMPP flaps were noticed during the test 2026-02-16 02:15:54,036 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2026-02-16 02:15:54,036 - INFO - -------------------------------------------------------------------------------- 2026-02-16 02:15:54,777 - INFO - Deleted project: ctest-TestBasicPolicy-48459352, ID : b619a012-64cd-453d-8c86-c6c3e42ee0e1