2026-02-09 02:06:06,381 - INFO - Domain Default found not creating 2026-02-09 02:06:06,548 - INFO - Project ctest-TestBasicPolicy-54227145 not found, creating it 2026-02-09 02:06:06,992 - INFO - Created Project:ctest-TestBasicPolicy-54227145, ID : 07f488d5-dc4b-4c2a-8816-64301db5b362 2026-02-09 02:06:08,454 - INFO - ================================================================================ 2026-02-09 02:06:08,455 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-09 02:06:08,455 - 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-09 02:06:08,712 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.193': '0'}} with 2026-02-09 02:06:08,712 - INFO - Initial checks done. Running the testcase now 2026-02-09 02:06:08,712 - INFO - 2026-02-09 02:06:09,269 - DEBUG - Response for create_network : {'network': {'id': '66f5d800-27b8-4ade-bd17-30140534a70e', 'name': 'ctest-vn-69375105', 'tenant_id': '07f488d5dc4b4c2a881664301db5b362', 'project_id': '07f488d5dc4b4c2a881664301db5b362', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54227145', 'ctest-vn-69375105'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 02:06:09,469 - DEBUG - Response for create_subnet : {'subnet': {'id': '8be86cbf-dd45-4c83-a8b8-b815f1aa97b0', 'name': '', 'tenant_id': '07f488d5dc4b4c2a881664301db5b362', 'network_id': '66f5d800-27b8-4ade-bd17-30140534a70e', 'ip_version': 4, 'cidr': '74.183.58.0/26', 'allocation_pools': [{'start': '74.183.58.2', 'end': '74.183.58.62'}], 'gateway_ip': '74.183.58.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.183.58.2', 'tags': [], 'project_id': '07f488d5dc4b4c2a881664301db5b362'}} 2026-02-09 02:06:09,486 - INFO - Created VN ctest-vn-69375105 2026-02-09 02:06:09,539 - DEBUG - VN ctest-vn-69375105 UUID is 66f5d800-27b8-4ade-bd17-30140534a70e 2026-02-09 02:06:09,887 - DEBUG - Response for create_network : {'network': {'id': '9d0b8e88-5869-4615-be99-6cc00b3825b1', 'name': 'ctest-vn-31053363', 'tenant_id': '07f488d5dc4b4c2a881664301db5b362', 'project_id': '07f488d5dc4b4c2a881664301db5b362', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54227145', 'ctest-vn-31053363'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 02:06:10,117 - DEBUG - Response for create_subnet : {'subnet': {'id': '54d4aa74-754f-4d49-8a78-4d566ae3c5e1', 'name': '', 'tenant_id': '07f488d5dc4b4c2a881664301db5b362', 'network_id': '9d0b8e88-5869-4615-be99-6cc00b3825b1', 'ip_version': 4, 'cidr': '33.104.33.0/26', 'allocation_pools': [{'start': '33.104.33.2', 'end': '33.104.33.62'}], 'gateway_ip': '33.104.33.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.104.33.2', 'tags': [], 'project_id': '07f488d5dc4b4c2a881664301db5b362'}} 2026-02-09 02:06:10,135 - INFO - Created VN ctest-vn-31053363 2026-02-09 02:06:10,186 - DEBUG - VN ctest-vn-31053363 UUID is 9d0b8e88-5869-4615-be99-6cc00b3825b1 2026-02-09 02:06:10,338 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54227145:ctest-vn-69375105, 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-54227145:ctest-vn-31053363, 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-09 02:06:10,624 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '66f5d800-27b8-4ade-bd17-30140534a70e', 'name': 'ctest-vn-69375105', 'tenant_id': '07f488d5dc4b4c2a881664301db5b362', 'project_id': '07f488d5dc4b4c2a881664301db5b362', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8be86cbf-dd45-4c83-a8b8-b815f1aa97b0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54227145', 'ctest-vn-69375105'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54227145', 'ctest-policy-allow-all-69142405']], 'subnet_ipam': [{'subnet_cidr': '74.183.58.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-09 02:06:10,848 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9d0b8e88-5869-4615-be99-6cc00b3825b1', 'name': 'ctest-vn-31053363', 'tenant_id': '07f488d5dc4b4c2a881664301db5b362', 'project_id': '07f488d5dc4b4c2a881664301db5b362', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['54d4aa74-754f-4d49-8a78-4d566ae3c5e1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54227145', 'ctest-vn-31053363'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54227145', 'ctest-policy-allow-all-69142405']], 'subnet_ipam': [{'subnet_cidr': '33.104.33.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-09 02:06:11,011 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-09 02:06:11,306 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-09 02:06:11,339 - DEBUG - Requesting: http://10.0.0.22:8082/domain/af71baa0-b59d-4e76-bfaf-b7fe7d879437 2026-02-09 02:06:11,349 - DEBUG - Requesting: http://10.0.0.22:8082/project/07f488d5-dc4b-4c2a-8816-64301db5b362 2026-02-09 02:06:11,417 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/66f5d800-27b8-4ade-bd17-30140534a70e 2026-02-09 02:06:11,425 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/66f5d800-27b8-4ade-bd17-30140534a70e 2026-02-09 02:06:11,433 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f20c2320-a343-4b27-ac50-85c76b435378 2026-02-09 02:06:11,439 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f20c2320-a343-4b27-ac50-85c76b435378 2026-02-09 02:06:11,444 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/7350a483-ef67-4fc1-8b2b-5fa79f3080b2 2026-02-09 02:06:11,449 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-09 02:06:11,449 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/66f5d800-27b8-4ade-bd17-30140534a70e 2026-02-09 02:06:11,456 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f20c2320-a343-4b27-ac50-85c76b435378 2026-02-09 02:06:11,468 - INFO - Verified VN network id 12 for VN 66f5d800-27b8-4ade-bd17-30140534a70e 2026-02-09 02:06:11,468 - INFO - Verifications in API Server for VN ctest-vn-69375105 passed 2026-02-09 02:06:11,468 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/66f5d800-27b8-4ade-bd17-30140534a70e 2026-02-09 02:06:11,476 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f20c2320-a343-4b27-ac50-85c76b435378 2026-02-09 02:06:11,481 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f20c2320-a343-4b27-ac50-85c76b435378 2026-02-09 02:06:11,487 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/7350a483-ef67-4fc1-8b2b-5fa79f3080b2 2026-02-09 02:06:11,496 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54227145:ctest-vn-69375105', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54227145', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7419073456340749022', 'uuid-lslong': '13625412060177540878'}, 'enable': 'true', 'created': '2026-02-09T02:06:09', 'last-modified': '2026-02-09T02:06:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.892436'} 2026-02-09 02:06:11,501 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-09 02:06:11,501 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69375105 passed 2026-02-09 02:06:11,501 - DEBUG - ====Verifying policy data for ctest-vn-69375105 in API_Server ====== 2026-02-09 02:06:11,501 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-09 02:06:11,506 - DEBUG - Requesting: http://10.0.0.22:8082/domain/af71baa0-b59d-4e76-bfaf-b7fe7d879437 2026-02-09 02:06:11,519 - DEBUG - Requesting: http://10.0.0.22:8082/project/07f488d5-dc4b-4c2a-8816-64301db5b362 2026-02-09 02:06:11,612 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/66f5d800-27b8-4ade-bd17-30140534a70e 2026-02-09 02:06:11,620 - DEBUG - ==>Verifying data for policy with id: d7e0cde1-b162-49c9-aa97-47b6f48f5507, fqn: ['default-domain', 'ctest-TestBasicPolicy-54227145', 'ctest-policy-allow-all-69142405'] 2026-02-09 02:06:11,620 - INFO - VN ctest-vn-69375105 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-09 02:06:11,620 - DEBUG - Verifying the vn in opserver 2026-02-09 02:06:11,620 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54227145:ctest-vn-69375105 virtual network link through opserver 10.0.0.22 2026-02-09 02:06:11,620 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-09 02:06:11,915 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-09 02:06:11,993 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54227145:ctest-vn-69375105', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54227145:ctest-vn-69375105?flat'} 2026-02-09 02:06:11,993 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54227145:ctest-vn-69375105 is found in opserver 2026-02-09 02:06:12,004 - DEBUG - Do not have enough data to verify VN in agent 2026-02-09 02:06:12,010 - DEBUG - VRF ids for VN ctest-vn-69375105: {} 2026-02-09 02:06:12,010 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-09 02:06:12,016 - DEBUG - Requesting: http://10.0.0.22:8082/domain/af71baa0-b59d-4e76-bfaf-b7fe7d879437 2026-02-09 02:06:12,029 - DEBUG - Requesting: http://10.0.0.22:8082/project/07f488d5-dc4b-4c2a-8816-64301db5b362 2026-02-09 02:06:12,095 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9d0b8e88-5869-4615-be99-6cc00b3825b1 2026-02-09 02:06:12,106 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9d0b8e88-5869-4615-be99-6cc00b3825b1 2026-02-09 02:06:12,114 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/aad74407-0da1-4d66-bfdf-b538f357dc3c 2026-02-09 02:06:12,121 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/aad74407-0da1-4d66-bfdf-b538f357dc3c 2026-02-09 02:06:12,127 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/2feef5b8-d3a8-4318-8886-47b05a091e2a 2026-02-09 02:06:12,134 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-09 02:06:12,134 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9d0b8e88-5869-4615-be99-6cc00b3825b1 2026-02-09 02:06:12,143 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/aad74407-0da1-4d66-bfdf-b538f357dc3c 2026-02-09 02:06:12,156 - INFO - Verified VN network id 13 for VN 9d0b8e88-5869-4615-be99-6cc00b3825b1 2026-02-09 02:06:12,156 - INFO - Verifications in API Server for VN ctest-vn-31053363 passed 2026-02-09 02:06:12,156 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9d0b8e88-5869-4615-be99-6cc00b3825b1 2026-02-09 02:06:12,164 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/aad74407-0da1-4d66-bfdf-b538f357dc3c 2026-02-09 02:06:12,169 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/aad74407-0da1-4d66-bfdf-b538f357dc3c 2026-02-09 02:06:12,176 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/2feef5b8-d3a8-4318-8886-47b05a091e2a 2026-02-09 02:06:12,187 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54227145:ctest-vn-31053363', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54227145', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11316295204948493845', 'uuid-lslong': '13734128110720787889'}, 'enable': 'true', 'created': '2026-02-09T02:06:09', 'last-modified': '2026-02-09T02:06:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.361008'} 2026-02-09 02:06:12,192 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-09 02:06:12,192 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31053363 passed 2026-02-09 02:06:12,193 - DEBUG - ====Verifying policy data for ctest-vn-31053363 in API_Server ====== 2026-02-09 02:06:12,193 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-09 02:06:12,198 - DEBUG - Requesting: http://10.0.0.22:8082/domain/af71baa0-b59d-4e76-bfaf-b7fe7d879437 2026-02-09 02:06:12,209 - DEBUG - Requesting: http://10.0.0.22:8082/project/07f488d5-dc4b-4c2a-8816-64301db5b362 2026-02-09 02:06:12,274 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9d0b8e88-5869-4615-be99-6cc00b3825b1 2026-02-09 02:06:12,283 - DEBUG - ==>Verifying data for policy with id: d7e0cde1-b162-49c9-aa97-47b6f48f5507, fqn: ['default-domain', 'ctest-TestBasicPolicy-54227145', 'ctest-policy-allow-all-69142405'] 2026-02-09 02:06:12,283 - INFO - VN ctest-vn-31053363 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-09 02:06:12,283 - DEBUG - Verifying the vn in opserver 2026-02-09 02:06:12,283 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54227145:ctest-vn-31053363 virtual network link through opserver 10.0.0.22 2026-02-09 02:06:12,283 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-09 02:06:12,292 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54227145:ctest-vn-31053363', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54227145:ctest-vn-31053363?flat'} 2026-02-09 02:06:12,292 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54227145:ctest-vn-31053363 is found in opserver 2026-02-09 02:06:12,302 - DEBUG - Do not have enough data to verify VN in agent 2026-02-09 02:06:12,306 - DEBUG - VRF ids for VN ctest-vn-31053363: {} 2026-02-09 02:06:12,360 - DEBUG - Services list from nova: [, , ] 2026-02-09 02:06:13,377 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5239-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5239-1) 2026-02-09 02:06:14,517 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5239-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5239-1) 2026-02-09 02:06:14,518 - INFO - Waiting for VM ctest-TestBasicPolicy-54227145-32736261 to be up.. 2026-02-09 02:06:14,591 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-09 02:06:19,667 - DEBUG - VM is in ACTIVE state now 2026-02-09 02:06:19,667 - INFO - VM name : ctest-TestBasicPolicy-54227145-32736261 2026-02-09 02:06:19,741 - DEBUG - VM ctest-TestBasicPolicy-54227145-32736261 ID is 9967a999-72af-4efb-8748-0ccf95c4cacb 2026-02-09 02:06:19,760 - DEBUG - VM ctest-TestBasicPolicy-54227145-32736261 launched on Node cn-jenkins-deploy-platform-ansible-os-5239-1 2026-02-09 02:06:19,839 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9967a999-72af-4efb-8748-0ccf95c4cacb 2026-02-09 02:06:19,847 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/06960aee-9f9d-423a-921c-a9b07e8d888c 2026-02-09 02:06:23,097 - 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-02-09 02:06:23,097 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54227145-32736261 failed! 2026-02-09 02:06:23,151 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54227145:ctest-vn-69375105 is 74.183.58.1 and allocation pool is NOT set 2026-02-09 02:06:25,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=4.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.490 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.490/2.253/4.016/1.763 ms') 2026-02-09 02:06:25,208 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54227145-32736261 passed 2026-02-09 02:06:25,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 02:06:25,355 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54227145-32736261, IP 74.183.58.3, Port 22 2026-02-09 02:06:25,520 - DEBUG - VM ctest-TestBasicPolicy-54227145-32736261 is ready for SSH connections 2026-02-09 02:06:25,520 - INFO - Waiting for VM ctest-TestBasicPolicy-54227145-46460372 to be up.. 2026-02-09 02:06:25,595 - DEBUG - VM is in ACTIVE state now 2026-02-09 02:06:25,595 - INFO - VM name : ctest-TestBasicPolicy-54227145-46460372 2026-02-09 02:06:25,702 - DEBUG - VM ctest-TestBasicPolicy-54227145-46460372 ID is 49c34afb-b091-4d0c-9a8e-da731f2b92e7 2026-02-09 02:06:25,703 - DEBUG - VM ctest-TestBasicPolicy-54227145-46460372 launched on Node cn-jenkins-deploy-platform-ansible-os-5239-1 2026-02-09 02:06:25,781 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/49c34afb-b091-4d0c-9a8e-da731f2b92e7 2026-02-09 02:06:25,789 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e7d4104b-061f-433e-98fe-606b1aded98b 2026-02-09 02:06:27,028 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.780 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.780/2.195/3.611/1.415 ms') 2026-02-09 02:06:27,028 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54227145-46460372 passed 2026-02-09 02:06:27,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 02:06:27,187 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54227145-46460372, IP 33.104.33.3, Port 22 2026-02-09 02:06:27,365 - DEBUG - VM ctest-TestBasicPolicy-54227145-46460372 is ready for SSH connections 2026-02-09 02:06:27,365 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 02:06:27,365 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.104.33.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-02-09 02:06:27,365 - DEBUG - ping -s 56 -c 3 -W 1 33.104.33.3 2026-02-09 02:06:31,384 - DEBUG - PING 33.104.33.3 (33.104.33.3): 56 data bytes 64 bytes from 33.104.33.3: seq=0 ttl=63 time=3.508 ms 64 bytes from 33.104.33.3: seq=1 ttl=63 time=1.044 ms 64 bytes from 33.104.33.3: seq=2 ttl=63 time=1.073 ms --- 33.104.33.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.044/1.875/3.508 ms 2026-02-09 02:06:31,384 - INFO - Ping to IP 33.104.33.3 from VM ctest-TestBasicPolicy-54227145-32736261 passed 2026-02-09 02:06:31,562 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d7e0cde1-b162-49c9-aa97-47b6f48f5507", "href": "http://10.0.0.22:8082/network-policy/d7e0cde1-b162-49c9-aa97-47b6f48f5507"}} 2026-02-09 02:06:31,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 02:06:31,563 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.104.33.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-02-09 02:06:31,563 - DEBUG - ping -s 56 -c 3 -W 1 33.104.33.3 2026-02-09 02:06:34,762 - DEBUG - PING 33.104.33.3 (33.104.33.3): 56 data bytes --- 33.104.33.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-09 02:06:34,763 - WARNING - Ping to IP 33.104.33.3 from VM ctest-TestBasicPolicy-54227145-32736261 failed 2026-02-09 02:06:34,763 - INFO - Deleting VM ctest-TestBasicPolicy-54227145-46460372 2026-02-09 02:06:34,822 - INFO - Deleting VM ctest-TestBasicPolicy-54227145-32736261 2026-02-09 02:06:35,166 - INFO - Deleted policy ctest-policy-allow-all-69142405 2026-02-09 02:06:35,166 - INFO - Deleting VN ctest-vn-31053363 2026-02-09 02:06:35,198 - DEBUG - VN 9d0b8e88-5869-4615-be99-6cc00b3825b1 still in use: Unable to complete operation on network 9d0b8e88-5869-4615-be99-6cc00b3825b1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f8fe249d-bba5-4593-97b7-664481831161'] 2026-02-09 02:06:35,198 - WARNING - Deleting VN ctest-vn-31053363 failed..Will retry 2026-02-09 02:06:37,286 - DEBUG - Response for deleting network () 2026-02-09 02:06:37,286 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/aad74407-0da1-4d66-bfdf-b538f357dc3c 2026-02-09 02:06:37,291 - DEBUG - Response Code: 404 2026-02-09 02:06:37,291 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-09 02:06:37,296 - DEBUG - Requesting: http://10.0.0.22:8082/domain/af71baa0-b59d-4e76-bfaf-b7fe7d879437 2026-02-09 02:06:37,348 - DEBUG - Requesting: http://10.0.0.22:8082/project/07f488d5-dc4b-4c2a-8816-64301db5b362 2026-02-09 02:06:37,417 - INFO - Validated that VN ctest-vn-31053363 is not found in API Server 2026-02-09 02:06:37,426 - DEBUG - VN ctest-vn-31053363 is not present in Agent 10.0.0.22 2026-02-09 02:06:37,426 - INFO - Validated that VN ctest-vn-31053363 is not in any agent 2026-02-09 02:06:37,439 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31053363 info 2026-02-09 02:06:37,440 - INFO - Deleting VN ctest-vn-69375105 2026-02-09 02:06:37,533 - DEBUG - Response for deleting network () 2026-02-09 02:06:37,533 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f20c2320-a343-4b27-ac50-85c76b435378 2026-02-09 02:06:37,540 - DEBUG - Response Code: 404 2026-02-09 02:06:37,541 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-09 02:06:37,548 - DEBUG - Requesting: http://10.0.0.22:8082/domain/af71baa0-b59d-4e76-bfaf-b7fe7d879437 2026-02-09 02:06:37,599 - DEBUG - Requesting: http://10.0.0.22:8082/project/07f488d5-dc4b-4c2a-8816-64301db5b362 2026-02-09 02:06:37,665 - INFO - Validated that VN ctest-vn-69375105 is not found in API Server 2026-02-09 02:06:37,673 - DEBUG - VN ctest-vn-69375105 is not present in Agent 10.0.0.22 2026-02-09 02:06:37,673 - INFO - Validated that VN ctest-vn-69375105 is not in any agent 2026-02-09 02:06:37,686 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69375105 info 2026-02-09 02:06:37,944 - DEBUG - No XMPP flaps were noticed during the test
2026-02-09 02:06:37,944 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-02-09 02:06:37,944 - INFO - -------------------------------------------------------------------------------- 2026-02-09 02:06:38,636 - INFO - Deleted project: ctest-TestBasicPolicy-54227145, ID : 07f488d5-dc4b-4c2a-8816-64301db5b362