2025-08-11 11:20:18,986 - INFO - Domain Default found not creating 2025-08-11 11:20:19,121 - INFO - Project ctest-TestBasicPolicy-71395549 not found, creating it 2025-08-11 11:20:19,542 - INFO - Created Project:ctest-TestBasicPolicy-71395549, ID : 85b4a418-08ba-4af2-9e1f-df6b8c3ff496 2025-08-11 11:20:20,926 - INFO - ================================================================================ 2025-08-11 11:20:20,926 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-11 11:20:20,926 - 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-08-11 11:20:21,190 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.18': '0'}} with 2025-08-11 11:20:21,190 - INFO - Initial checks done. Running the testcase now 2025-08-11 11:20:21,190 - INFO - 2025-08-11 11:20:21,729 - DEBUG - Response for create_network : {'network': {'id': 'afb377d5-07d5-42c9-9b42-66affcdd0a1c', 'name': 'ctest-vn-54579196', 'tenant_id': '85b4a41808ba4af29e1fdf6b8c3ff496', 'project_id': '85b4a41808ba4af29e1fdf6b8c3ff496', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71395549', 'ctest-vn-54579196'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 11:20:21,880 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f434950-29bb-489e-8320-6ed65ca0d789', 'name': '', 'tenant_id': '85b4a41808ba4af29e1fdf6b8c3ff496', 'network_id': 'afb377d5-07d5-42c9-9b42-66affcdd0a1c', 'ip_version': 4, 'cidr': '128.40.118.0/26', 'allocation_pools': [{'start': '128.40.118.2', 'end': '128.40.118.62'}], 'gateway_ip': '128.40.118.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.40.118.2', 'tags': [], 'project_id': '85b4a41808ba4af29e1fdf6b8c3ff496'}} 2025-08-11 11:20:21,897 - INFO - Created VN ctest-vn-54579196 2025-08-11 11:20:21,949 - DEBUG - VN ctest-vn-54579196 UUID is afb377d5-07d5-42c9-9b42-66affcdd0a1c 2025-08-11 11:20:22,262 - DEBUG - Response for create_network : {'network': {'id': '332c8d0e-2875-485e-9506-68c429360838', 'name': 'ctest-vn-75383750', 'tenant_id': '85b4a41808ba4af29e1fdf6b8c3ff496', 'project_id': '85b4a41808ba4af29e1fdf6b8c3ff496', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71395549', 'ctest-vn-75383750'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 11:20:22,449 - DEBUG - Response for create_subnet : {'subnet': {'id': '526afa9f-db65-4abc-b20c-4ec352570f9e', 'name': '', 'tenant_id': '85b4a41808ba4af29e1fdf6b8c3ff496', 'network_id': '332c8d0e-2875-485e-9506-68c429360838', 'ip_version': 4, 'cidr': '84.128.225.128/26', 'allocation_pools': [{'start': '84.128.225.130', 'end': '84.128.225.190'}], 'gateway_ip': '84.128.225.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.128.225.130', 'tags': [], 'project_id': '85b4a41808ba4af29e1fdf6b8c3ff496'}} 2025-08-11 11:20:22,465 - INFO - Created VN ctest-vn-75383750 2025-08-11 11:20:22,517 - DEBUG - VN ctest-vn-75383750 UUID is 332c8d0e-2875-485e-9506-68c429360838 2025-08-11 11:20:22,672 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71395549:ctest-vn-54579196, 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-71395549:ctest-vn-75383750, 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-08-11 11:20:22,956 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'afb377d5-07d5-42c9-9b42-66affcdd0a1c', 'name': 'ctest-vn-54579196', 'tenant_id': '85b4a41808ba4af29e1fdf6b8c3ff496', 'project_id': '85b4a41808ba4af29e1fdf6b8c3ff496', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8f434950-29bb-489e-8320-6ed65ca0d789'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71395549', 'ctest-vn-54579196'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71395549', 'ctest-policy-allow-all-51654509']], 'subnet_ipam': [{'subnet_cidr': '128.40.118.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 11:20:23,180 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '332c8d0e-2875-485e-9506-68c429360838', 'name': 'ctest-vn-75383750', 'tenant_id': '85b4a41808ba4af29e1fdf6b8c3ff496', 'project_id': '85b4a41808ba4af29e1fdf6b8c3ff496', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['526afa9f-db65-4abc-b20c-4ec352570f9e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71395549', 'ctest-vn-75383750'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71395549', 'ctest-policy-allow-all-51654509']], 'subnet_ipam': [{'subnet_cidr': '84.128.225.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 11:20:23,349 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-11 11:20:23,637 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-11 11:20:23,662 - DEBUG - Requesting: http://10.0.0.33:8082/domain/78ebd613-adbc-492c-af69-67765f8a538f 2025-08-11 11:20:23,675 - DEBUG - Requesting: http://10.0.0.33:8082/project/85b4a418-08ba-4af2-9e1f-df6b8c3ff496 2025-08-11 11:20:23,748 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/afb377d5-07d5-42c9-9b42-66affcdd0a1c 2025-08-11 11:20:23,758 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/afb377d5-07d5-42c9-9b42-66affcdd0a1c 2025-08-11 11:20:23,768 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0b713de9-12e7-4487-8297-a1c0829e0866 2025-08-11 11:20:23,775 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0b713de9-12e7-4487-8297-a1c0829e0866 2025-08-11 11:20:23,781 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b9d116b8-535e-46d0-9d7c-d0eb3b04dc11 2025-08-11 11:20:23,788 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 11:20:23,788 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/afb377d5-07d5-42c9-9b42-66affcdd0a1c 2025-08-11 11:20:23,797 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0b713de9-12e7-4487-8297-a1c0829e0866 2025-08-11 11:20:23,811 - INFO - Verified VN network id 11 for VN afb377d5-07d5-42c9-9b42-66affcdd0a1c 2025-08-11 11:20:23,811 - INFO - Verifications in API Server for VN ctest-vn-54579196 passed 2025-08-11 11:20:23,811 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/afb377d5-07d5-42c9-9b42-66affcdd0a1c 2025-08-11 11:20:23,821 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0b713de9-12e7-4487-8297-a1c0829e0866 2025-08-11 11:20:23,828 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0b713de9-12e7-4487-8297-a1c0829e0866 2025-08-11 11:20:23,835 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b9d116b8-535e-46d0-9d7c-d0eb3b04dc11 2025-08-11 11:20:23,847 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71395549:ctest-vn-54579196', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71395549', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12660594734311752393', 'uuid-lslong': '11187617330389387804'}, 'enable': 'true', 'created': '2025-08-11T11:20:21', 'last-modified': '2025-08-11T11:20:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.910246'} 2025-08-11 11:20:23,853 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 11:20:23,853 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54579196 passed 2025-08-11 11:20:23,853 - DEBUG - ====Verifying policy data for ctest-vn-54579196 in API_Server ====== 2025-08-11 11:20:23,853 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-11 11:20:23,859 - DEBUG - Requesting: http://10.0.0.33:8082/domain/78ebd613-adbc-492c-af69-67765f8a538f 2025-08-11 11:20:23,869 - DEBUG - Requesting: http://10.0.0.33:8082/project/85b4a418-08ba-4af2-9e1f-df6b8c3ff496 2025-08-11 11:20:23,942 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/afb377d5-07d5-42c9-9b42-66affcdd0a1c 2025-08-11 11:20:23,952 - DEBUG - ==>Verifying data for policy with id: f9694a2b-cfe9-4cab-8590-6bba576e4170, fqn: ['default-domain', 'ctest-TestBasicPolicy-71395549', 'ctest-policy-allow-all-51654509'] 2025-08-11 11:20:23,952 - INFO - VN ctest-vn-54579196 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 11:20:23,952 - DEBUG - Verifying the vn in opserver 2025-08-11 11:20:23,952 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71395549:ctest-vn-54579196 virtual network link through opserver 10.0.0.33 2025-08-11 11:20:23,952 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-08-11 11:20:24,239 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-08-11 11:20:24,289 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71395549:ctest-vn-54579196', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71395549:ctest-vn-54579196?flat'} 2025-08-11 11:20:24,289 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71395549:ctest-vn-54579196 is found in opserver 2025-08-11 11:20:24,300 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 11:20:24,305 - DEBUG - VRF ids for VN ctest-vn-54579196: {} 2025-08-11 11:20:24,305 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-11 11:20:24,310 - DEBUG - Requesting: http://10.0.0.33:8082/domain/78ebd613-adbc-492c-af69-67765f8a538f 2025-08-11 11:20:24,322 - DEBUG - Requesting: http://10.0.0.33:8082/project/85b4a418-08ba-4af2-9e1f-df6b8c3ff496 2025-08-11 11:20:24,395 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/332c8d0e-2875-485e-9506-68c429360838 2025-08-11 11:20:24,407 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/332c8d0e-2875-485e-9506-68c429360838 2025-08-11 11:20:24,416 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9ddeb764-c5be-4af3-b1ca-78ff8c026acb 2025-08-11 11:20:24,424 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9ddeb764-c5be-4af3-b1ca-78ff8c026acb 2025-08-11 11:20:24,430 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/df040dc8-cdd4-4775-9967-d648d1ab49f6 2025-08-11 11:20:24,437 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 11:20:24,437 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/332c8d0e-2875-485e-9506-68c429360838 2025-08-11 11:20:24,447 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9ddeb764-c5be-4af3-b1ca-78ff8c026acb 2025-08-11 11:20:24,460 - INFO - Verified VN network id 12 for VN 332c8d0e-2875-485e-9506-68c429360838 2025-08-11 11:20:24,461 - INFO - Verifications in API Server for VN ctest-vn-75383750 passed 2025-08-11 11:20:24,461 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/332c8d0e-2875-485e-9506-68c429360838 2025-08-11 11:20:24,471 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9ddeb764-c5be-4af3-b1ca-78ff8c026acb 2025-08-11 11:20:24,478 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9ddeb764-c5be-4af3-b1ca-78ff8c026acb 2025-08-11 11:20:24,486 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/df040dc8-cdd4-4775-9967-d648d1ab49f6 2025-08-11 11:20:24,501 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71395549:ctest-vn-75383750', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71395549', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3687477286857427038', 'uuid-lslong': '10738385553225812024'}, 'enable': 'true', 'created': '2025-08-11T11:20:22', 'last-modified': '2025-08-11T11:20:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.343709'} 2025-08-11 11:20:24,507 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 11:20:24,507 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75383750 passed 2025-08-11 11:20:24,507 - DEBUG - ====Verifying policy data for ctest-vn-75383750 in API_Server ====== 2025-08-11 11:20:24,507 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-11 11:20:24,513 - DEBUG - Requesting: http://10.0.0.33:8082/domain/78ebd613-adbc-492c-af69-67765f8a538f 2025-08-11 11:20:24,526 - DEBUG - Requesting: http://10.0.0.33:8082/project/85b4a418-08ba-4af2-9e1f-df6b8c3ff496 2025-08-11 11:20:24,598 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/332c8d0e-2875-485e-9506-68c429360838 2025-08-11 11:20:24,610 - DEBUG - ==>Verifying data for policy with id: f9694a2b-cfe9-4cab-8590-6bba576e4170, fqn: ['default-domain', 'ctest-TestBasicPolicy-71395549', 'ctest-policy-allow-all-51654509'] 2025-08-11 11:20:24,610 - INFO - VN ctest-vn-75383750 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 11:20:24,610 - DEBUG - Verifying the vn in opserver 2025-08-11 11:20:24,611 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71395549:ctest-vn-75383750 virtual network link through opserver 10.0.0.33 2025-08-11 11:20:24,611 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-08-11 11:20:24,621 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71395549:ctest-vn-75383750', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71395549:ctest-vn-75383750?flat'} 2025-08-11 11:20:24,621 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71395549:ctest-vn-75383750 is found in opserver 2025-08-11 11:20:24,631 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 11:20:24,636 - DEBUG - VRF ids for VN ctest-vn-75383750: {} 2025-08-11 11:20:24,691 - DEBUG - Services list from nova: [, , ] 2025-08-11 11:20:25,651 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3804-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3804-1) 2025-08-11 11:20:26,737 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3804-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3804-1) 2025-08-11 11:20:26,737 - INFO - Waiting for VM ctest-TestBasicPolicy-71395549-33273610 to be up.. 2025-08-11 11:20:26,817 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 11:20:31,899 - DEBUG - VM is in ACTIVE state now 2025-08-11 11:20:31,899 - INFO - VM name : ctest-TestBasicPolicy-71395549-33273610 2025-08-11 11:20:31,972 - DEBUG - VM ctest-TestBasicPolicy-71395549-33273610 ID is ee81592f-3428-49d9-a004-f047d7fd01cc 2025-08-11 11:20:31,989 - DEBUG - VM ctest-TestBasicPolicy-71395549-33273610 launched on Node cn-jenkins-deploy-platform-ansible-os-3804-1 2025-08-11 11:20:32,110 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ee81592f-3428-49d9-a004-f047d7fd01cc 2025-08-11 11:20:32,119 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/7ca9b5bf-f5f8-4c37-80eb-37df280d6e21 2025-08-11 11:20:35,370 - 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 1007ms') 2025-08-11 11:20:35,370 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71395549-33273610 failed! 2025-08-11 11:20:35,429 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-71395549:ctest-vn-54579196 is 128.40.118.1 and allocation pool is NOT set 2025-08-11 11:20:37,497 - 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=2.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.429 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 = 0.429/1.557/2.686/1.128 ms') 2025-08-11 11:20:37,497 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71395549-33273610 passed 2025-08-11 11:20:37,649 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:20:37,649 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71395549-33273610, IP 128.40.118.3, Port 22 2025-08-11 11:20:37,808 - DEBUG - VM ctest-TestBasicPolicy-71395549-33273610 is ready for SSH connections 2025-08-11 11:20:37,808 - INFO - Waiting for VM ctest-TestBasicPolicy-71395549-93283604 to be up.. 2025-08-11 11:20:37,889 - DEBUG - VM is in ACTIVE state now 2025-08-11 11:20:37,889 - INFO - VM name : ctest-TestBasicPolicy-71395549-93283604 2025-08-11 11:20:37,958 - DEBUG - VM ctest-TestBasicPolicy-71395549-93283604 ID is 8ee6054f-6c7c-4d1a-9046-5634a1f0a51a 2025-08-11 11:20:37,958 - DEBUG - VM ctest-TestBasicPolicy-71395549-93283604 launched on Node cn-jenkins-deploy-platform-ansible-os-3804-1 2025-08-11 11:20:38,023 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/8ee6054f-6c7c-4d1a-9046-5634a1f0a51a 2025-08-11 11:20:38,031 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d3619a3a-2d1e-4ec3-8860-ff9b25e006b4 2025-08-11 11:20:39,272 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.345 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.345/1.805/3.265/1.460 ms') 2025-08-11 11:20:39,272 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-71395549-93283604 passed 2025-08-11 11:20:39,425 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:20:39,425 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71395549-93283604, IP 84.128.225.131, Port 22 2025-08-11 11:20:39,580 - DEBUG - VM ctest-TestBasicPolicy-71395549-93283604 is ready for SSH connections 2025-08-11 11:20:39,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:20:39,580 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.128.225.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-11 11:20:39,580 - DEBUG - ping -s 56 -c 3 -W 1 84.128.225.131 2025-08-11 11:20:43,582 - DEBUG - PING 84.128.225.131 (84.128.225.131): 56 data bytes 64 bytes from 84.128.225.131: seq=0 ttl=63 time=3.278 ms 64 bytes from 84.128.225.131: seq=1 ttl=63 time=0.705 ms 64 bytes from 84.128.225.131: seq=2 ttl=63 time=0.830 ms --- 84.128.225.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.705/1.604/3.278 ms 2025-08-11 11:20:43,582 - INFO - Ping to IP 84.128.225.131 from VM ctest-TestBasicPolicy-71395549-33273610 passed 2025-08-11 11:20:43,761 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f9694a2b-cfe9-4cab-8590-6bba576e4170", "href": "http://10.0.0.33:8082/network-policy/f9694a2b-cfe9-4cab-8590-6bba576e4170"}} 2025-08-11 11:20:43,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:20:43,761 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.128.225.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-11 11:20:43,761 - DEBUG - ping -s 56 -c 3 -W 1 84.128.225.131 2025-08-11 11:20:46,994 - DEBUG - PING 84.128.225.131 (84.128.225.131): 56 data bytes 64 bytes from 84.128.225.131: seq=0 ttl=63 time=1.681 ms --- 84.128.225.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.681/1.681/1.681 ms 2025-08-11 11:20:46,994 - WARNING - Ping to IP 84.128.225.131 from VM ctest-TestBasicPolicy-71395549-33273610 failed 2025-08-11 11:20:46,994 - INFO - Deleting VM ctest-TestBasicPolicy-71395549-93283604 2025-08-11 11:20:47,054 - INFO - Deleting VM ctest-TestBasicPolicy-71395549-33273610 2025-08-11 11:20:47,408 - INFO - Deleted policy ctest-policy-allow-all-51654509 2025-08-11 11:20:47,408 - INFO - Deleting VN ctest-vn-75383750 2025-08-11 11:20:47,440 - DEBUG - VN 332c8d0e-2875-485e-9506-68c429360838 still in use: Unable to complete operation on network 332c8d0e-2875-485e-9506-68c429360838. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a6f5ab0b-b565-41e9-b166-bd67f73b412e'] 2025-08-11 11:20:47,440 - WARNING - Deleting VN ctest-vn-75383750 failed..Will retry 2025-08-11 11:20:49,554 - DEBUG - Response for deleting network () 2025-08-11 11:20:49,554 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9ddeb764-c5be-4af3-b1ca-78ff8c026acb 2025-08-11 11:20:49,562 - DEBUG - Response Code: 404 2025-08-11 11:20:49,563 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-11 11:20:49,568 - DEBUG - Requesting: http://10.0.0.33:8082/domain/78ebd613-adbc-492c-af69-67765f8a538f 2025-08-11 11:20:49,622 - DEBUG - Requesting: http://10.0.0.33:8082/project/85b4a418-08ba-4af2-9e1f-df6b8c3ff496 2025-08-11 11:20:49,694 - INFO - Validated that VN ctest-vn-75383750 is not found in API Server 2025-08-11 11:20:49,705 - DEBUG - VN ctest-vn-75383750 is not present in Agent 10.0.0.33 2025-08-11 11:20:49,705 - INFO - Validated that VN ctest-vn-75383750 is not in any agent 2025-08-11 11:20:49,721 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75383750 info 2025-08-11 11:20:49,721 - INFO - Deleting VN ctest-vn-54579196 2025-08-11 11:20:49,821 - DEBUG - Response for deleting network () 2025-08-11 11:20:49,821 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0b713de9-12e7-4487-8297-a1c0829e0866 2025-08-11 11:20:49,827 - DEBUG - Response Code: 404 2025-08-11 11:20:49,827 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-11 11:20:49,833 - DEBUG - Requesting: http://10.0.0.33:8082/domain/78ebd613-adbc-492c-af69-67765f8a538f 2025-08-11 11:20:49,891 - DEBUG - Requesting: http://10.0.0.33:8082/project/85b4a418-08ba-4af2-9e1f-df6b8c3ff496 2025-08-11 11:20:49,965 - INFO - Validated that VN ctest-vn-54579196 is not found in API Server 2025-08-11 11:20:49,975 - DEBUG - VN ctest-vn-54579196 is not present in Agent 10.0.0.33 2025-08-11 11:20:49,975 - INFO - Validated that VN ctest-vn-54579196 is not in any agent 2025-08-11 11:20:49,990 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54579196 info 2025-08-11 11:20:50,242 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 11:20:50,242 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-08-11 11:20:50,242 - INFO - -------------------------------------------------------------------------------- 2025-08-11 11:20:50,901 - INFO - Deleted project: ctest-TestBasicPolicy-71395549, ID : 85b4a418-08ba-4af2-9e1f-df6b8c3ff496