2025-11-17 13:39:14,644 - INFO - Domain Default found not creating 2025-11-17 13:39:14,794 - INFO - Project ctest-TestBasicPolicy-83754086 not found, creating it 2025-11-17 13:39:15,225 - INFO - Created Project:ctest-TestBasicPolicy-83754086, ID : 9657e1d7-481d-4863-802d-f9bf51075664 2025-11-17 13:39:16,758 - INFO - ================================================================================ 2025-11-17 13:39:16,758 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-17 13:39:16,758 - 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 2025-11-17 13:39:17,011 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-17 13:39:17,012 - INFO - Initial checks done. Running the testcase now 2025-11-17 13:39:17,012 - INFO - 2025-11-17 13:39:17,551 - DEBUG - Response for create_network : {'network': {'id': 'd696a7a7-6e8c-4099-b6ed-286590ae869b', 'name': 'ctest-vn-76794570', 'tenant_id': '9657e1d7481d4863802df9bf51075664', 'project_id': '9657e1d7481d4863802df9bf51075664', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83754086', 'ctest-vn-76794570'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 13:39:17,721 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b36320ba-5968-434a-bdc0-82f6663535b0', 'name': '', 'tenant_id': '9657e1d7481d4863802df9bf51075664', 'network_id': 'd696a7a7-6e8c-4099-b6ed-286590ae869b', 'ip_version': 4, 'cidr': '41.114.48.192/26', 'allocation_pools': [{'start': '41.114.48.194', 'end': '41.114.48.254'}], 'gateway_ip': '41.114.48.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.114.48.194', 'tags': [], 'project_id': '9657e1d7481d4863802df9bf51075664'}} 2025-11-17 13:39:17,736 - INFO - Created VN ctest-vn-76794570 2025-11-17 13:39:17,786 - DEBUG - VN ctest-vn-76794570 UUID is d696a7a7-6e8c-4099-b6ed-286590ae869b 2025-11-17 13:39:18,101 - DEBUG - Response for create_network : {'network': {'id': '4645fbdf-5899-4638-8040-29a52249c58e', 'name': 'ctest-vn-87688643', 'tenant_id': '9657e1d7481d4863802df9bf51075664', 'project_id': '9657e1d7481d4863802df9bf51075664', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83754086', 'ctest-vn-87688643'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 13:39:18,243 - DEBUG - Response for create_subnet : {'subnet': {'id': '9930caa1-0514-4f0c-85ed-f1529630ae47', 'name': '', 'tenant_id': '9657e1d7481d4863802df9bf51075664', 'network_id': '4645fbdf-5899-4638-8040-29a52249c58e', 'ip_version': 4, 'cidr': '2.124.54.192/26', 'allocation_pools': [{'start': '2.124.54.194', 'end': '2.124.54.254'}], 'gateway_ip': '2.124.54.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.124.54.194', 'tags': [], 'project_id': '9657e1d7481d4863802df9bf51075664'}} 2025-11-17 13:39:18,259 - INFO - Created VN ctest-vn-87688643 2025-11-17 13:39:18,310 - DEBUG - VN ctest-vn-87688643 UUID is 4645fbdf-5899-4638-8040-29a52249c58e 2025-11-17 13:39:18,454 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-83754086:ctest-vn-76794570, 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-83754086:ctest-vn-87688643, 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] 2025-11-17 13:39:18,746 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd696a7a7-6e8c-4099-b6ed-286590ae869b', 'name': 'ctest-vn-76794570', 'tenant_id': '9657e1d7481d4863802df9bf51075664', 'project_id': '9657e1d7481d4863802df9bf51075664', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b36320ba-5968-434a-bdc0-82f6663535b0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83754086', 'ctest-vn-76794570'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83754086', 'ctest-policy-allow-all-80801033']], 'subnet_ipam': [{'subnet_cidr': '41.114.48.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-17 13:39:18,972 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4645fbdf-5899-4638-8040-29a52249c58e', 'name': 'ctest-vn-87688643', 'tenant_id': '9657e1d7481d4863802df9bf51075664', 'project_id': '9657e1d7481d4863802df9bf51075664', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9930caa1-0514-4f0c-85ed-f1529630ae47'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83754086', 'ctest-vn-87688643'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83754086', 'ctest-policy-allow-all-80801033']], 'subnet_ipam': [{'subnet_cidr': '2.124.54.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-17 13:39:19,142 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-17 13:39:19,477 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-17 13:39:19,504 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c58d073e-9327-469b-ad4d-9a6ab2d466a4 2025-11-17 13:39:19,518 - DEBUG - Requesting: http://10.0.0.50:8082/project/9657e1d7-481d-4863-802d-f9bf51075664 2025-11-17 13:39:19,589 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d696a7a7-6e8c-4099-b6ed-286590ae869b 2025-11-17 13:39:19,600 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d696a7a7-6e8c-4099-b6ed-286590ae869b 2025-11-17 13:39:19,609 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e41272b9-b60a-483f-8968-67c521777641 2025-11-17 13:39:19,616 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e41272b9-b60a-483f-8968-67c521777641 2025-11-17 13:39:19,622 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f2dad04e-ad37-4ef7-ba78-0d47c3b1a5b5 2025-11-17 13:39:19,628 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-17 13:39:19,628 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d696a7a7-6e8c-4099-b6ed-286590ae869b 2025-11-17 13:39:19,640 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e41272b9-b60a-483f-8968-67c521777641 2025-11-17 13:39:19,655 - INFO - Verified VN network id 11 for VN d696a7a7-6e8c-4099-b6ed-286590ae869b 2025-11-17 13:39:19,655 - INFO - Verifications in API Server for VN ctest-vn-76794570 passed 2025-11-17 13:39:19,655 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d696a7a7-6e8c-4099-b6ed-286590ae869b 2025-11-17 13:39:19,664 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e41272b9-b60a-483f-8968-67c521777641 2025-11-17 13:39:19,671 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e41272b9-b60a-483f-8968-67c521777641 2025-11-17 13:39:19,678 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f2dad04e-ad37-4ef7-ba78-0d47c3b1a5b5 2025-11-17 13:39:19,691 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83754086:ctest-vn-76794570', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83754086', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15462730708179239065', 'uuid-lslong': '13181236101067474587'}, 'enable': 'true', 'created': '2025-11-17T13:39:17', 'last-modified': '2025-11-17T13:39:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.964479'} 2025-11-17 13:39:19,697 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-17 13:39:19,697 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76794570 passed 2025-11-17 13:39:19,697 - DEBUG - ====Verifying policy data for ctest-vn-76794570 in API_Server ====== 2025-11-17 13:39:19,697 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-17 13:39:19,702 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c58d073e-9327-469b-ad4d-9a6ab2d466a4 2025-11-17 13:39:19,713 - DEBUG - Requesting: http://10.0.0.50:8082/project/9657e1d7-481d-4863-802d-f9bf51075664 2025-11-17 13:39:19,783 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d696a7a7-6e8c-4099-b6ed-286590ae869b 2025-11-17 13:39:19,791 - DEBUG - ==>Verifying data for policy with id: 4babff2f-49bf-4c19-9913-d84dd3562ebe, fqn: ['default-domain', 'ctest-TestBasicPolicy-83754086', 'ctest-policy-allow-all-80801033'] 2025-11-17 13:39:19,791 - INFO - VN ctest-vn-76794570 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-17 13:39:19,792 - DEBUG - Verifying the vn in opserver 2025-11-17 13:39:19,792 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83754086:ctest-vn-76794570 virtual network link through opserver 10.0.0.50 2025-11-17 13:39:19,792 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-17 13:39:20,112 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-17 13:39:20,166 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83754086:ctest-vn-76794570', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83754086:ctest-vn-76794570?flat'} 2025-11-17 13:39:20,166 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83754086:ctest-vn-76794570 is found in opserver 2025-11-17 13:39:20,175 - DEBUG - Do not have enough data to verify VN in agent 2025-11-17 13:39:20,180 - DEBUG - VRF ids for VN ctest-vn-76794570: {} 2025-11-17 13:39:20,180 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-17 13:39:20,186 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c58d073e-9327-469b-ad4d-9a6ab2d466a4 2025-11-17 13:39:20,198 - DEBUG - Requesting: http://10.0.0.50:8082/project/9657e1d7-481d-4863-802d-f9bf51075664 2025-11-17 13:39:20,267 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4645fbdf-5899-4638-8040-29a52249c58e 2025-11-17 13:39:20,278 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4645fbdf-5899-4638-8040-29a52249c58e 2025-11-17 13:39:20,287 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0e2ccc56-c3d7-44d8-b80f-15a4b9a1d13e 2025-11-17 13:39:20,294 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0e2ccc56-c3d7-44d8-b80f-15a4b9a1d13e 2025-11-17 13:39:20,300 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ac484d1a-638e-429a-8dee-9075782b2d2f 2025-11-17 13:39:20,307 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-17 13:39:20,307 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4645fbdf-5899-4638-8040-29a52249c58e 2025-11-17 13:39:20,315 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0e2ccc56-c3d7-44d8-b80f-15a4b9a1d13e 2025-11-17 13:39:20,328 - INFO - Verified VN network id 12 for VN 4645fbdf-5899-4638-8040-29a52249c58e 2025-11-17 13:39:20,328 - INFO - Verifications in API Server for VN ctest-vn-87688643 passed 2025-11-17 13:39:20,329 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4645fbdf-5899-4638-8040-29a52249c58e 2025-11-17 13:39:20,338 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0e2ccc56-c3d7-44d8-b80f-15a4b9a1d13e 2025-11-17 13:39:20,344 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0e2ccc56-c3d7-44d8-b80f-15a4b9a1d13e 2025-11-17 13:39:20,351 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ac484d1a-638e-429a-8dee-9075782b2d2f 2025-11-17 13:39:20,362 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83754086:ctest-vn-87688643', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83754086', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5063730292730709560', 'uuid-lslong': '9241432224585860494'}, 'enable': 'true', 'created': '2025-11-17T13:39:18', 'last-modified': '2025-11-17T13:39:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.414494'} 2025-11-17 13:39:20,367 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-17 13:39:20,367 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87688643 passed 2025-11-17 13:39:20,368 - DEBUG - ====Verifying policy data for ctest-vn-87688643 in API_Server ====== 2025-11-17 13:39:20,368 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-17 13:39:20,375 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c58d073e-9327-469b-ad4d-9a6ab2d466a4 2025-11-17 13:39:20,384 - DEBUG - Requesting: http://10.0.0.50:8082/project/9657e1d7-481d-4863-802d-f9bf51075664 2025-11-17 13:39:20,455 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4645fbdf-5899-4638-8040-29a52249c58e 2025-11-17 13:39:20,472 - DEBUG - ==>Verifying data for policy with id: 4babff2f-49bf-4c19-9913-d84dd3562ebe, fqn: ['default-domain', 'ctest-TestBasicPolicy-83754086', 'ctest-policy-allow-all-80801033'] 2025-11-17 13:39:20,472 - INFO - VN ctest-vn-87688643 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-17 13:39:20,472 - DEBUG - Verifying the vn in opserver 2025-11-17 13:39:20,472 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83754086:ctest-vn-87688643 virtual network link through opserver 10.0.0.50 2025-11-17 13:39:20,472 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-17 13:39:20,482 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83754086:ctest-vn-87688643', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83754086:ctest-vn-87688643?flat'} 2025-11-17 13:39:20,482 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83754086:ctest-vn-87688643 is found in opserver 2025-11-17 13:39:20,493 - DEBUG - Do not have enough data to verify VN in agent 2025-11-17 13:39:20,502 - DEBUG - VRF ids for VN ctest-vn-87688643: {} 2025-11-17 13:39:20,580 - DEBUG - Services list from nova: [, , ] 2025-11-17 13:39:21,638 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4741-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4741-1) 2025-11-17 13:39:22,936 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4741-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4741-1) 2025-11-17 13:39:22,937 - INFO - Waiting for VM ctest-TestBasicPolicy-83754086-58943197 to be up.. 2025-11-17 13:39:23,022 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 13:39:28,089 - DEBUG - VM is in ACTIVE state now 2025-11-17 13:39:28,089 - INFO - VM name : ctest-TestBasicPolicy-83754086-58943197 2025-11-17 13:39:28,155 - DEBUG - VM ctest-TestBasicPolicy-83754086-58943197 ID is 753f6179-0478-4e84-b70a-340d010eb177 2025-11-17 13:39:28,173 - DEBUG - VM ctest-TestBasicPolicy-83754086-58943197 launched on Node cn-jenkins-deploy-platform-ansible-os-4741-1 2025-11-17 13:39:28,240 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/753f6179-0478-4e84-b70a-340d010eb177 2025-11-17 13:39:28,249 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f2a4573c-78a5-4678-95ab-c5f83261b187 2025-11-17 13:39:31,517 - 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=8.21 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1034ms\r\nrtt min/avg/max/mdev = 8.209/8.209/8.209/0.000 ms') 2025-11-17 13:39:31,518 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83754086-58943197 passed 2025-11-17 13:39:31,666 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 13:39:31,666 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83754086-58943197, IP 41.114.48.195, Port 22 2025-11-17 13:39:31,831 - DEBUG - VM ctest-TestBasicPolicy-83754086-58943197 is ready for SSH connections 2025-11-17 13:39:31,831 - INFO - Waiting for VM ctest-TestBasicPolicy-83754086-69173231 to be up.. 2025-11-17 13:39:31,905 - DEBUG - VM is in ACTIVE state now 2025-11-17 13:39:31,905 - INFO - VM name : ctest-TestBasicPolicy-83754086-69173231 2025-11-17 13:39:31,978 - DEBUG - VM ctest-TestBasicPolicy-83754086-69173231 ID is a4415b58-b86d-4166-882d-e8a5494a8ab7 2025-11-17 13:39:31,978 - DEBUG - VM ctest-TestBasicPolicy-83754086-69173231 launched on Node cn-jenkins-deploy-platform-ansible-os-4741-1 2025-11-17 13:39:32,063 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a4415b58-b86d-4166-882d-e8a5494a8ab7 2025-11-17 13:39:32,072 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/05f26aa5-35e2-44a9-aa99-75313bf092e6 2025-11-17 13:39:33,310 - 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=5.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.18 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 = 1.177/3.507/5.837/2.330 ms') 2025-11-17 13:39:33,310 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-83754086-69173231 passed 2025-11-17 13:39:33,466 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 13:39:33,466 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83754086-69173231, IP 2.124.54.195, Port 22 2025-11-17 13:39:33,626 - DEBUG - VM ctest-TestBasicPolicy-83754086-69173231 is ready for SSH connections 2025-11-17 13:39:33,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 13:39:33,626 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.124.54.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-17 13:39:33,626 - DEBUG - ping -s 56 -c 3 -W 1 2.124.54.195 2025-11-17 13:39:37,604 - DEBUG - PING 2.124.54.195 (2.124.54.195): 56 data bytes 64 bytes from 2.124.54.195: seq=0 ttl=63 time=3.769 ms 64 bytes from 2.124.54.195: seq=1 ttl=63 time=0.877 ms 64 bytes from 2.124.54.195: seq=2 ttl=63 time=0.935 ms --- 2.124.54.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.877/1.860/3.769 ms 2025-11-17 13:39:37,604 - INFO - Ping to IP 2.124.54.195 from VM ctest-TestBasicPolicy-83754086-58943197 passed 2025-11-17 13:39:37,790 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4babff2f-49bf-4c19-9913-d84dd3562ebe", "href": "http://10.0.0.50:8082/network-policy/4babff2f-49bf-4c19-9913-d84dd3562ebe"}} 2025-11-17 13:39:37,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 13:39:37,790 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.124.54.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-17 13:39:37,790 - DEBUG - ping -s 56 -c 3 -W 1 2.124.54.195 2025-11-17 13:39:40,908 - DEBUG - PING 2.124.54.195 (2.124.54.195): 56 data bytes 64 bytes from 2.124.54.195: seq=0 ttl=63 time=1.298 ms --- 2.124.54.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.298/1.298/1.298 ms 2025-11-17 13:39:40,909 - WARNING - Ping to IP 2.124.54.195 from VM ctest-TestBasicPolicy-83754086-58943197 failed 2025-11-17 13:39:40,909 - INFO - Deleting VM ctest-TestBasicPolicy-83754086-69173231 2025-11-17 13:39:40,981 - INFO - Deleting VM ctest-TestBasicPolicy-83754086-58943197 2025-11-17 13:39:41,351 - INFO - Deleted policy ctest-policy-allow-all-80801033 2025-11-17 13:39:41,351 - INFO - Deleting VN ctest-vn-87688643 2025-11-17 13:39:41,383 - DEBUG - VN 4645fbdf-5899-4638-8040-29a52249c58e still in use: Unable to complete operation on network 4645fbdf-5899-4638-8040-29a52249c58e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1710fba2-86a0-463d-b2f7-60bd75e28d84'] 2025-11-17 13:39:41,383 - WARNING - Deleting VN ctest-vn-87688643 failed..Will retry 2025-11-17 13:39:43,476 - DEBUG - Response for deleting network () 2025-11-17 13:39:43,476 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0e2ccc56-c3d7-44d8-b80f-15a4b9a1d13e 2025-11-17 13:39:43,484 - DEBUG - Response Code: 404 2025-11-17 13:39:43,484 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-17 13:39:43,489 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c58d073e-9327-469b-ad4d-9a6ab2d466a4 2025-11-17 13:39:43,543 - DEBUG - Requesting: http://10.0.0.50:8082/project/9657e1d7-481d-4863-802d-f9bf51075664 2025-11-17 13:39:43,618 - INFO - Validated that VN ctest-vn-87688643 is not found in API Server 2025-11-17 13:39:43,628 - DEBUG - VN ctest-vn-87688643 is not present in Agent 10.0.0.50 2025-11-17 13:39:43,628 - INFO - Validated that VN ctest-vn-87688643 is not in any agent 2025-11-17 13:39:43,641 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87688643 info 2025-11-17 13:39:43,641 - INFO - Deleting VN ctest-vn-76794570 2025-11-17 13:39:43,735 - DEBUG - Response for deleting network () 2025-11-17 13:39:43,735 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e41272b9-b60a-483f-8968-67c521777641 2025-11-17 13:39:43,742 - DEBUG - Response Code: 404 2025-11-17 13:39:43,742 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-17 13:39:43,747 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c58d073e-9327-469b-ad4d-9a6ab2d466a4 2025-11-17 13:39:43,799 - DEBUG - Requesting: http://10.0.0.50:8082/project/9657e1d7-481d-4863-802d-f9bf51075664 2025-11-17 13:39:43,869 - INFO - Validated that VN ctest-vn-76794570 is not found in API Server 2025-11-17 13:39:43,879 - DEBUG - VN ctest-vn-76794570 is not present in Agent 10.0.0.50 2025-11-17 13:39:43,879 - INFO - Validated that VN ctest-vn-76794570 is not in any agent 2025-11-17 13:39:43,892 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76794570 info 2025-11-17 13:39:44,152 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 13:39:44,152 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28]
2025-11-17 13:39:44,152 - INFO - -------------------------------------------------------------------------------- 2025-11-17 13:39:44,842 - INFO - Deleted project: ctest-TestBasicPolicy-83754086, ID : 9657e1d7-481d-4863-802d-f9bf51075664