2026-01-28 16:45:41,379 - INFO - Domain Default found not creating 2026-01-28 16:45:41,615 - INFO - Project ctest-TestBasicPolicy-08562279 not found, creating it 2026-01-28 16:45:42,131 - INFO - Created Project:ctest-TestBasicPolicy-08562279, ID : 9ca0acbf-ab0b-4181-a134-9ceb1e6b84f5 2026-01-28 16:45:43,810 - INFO - ================================================================================ 2026-01-28 16:45:43,810 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-28 16:45:43,810 - 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-01-28 16:45:44,069 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-01-28 16:45:44,069 - INFO - Initial checks done. Running the testcase now 2026-01-28 16:45:44,069 - INFO - 2026-01-28 16:45:44,669 - DEBUG - Response for create_network : {'network': {'id': 'eeb69c3b-3c9f-4e39-bc91-e4569515064d', 'name': 'ctest-vn-48658028', 'tenant_id': '9ca0acbfab0b4181a1349ceb1e6b84f5', 'project_id': '9ca0acbfab0b4181a1349ceb1e6b84f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08562279', 'ctest-vn-48658028'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 16:45:44,919 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b34850c-b253-4138-b58d-498db681a699', 'name': '', 'tenant_id': '9ca0acbfab0b4181a1349ceb1e6b84f5', 'network_id': 'eeb69c3b-3c9f-4e39-bc91-e4569515064d', 'ip_version': 4, 'cidr': '165.162.100.0/26', 'allocation_pools': [{'start': '165.162.100.2', 'end': '165.162.100.62'}], 'gateway_ip': '165.162.100.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.162.100.2', 'tags': [], 'project_id': '9ca0acbfab0b4181a1349ceb1e6b84f5'}} 2026-01-28 16:45:44,942 - INFO - Created VN ctest-vn-48658028 2026-01-28 16:45:44,994 - DEBUG - VN ctest-vn-48658028 UUID is eeb69c3b-3c9f-4e39-bc91-e4569515064d 2026-01-28 16:45:45,333 - DEBUG - Response for create_network : {'network': {'id': '289b392e-186d-4281-8195-d65b63a11321', 'name': 'ctest-vn-71160003', 'tenant_id': '9ca0acbfab0b4181a1349ceb1e6b84f5', 'project_id': '9ca0acbfab0b4181a1349ceb1e6b84f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08562279', 'ctest-vn-71160003'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 16:45:45,573 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bda1b994-5b4b-49d8-9875-7631b7dc790d', 'name': '', 'tenant_id': '9ca0acbfab0b4181a1349ceb1e6b84f5', 'network_id': '289b392e-186d-4281-8195-d65b63a11321', 'ip_version': 4, 'cidr': '85.246.89.128/26', 'allocation_pools': [{'start': '85.246.89.130', 'end': '85.246.89.190'}], 'gateway_ip': '85.246.89.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.246.89.130', 'tags': [], 'project_id': '9ca0acbfab0b4181a1349ceb1e6b84f5'}} 2026-01-28 16:45:45,594 - INFO - Created VN ctest-vn-71160003 2026-01-28 16:45:45,658 - DEBUG - VN ctest-vn-71160003 UUID is 289b392e-186d-4281-8195-d65b63a11321 2026-01-28 16:45:45,794 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-08562279:ctest-vn-48658028, 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-08562279:ctest-vn-71160003, 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-01-28 16:45:46,157 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eeb69c3b-3c9f-4e39-bc91-e4569515064d', 'name': 'ctest-vn-48658028', 'tenant_id': '9ca0acbfab0b4181a1349ceb1e6b84f5', 'project_id': '9ca0acbfab0b4181a1349ceb1e6b84f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2b34850c-b253-4138-b58d-498db681a699'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08562279', 'ctest-vn-48658028'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08562279', 'ctest-policy-allow-all-54937064']], 'subnet_ipam': [{'subnet_cidr': '165.162.100.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-28 16:45:46,442 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '289b392e-186d-4281-8195-d65b63a11321', 'name': 'ctest-vn-71160003', 'tenant_id': '9ca0acbfab0b4181a1349ceb1e6b84f5', 'project_id': '9ca0acbfab0b4181a1349ceb1e6b84f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bda1b994-5b4b-49d8-9875-7631b7dc790d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08562279', 'ctest-vn-71160003'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08562279', 'ctest-policy-allow-all-54937064']], 'subnet_ipam': [{'subnet_cidr': '85.246.89.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-28 16:45:46,602 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-28 16:45:46,922 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-28 16:45:46,962 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b7596d14-9252-4884-981b-3fc17ef7553c 2026-01-28 16:45:46,977 - DEBUG - Requesting: http://10.0.0.50:8082/project/9ca0acbf-ab0b-4181-a134-9ceb1e6b84f5 2026-01-28 16:45:47,058 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/eeb69c3b-3c9f-4e39-bc91-e4569515064d 2026-01-28 16:45:47,072 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/eeb69c3b-3c9f-4e39-bc91-e4569515064d 2026-01-28 16:45:47,083 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/aed8d2b0-1b31-4870-9928-68e21d3600ac 2026-01-28 16:45:47,092 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/aed8d2b0-1b31-4870-9928-68e21d3600ac 2026-01-28 16:45:47,100 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/49bb4334-c129-4d45-9183-b1120fc3a610 2026-01-28 16:45:47,109 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-28 16:45:47,109 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/eeb69c3b-3c9f-4e39-bc91-e4569515064d 2026-01-28 16:45:47,122 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/aed8d2b0-1b31-4870-9928-68e21d3600ac 2026-01-28 16:45:47,143 - INFO - Verified VN network id 11 for VN eeb69c3b-3c9f-4e39-bc91-e4569515064d 2026-01-28 16:45:47,143 - INFO - Verifications in API Server for VN ctest-vn-48658028 passed 2026-01-28 16:45:47,143 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/eeb69c3b-3c9f-4e39-bc91-e4569515064d 2026-01-28 16:45:47,155 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/aed8d2b0-1b31-4870-9928-68e21d3600ac 2026-01-28 16:45:47,164 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/aed8d2b0-1b31-4870-9928-68e21d3600ac 2026-01-28 16:45:47,171 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/49bb4334-c129-4d45-9183-b1120fc3a610 2026-01-28 16:45:47,182 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08562279:ctest-vn-48658028', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08562279', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17201107605022264889', 'uuid-lslong': '13587892611273000525'}, 'enable': 'true', 'created': '2026-01-28T16:45:44', 'last-modified': '2026-01-28T16:45:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.060055'} 2026-01-28 16:45:47,188 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-28 16:45:47,188 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48658028 passed 2026-01-28 16:45:47,188 - DEBUG - ====Verifying policy data for ctest-vn-48658028 in API_Server ====== 2026-01-28 16:45:47,188 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-28 16:45:47,195 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b7596d14-9252-4884-981b-3fc17ef7553c 2026-01-28 16:45:47,209 - DEBUG - Requesting: http://10.0.0.50:8082/project/9ca0acbf-ab0b-4181-a134-9ceb1e6b84f5 2026-01-28 16:45:47,292 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/eeb69c3b-3c9f-4e39-bc91-e4569515064d 2026-01-28 16:45:47,305 - DEBUG - ==>Verifying data for policy with id: 1ce8ec70-44f9-49e1-a0e7-1830ea9f854c, fqn: ['default-domain', 'ctest-TestBasicPolicy-08562279', 'ctest-policy-allow-all-54937064'] 2026-01-28 16:45:47,305 - INFO - VN ctest-vn-48658028 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-28 16:45:47,305 - DEBUG - Verifying the vn in opserver 2026-01-28 16:45:47,305 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08562279:ctest-vn-48658028 virtual network link through opserver 10.0.0.50 2026-01-28 16:45:47,305 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-28 16:45:47,620 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-28 16:45:47,704 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08562279:ctest-vn-48658028', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08562279:ctest-vn-48658028?flat'} 2026-01-28 16:45:47,704 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08562279:ctest-vn-48658028 is found in opserver 2026-01-28 16:45:47,715 - DEBUG - Do not have enough data to verify VN in agent 2026-01-28 16:45:47,722 - DEBUG - VRF ids for VN ctest-vn-48658028: {} 2026-01-28 16:45:47,722 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-28 16:45:47,728 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b7596d14-9252-4884-981b-3fc17ef7553c 2026-01-28 16:45:47,740 - DEBUG - Requesting: http://10.0.0.50:8082/project/9ca0acbf-ab0b-4181-a134-9ceb1e6b84f5 2026-01-28 16:45:47,823 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/289b392e-186d-4281-8195-d65b63a11321 2026-01-28 16:45:47,838 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/289b392e-186d-4281-8195-d65b63a11321 2026-01-28 16:45:47,851 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/46a3683f-143e-4d8c-9b21-a775b58f26b9 2026-01-28 16:45:47,859 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/46a3683f-143e-4d8c-9b21-a775b58f26b9 2026-01-28 16:45:47,867 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/7898a741-944c-471d-8bcc-004819494997 2026-01-28 16:45:47,873 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-28 16:45:47,873 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/289b392e-186d-4281-8195-d65b63a11321 2026-01-28 16:45:47,883 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/46a3683f-143e-4d8c-9b21-a775b58f26b9 2026-01-28 16:45:47,899 - INFO - Verified VN network id 12 for VN 289b392e-186d-4281-8195-d65b63a11321 2026-01-28 16:45:47,900 - INFO - Verifications in API Server for VN ctest-vn-71160003 passed 2026-01-28 16:45:47,900 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/289b392e-186d-4281-8195-d65b63a11321 2026-01-28 16:45:47,909 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/46a3683f-143e-4d8c-9b21-a775b58f26b9 2026-01-28 16:45:47,917 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/46a3683f-143e-4d8c-9b21-a775b58f26b9 2026-01-28 16:45:47,924 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/7898a741-944c-471d-8bcc-004819494997 2026-01-28 16:45:47,937 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08562279:ctest-vn-71160003', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08562279', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2925995253048361601', 'uuid-lslong': '9337605090424460065'}, 'enable': 'true', 'created': '2026-01-28T16:45:45', 'last-modified': '2026-01-28T16:45:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.557664'} 2026-01-28 16:45:47,943 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-28 16:45:47,943 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71160003 passed 2026-01-28 16:45:47,943 - DEBUG - ====Verifying policy data for ctest-vn-71160003 in API_Server ====== 2026-01-28 16:45:47,943 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-28 16:45:47,949 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b7596d14-9252-4884-981b-3fc17ef7553c 2026-01-28 16:45:47,961 - DEBUG - Requesting: http://10.0.0.50:8082/project/9ca0acbf-ab0b-4181-a134-9ceb1e6b84f5 2026-01-28 16:45:48,037 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/289b392e-186d-4281-8195-d65b63a11321 2026-01-28 16:45:48,049 - DEBUG - ==>Verifying data for policy with id: 1ce8ec70-44f9-49e1-a0e7-1830ea9f854c, fqn: ['default-domain', 'ctest-TestBasicPolicy-08562279', 'ctest-policy-allow-all-54937064'] 2026-01-28 16:45:48,049 - INFO - VN ctest-vn-71160003 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-28 16:45:48,049 - DEBUG - Verifying the vn in opserver 2026-01-28 16:45:48,049 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08562279:ctest-vn-71160003 virtual network link through opserver 10.0.0.50 2026-01-28 16:45:48,049 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-28 16:45:48,059 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08562279:ctest-vn-71160003', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08562279:ctest-vn-71160003?flat'} 2026-01-28 16:45:48,059 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08562279:ctest-vn-71160003 is found in opserver 2026-01-28 16:45:48,070 - DEBUG - Do not have enough data to verify VN in agent 2026-01-28 16:45:48,076 - DEBUG - VRF ids for VN ctest-vn-71160003: {} 2026-01-28 16:45:48,144 - DEBUG - Services list from nova: [, , ] 2026-01-28 16:45:49,274 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5096-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5096-1) 2026-01-28 16:45:50,553 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5096-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5096-1) 2026-01-28 16:45:50,555 - INFO - Waiting for VM ctest-TestBasicPolicy-08562279-78241503 to be up.. 2026-01-28 16:45:50,687 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-28 16:45:55,779 - DEBUG - VM is in ACTIVE state now 2026-01-28 16:45:55,779 - INFO - VM name : ctest-TestBasicPolicy-08562279-78241503 2026-01-28 16:45:55,867 - DEBUG - VM ctest-TestBasicPolicy-08562279-78241503 ID is 5096fea1-2e2b-4e18-9c65-c0de33983fdf 2026-01-28 16:45:55,889 - DEBUG - VM ctest-TestBasicPolicy-08562279-78241503 launched on Node cn-jenkins-deploy-platform-ansible-os-5096-1 2026-01-28 16:45:55,971 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5096fea1-2e2b-4e18-9c65-c0de33983fdf 2026-01-28 16:45:55,980 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fba77cdd-b263-4a72-a03c-9884d031cbfb 2026-01-28 16:45:59,244 - 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 1018ms') 2026-01-28 16:45:59,244 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08562279-78241503 failed! 2026-01-28 16:45:59,302 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-08562279:ctest-vn-48658028 is 165.162.100.1 and allocation pool is NOT set 2026-01-28 16:46:03,371 - 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=2 ttl=63 time=5.20 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 5.197/5.197/5.197/0.000 ms') 2026-01-28 16:46:03,371 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08562279-78241503 passed 2026-01-28 16:46:03,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 16:46:03,526 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08562279-78241503, IP 165.162.100.3, Port 22 2026-01-28 16:46:03,685 - DEBUG - VM ctest-TestBasicPolicy-08562279-78241503 is ready for SSH connections 2026-01-28 16:46:03,685 - INFO - Waiting for VM ctest-TestBasicPolicy-08562279-87854906 to be up.. 2026-01-28 16:46:03,778 - DEBUG - VM is in ACTIVE state now 2026-01-28 16:46:03,778 - INFO - VM name : ctest-TestBasicPolicy-08562279-87854906 2026-01-28 16:46:03,863 - DEBUG - VM ctest-TestBasicPolicy-08562279-87854906 ID is 31762630-b366-4a5e-810d-36ac06c225c1 2026-01-28 16:46:03,863 - DEBUG - VM ctest-TestBasicPolicy-08562279-87854906 launched on Node cn-jenkins-deploy-platform-ansible-os-5096-1 2026-01-28 16:46:03,949 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/31762630-b366-4a5e-810d-36ac06c225c1 2026-01-28 16:46:03,959 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/29fd7660-0176-4e6f-8428-51df728509b8 2026-01-28 16:46:05,212 - 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=4.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.518 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.518/2.587/4.657/2.069 ms') 2026-01-28 16:46:05,212 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-08562279-87854906 passed 2026-01-28 16:46:05,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 16:46:05,362 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08562279-87854906, IP 85.246.89.131, Port 22 2026-01-28 16:46:05,518 - DEBUG - VM ctest-TestBasicPolicy-08562279-87854906 is ready for SSH connections 2026-01-28 16:46:05,518 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 16:46:05,518 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.246.89.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-28 16:46:05,518 - DEBUG - ping -s 56 -c 3 -W 1 85.246.89.131 2026-01-28 16:46:09,783 - DEBUG - PING 85.246.89.131 (85.246.89.131): 56 data bytes 64 bytes from 85.246.89.131: seq=0 ttl=63 time=4.156 ms 64 bytes from 85.246.89.131: seq=1 ttl=63 time=1.068 ms 64 bytes from 85.246.89.131: seq=2 ttl=63 time=0.947 ms --- 85.246.89.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.947/2.057/4.156 ms 2026-01-28 16:46:09,783 - INFO - Ping to IP 85.246.89.131 from VM ctest-TestBasicPolicy-08562279-78241503 passed 2026-01-28 16:46:09,962 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1ce8ec70-44f9-49e1-a0e7-1830ea9f854c", "href": "http://10.0.0.50:8082/network-policy/1ce8ec70-44f9-49e1-a0e7-1830ea9f854c"}} 2026-01-28 16:46:09,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 16:46:09,962 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.246.89.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-28 16:46:09,962 - DEBUG - ping -s 56 -c 3 -W 1 85.246.89.131 2026-01-28 16:46:13,242 - DEBUG - PING 85.246.89.131 (85.246.89.131): 56 data bytes --- 85.246.89.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-28 16:46:13,242 - WARNING - Ping to IP 85.246.89.131 from VM ctest-TestBasicPolicy-08562279-78241503 failed 2026-01-28 16:46:13,242 - INFO - Deleting VM ctest-TestBasicPolicy-08562279-87854906 2026-01-28 16:46:13,323 - INFO - Deleting VM ctest-TestBasicPolicy-08562279-78241503 2026-01-28 16:46:13,789 - INFO - Deleted policy ctest-policy-allow-all-54937064 2026-01-28 16:46:13,789 - INFO - Deleting VN ctest-vn-71160003 2026-01-28 16:46:13,846 - DEBUG - VN 289b392e-186d-4281-8195-d65b63a11321 still in use: Unable to complete operation on network 289b392e-186d-4281-8195-d65b63a11321. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c31f8c45-fd3b-4cb6-8457-86910cca76b1'] 2026-01-28 16:46:13,847 - WARNING - Deleting VN ctest-vn-71160003 failed..Will retry 2026-01-28 16:46:15,967 - DEBUG - Response for deleting network () 2026-01-28 16:46:15,967 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/46a3683f-143e-4d8c-9b21-a775b58f26b9 2026-01-28 16:46:15,974 - DEBUG - Response Code: 404 2026-01-28 16:46:15,974 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-28 16:46:15,980 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b7596d14-9252-4884-981b-3fc17ef7553c 2026-01-28 16:46:16,040 - DEBUG - Requesting: http://10.0.0.50:8082/project/9ca0acbf-ab0b-4181-a134-9ceb1e6b84f5 2026-01-28 16:46:16,126 - INFO - Validated that VN ctest-vn-71160003 is not found in API Server 2026-01-28 16:46:16,164 - DEBUG - VN ctest-vn-71160003 is not present in Agent 10.0.0.50 2026-01-28 16:46:16,164 - INFO - Validated that VN ctest-vn-71160003 is not in any agent 2026-01-28 16:46:16,183 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71160003 info 2026-01-28 16:46:16,183 - INFO - Deleting VN ctest-vn-48658028 2026-01-28 16:46:16,325 - DEBUG - Response for deleting network () 2026-01-28 16:46:16,325 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/aed8d2b0-1b31-4870-9928-68e21d3600ac 2026-01-28 16:46:16,330 - DEBUG - Response Code: 404 2026-01-28 16:46:16,330 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-28 16:46:16,336 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b7596d14-9252-4884-981b-3fc17ef7553c 2026-01-28 16:46:16,400 - DEBUG - Requesting: http://10.0.0.50:8082/project/9ca0acbf-ab0b-4181-a134-9ceb1e6b84f5 2026-01-28 16:46:16,487 - INFO - Validated that VN ctest-vn-48658028 is not found in API Server 2026-01-28 16:46:16,500 - DEBUG - VN ctest-vn-48658028 is not present in Agent 10.0.0.50 2026-01-28 16:46:16,500 - INFO - Validated that VN ctest-vn-48658028 is not in any agent 2026-01-28 16:46:16,522 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48658028 info 2026-01-28 16:46:16,776 - DEBUG - No XMPP flaps were noticed during the test
2026-01-28 16:46:16,776 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33]
2026-01-28 16:46:16,776 - INFO - -------------------------------------------------------------------------------- 2026-01-28 16:46:17,817 - INFO - Deleted project: ctest-TestBasicPolicy-08562279, ID : 9ca0acbf-ab0b-4181-a134-9ceb1e6b84f5