2025-10-30 22:07:12,784 - INFO - Domain Default found not creating 2025-10-30 22:07:12,935 - INFO - Project ctest-TestBasicPolicy-45949819 not found, creating it 2025-10-30 22:07:13,398 - INFO - Created Project:ctest-TestBasicPolicy-45949819, ID : f3fdd84c-065e-4f2d-b8fd-baee7a336aca 2025-10-30 22:07:14,804 - INFO - ================================================================================ 2025-10-30 22:07:14,804 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-30 22:07:14,804 - 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-10-30 22:07:15,068 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.5': '0'}} with 2025-10-30 22:07:15,068 - INFO - Initial checks done. Running the testcase now 2025-10-30 22:07:15,068 - INFO - 2025-10-30 22:07:15,623 - DEBUG - Response for create_network : {'network': {'id': 'b01e7bf6-e21e-43c0-8fb9-7587705370d6', 'name': 'ctest-vn-76896419', 'tenant_id': 'f3fdd84c065e4f2db8fdbaee7a336aca', 'project_id': 'f3fdd84c065e4f2db8fdbaee7a336aca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45949819', 'ctest-vn-76896419'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 22:07:15,793 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c1b3455-9e02-4bb6-9b02-2ada15ea00f1', 'name': '', 'tenant_id': 'f3fdd84c065e4f2db8fdbaee7a336aca', 'network_id': 'b01e7bf6-e21e-43c0-8fb9-7587705370d6', 'ip_version': 4, 'cidr': '161.170.134.64/26', 'allocation_pools': [{'start': '161.170.134.66', 'end': '161.170.134.126'}], 'gateway_ip': '161.170.134.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.170.134.66', 'tags': [], 'project_id': 'f3fdd84c065e4f2db8fdbaee7a336aca'}} 2025-10-30 22:07:15,810 - INFO - Created VN ctest-vn-76896419 2025-10-30 22:07:15,866 - DEBUG - VN ctest-vn-76896419 UUID is b01e7bf6-e21e-43c0-8fb9-7587705370d6 2025-10-30 22:07:16,153 - DEBUG - Response for create_network : {'network': {'id': 'e56c9569-fcaa-44ff-8f22-08ae2706a3aa', 'name': 'ctest-vn-17794229', 'tenant_id': 'f3fdd84c065e4f2db8fdbaee7a336aca', 'project_id': 'f3fdd84c065e4f2db8fdbaee7a336aca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45949819', 'ctest-vn-17794229'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 22:07:16,387 - DEBUG - Response for create_subnet : {'subnet': {'id': '8eeda6bb-7920-463a-a5b6-7d28d9c7d8d6', 'name': '', 'tenant_id': 'f3fdd84c065e4f2db8fdbaee7a336aca', 'network_id': 'e56c9569-fcaa-44ff-8f22-08ae2706a3aa', 'ip_version': 4, 'cidr': '129.242.131.0/26', 'allocation_pools': [{'start': '129.242.131.2', 'end': '129.242.131.62'}], 'gateway_ip': '129.242.131.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.242.131.2', 'tags': [], 'project_id': 'f3fdd84c065e4f2db8fdbaee7a336aca'}} 2025-10-30 22:07:16,404 - INFO - Created VN ctest-vn-17794229 2025-10-30 22:07:16,458 - DEBUG - VN ctest-vn-17794229 UUID is e56c9569-fcaa-44ff-8f22-08ae2706a3aa 2025-10-30 22:07:16,569 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45949819:ctest-vn-76896419, 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-45949819:ctest-vn-17794229, 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-10-30 22:07:16,867 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b01e7bf6-e21e-43c0-8fb9-7587705370d6', 'name': 'ctest-vn-76896419', 'tenant_id': 'f3fdd84c065e4f2db8fdbaee7a336aca', 'project_id': 'f3fdd84c065e4f2db8fdbaee7a336aca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5c1b3455-9e02-4bb6-9b02-2ada15ea00f1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45949819', 'ctest-vn-76896419'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45949819', 'ctest-policy-allow-all-62679906']], 'subnet_ipam': [{'subnet_cidr': '161.170.134.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 22:07:17,102 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e56c9569-fcaa-44ff-8f22-08ae2706a3aa', 'name': 'ctest-vn-17794229', 'tenant_id': 'f3fdd84c065e4f2db8fdbaee7a336aca', 'project_id': 'f3fdd84c065e4f2db8fdbaee7a336aca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8eeda6bb-7920-463a-a5b6-7d28d9c7d8d6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45949819', 'ctest-vn-17794229'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45949819', 'ctest-policy-allow-all-62679906']], 'subnet_ipam': [{'subnet_cidr': '129.242.131.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 22:07:17,250 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-30 22:07:17,549 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-30 22:07:17,577 - DEBUG - Requesting: http://10.0.0.131:8082/domain/db9e8859-5248-4656-9cff-a6381aae9e19 2025-10-30 22:07:17,588 - DEBUG - Requesting: http://10.0.0.131:8082/project/f3fdd84c-065e-4f2d-b8fd-baee7a336aca 2025-10-30 22:07:17,661 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/b01e7bf6-e21e-43c0-8fb9-7587705370d6 2025-10-30 22:07:17,672 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/b01e7bf6-e21e-43c0-8fb9-7587705370d6 2025-10-30 22:07:17,682 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/0d181044-7431-469b-aa6e-8a2582491a3a 2025-10-30 22:07:17,688 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/0d181044-7431-469b-aa6e-8a2582491a3a 2025-10-30 22:07:17,694 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/1188a250-41f0-4015-90c1-2ac6a6ae3fa4 2025-10-30 22:07:17,699 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 22:07:17,699 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/b01e7bf6-e21e-43c0-8fb9-7587705370d6 2025-10-30 22:07:17,706 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/0d181044-7431-469b-aa6e-8a2582491a3a 2025-10-30 22:07:17,721 - INFO - Verified VN network id 11 for VN b01e7bf6-e21e-43c0-8fb9-7587705370d6 2025-10-30 22:07:17,721 - INFO - Verifications in API Server for VN ctest-vn-76896419 passed 2025-10-30 22:07:17,721 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/b01e7bf6-e21e-43c0-8fb9-7587705370d6 2025-10-30 22:07:17,730 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/0d181044-7431-469b-aa6e-8a2582491a3a 2025-10-30 22:07:17,735 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/0d181044-7431-469b-aa6e-8a2582491a3a 2025-10-30 22:07:17,742 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/1188a250-41f0-4015-90c1-2ac6a6ae3fa4 2025-10-30 22:07:17,766 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45949819:ctest-vn-76896419', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45949819', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12690717100262441920', 'uuid-lslong': '10356438042680717526'}, 'enable': 'true', 'created': '2025-10-30T22:07:15', 'last-modified': '2025-10-30T22:07:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.913555'} 2025-10-30 22:07:17,771 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 22:07:17,772 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76896419 passed 2025-10-30 22:07:17,772 - DEBUG - ====Verifying policy data for ctest-vn-76896419 in API_Server ====== 2025-10-30 22:07:17,772 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-30 22:07:17,777 - DEBUG - Requesting: http://10.0.0.131:8082/domain/db9e8859-5248-4656-9cff-a6381aae9e19 2025-10-30 22:07:17,787 - DEBUG - Requesting: http://10.0.0.131:8082/project/f3fdd84c-065e-4f2d-b8fd-baee7a336aca 2025-10-30 22:07:17,864 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/b01e7bf6-e21e-43c0-8fb9-7587705370d6 2025-10-30 22:07:17,873 - DEBUG - ==>Verifying data for policy with id: 7e45572b-8ca5-427f-a322-9cf2e96d72cf, fqn: ['default-domain', 'ctest-TestBasicPolicy-45949819', 'ctest-policy-allow-all-62679906'] 2025-10-30 22:07:17,873 - INFO - VN ctest-vn-76896419 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 22:07:17,873 - DEBUG - Verifying the vn in opserver 2025-10-30 22:07:17,873 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45949819:ctest-vn-76896419 virtual network link through opserver 10.0.0.131 2025-10-30 22:07:17,874 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-10-30 22:07:18,165 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-10-30 22:07:18,220 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45949819:ctest-vn-76896419', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45949819:ctest-vn-76896419?flat'} 2025-10-30 22:07:18,220 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45949819:ctest-vn-76896419 is found in opserver 2025-10-30 22:07:18,229 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 22:07:18,233 - DEBUG - VRF ids for VN ctest-vn-76896419: {} 2025-10-30 22:07:18,233 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-30 22:07:18,238 - DEBUG - Requesting: http://10.0.0.131:8082/domain/db9e8859-5248-4656-9cff-a6381aae9e19 2025-10-30 22:07:18,248 - DEBUG - Requesting: http://10.0.0.131:8082/project/f3fdd84c-065e-4f2d-b8fd-baee7a336aca 2025-10-30 22:07:18,329 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/e56c9569-fcaa-44ff-8f22-08ae2706a3aa 2025-10-30 22:07:18,339 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/e56c9569-fcaa-44ff-8f22-08ae2706a3aa 2025-10-30 22:07:18,347 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/eb5a927c-6253-4fab-a46b-b853bb071f2d 2025-10-30 22:07:18,353 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/eb5a927c-6253-4fab-a46b-b853bb071f2d 2025-10-30 22:07:18,359 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/76d5d10b-dc49-4e5f-a21d-e24916517b54 2025-10-30 22:07:18,364 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 22:07:18,365 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/e56c9569-fcaa-44ff-8f22-08ae2706a3aa 2025-10-30 22:07:18,373 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/eb5a927c-6253-4fab-a46b-b853bb071f2d 2025-10-30 22:07:18,387 - INFO - Verified VN network id 12 for VN e56c9569-fcaa-44ff-8f22-08ae2706a3aa 2025-10-30 22:07:18,387 - INFO - Verifications in API Server for VN ctest-vn-17794229 passed 2025-10-30 22:07:18,387 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/e56c9569-fcaa-44ff-8f22-08ae2706a3aa 2025-10-30 22:07:18,395 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/eb5a927c-6253-4fab-a46b-b853bb071f2d 2025-10-30 22:07:18,402 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/eb5a927c-6253-4fab-a46b-b853bb071f2d 2025-10-30 22:07:18,407 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/76d5d10b-dc49-4e5f-a21d-e24916517b54 2025-10-30 22:07:18,417 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45949819:ctest-vn-17794229', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45949819', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16531752614613370111', 'uuid-lslong': '10313815640703935402'}, 'enable': 'true', 'created': '2025-10-30T22:07:16', 'last-modified': '2025-10-30T22:07:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.341233'} 2025-10-30 22:07:18,423 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 22:07:18,423 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17794229 passed 2025-10-30 22:07:18,423 - DEBUG - ====Verifying policy data for ctest-vn-17794229 in API_Server ====== 2025-10-30 22:07:18,423 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-30 22:07:18,428 - DEBUG - Requesting: http://10.0.0.131:8082/domain/db9e8859-5248-4656-9cff-a6381aae9e19 2025-10-30 22:07:18,438 - DEBUG - Requesting: http://10.0.0.131:8082/project/f3fdd84c-065e-4f2d-b8fd-baee7a336aca 2025-10-30 22:07:18,513 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/e56c9569-fcaa-44ff-8f22-08ae2706a3aa 2025-10-30 22:07:18,522 - DEBUG - ==>Verifying data for policy with id: 7e45572b-8ca5-427f-a322-9cf2e96d72cf, fqn: ['default-domain', 'ctest-TestBasicPolicy-45949819', 'ctest-policy-allow-all-62679906'] 2025-10-30 22:07:18,522 - INFO - VN ctest-vn-17794229 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 22:07:18,523 - DEBUG - Verifying the vn in opserver 2025-10-30 22:07:18,523 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45949819:ctest-vn-17794229 virtual network link through opserver 10.0.0.131 2025-10-30 22:07:18,523 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-10-30 22:07:18,532 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45949819:ctest-vn-17794229', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45949819:ctest-vn-17794229?flat'} 2025-10-30 22:07:18,532 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45949819:ctest-vn-17794229 is found in opserver 2025-10-30 22:07:18,542 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 22:07:18,546 - DEBUG - VRF ids for VN ctest-vn-17794229: {} 2025-10-30 22:07:18,605 - DEBUG - Services list from nova: [, , ] 2025-10-30 22:07:19,674 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4558-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4558-1) 2025-10-30 22:07:20,864 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4558-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4558-1) 2025-10-30 22:07:20,864 - INFO - Waiting for VM ctest-TestBasicPolicy-45949819-55081296 to be up.. 2025-10-30 22:07:20,945 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 22:07:26,026 - DEBUG - VM is in ACTIVE state now 2025-10-30 22:07:26,026 - INFO - VM name : ctest-TestBasicPolicy-45949819-55081296 2025-10-30 22:07:26,100 - DEBUG - VM ctest-TestBasicPolicy-45949819-55081296 ID is abcf2b50-82ca-4f5e-b855-a497df7264c1 2025-10-30 22:07:26,122 - DEBUG - VM ctest-TestBasicPolicy-45949819-55081296 launched on Node cn-jenkins-deploy-platform-ansible-os-4558-1 2025-10-30 22:07:26,202 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/abcf2b50-82ca-4f5e-b855-a497df7264c1 2025-10-30 22:07:26,213 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/8c59347f-37f6-4cf1-b5fd-1925d6a7015c 2025-10-30 22:07:29,507 - 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 1031ms') 2025-10-30 22:07:29,507 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45949819-55081296 failed! 2025-10-30 22:07:29,562 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45949819:ctest-vn-76896419 is 161.170.134.65 and allocation pool is NOT set 2025-10-30 22:07:31,623 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.78 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.775/3.712/4.650/0.937 ms') 2025-10-30 22:07:31,623 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45949819-55081296 passed 2025-10-30 22:07:31,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 22:07:31,779 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45949819-55081296, IP 161.170.134.67, Port 22 2025-10-30 22:07:31,959 - DEBUG - VM ctest-TestBasicPolicy-45949819-55081296 is ready for SSH connections 2025-10-30 22:07:31,959 - INFO - Waiting for VM ctest-TestBasicPolicy-45949819-38518267 to be up.. 2025-10-30 22:07:32,043 - DEBUG - VM is in ACTIVE state now 2025-10-30 22:07:32,043 - INFO - VM name : ctest-TestBasicPolicy-45949819-38518267 2025-10-30 22:07:32,123 - DEBUG - VM ctest-TestBasicPolicy-45949819-38518267 ID is f4473bc8-1e16-498d-8720-1afeb319cfc7 2025-10-30 22:07:32,123 - DEBUG - VM ctest-TestBasicPolicy-45949819-38518267 launched on Node cn-jenkins-deploy-platform-ansible-os-4558-1 2025-10-30 22:07:32,207 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/f4473bc8-1e16-498d-8720-1afeb319cfc7 2025-10-30 22:07:32,216 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/c47cb4e5-6022-4362-a810-652da8ee4565 2025-10-30 22:07:33,456 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.975 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.975/2.844/4.713/1.869 ms') 2025-10-30 22:07:33,456 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-45949819-38518267 passed 2025-10-30 22:07:33,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 22:07:33,610 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45949819-38518267, IP 129.242.131.3, Port 22 2025-10-30 22:07:33,777 - DEBUG - VM ctest-TestBasicPolicy-45949819-38518267 is ready for SSH connections 2025-10-30 22:07:33,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 22:07:33,778 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 129.242.131.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-30 22:07:33,778 - DEBUG - ping -s 56 -c 3 -W 1 129.242.131.3 2025-10-30 22:07:37,800 - DEBUG - PING 129.242.131.3 (129.242.131.3): 56 data bytes 64 bytes from 129.242.131.3: seq=0 ttl=63 time=3.672 ms 64 bytes from 129.242.131.3: seq=1 ttl=63 time=1.328 ms 64 bytes from 129.242.131.3: seq=2 ttl=63 time=0.893 ms --- 129.242.131.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.893/1.964/3.672 ms 2025-10-30 22:07:37,800 - INFO - Ping to IP 129.242.131.3 from VM ctest-TestBasicPolicy-45949819-55081296 passed 2025-10-30 22:07:37,982 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7e45572b-8ca5-427f-a322-9cf2e96d72cf", "href": "http://10.0.0.131:8082/network-policy/7e45572b-8ca5-427f-a322-9cf2e96d72cf"}} 2025-10-30 22:07:37,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 22:07:37,982 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 129.242.131.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-30 22:07:37,983 - DEBUG - ping -s 56 -c 3 -W 1 129.242.131.3 2025-10-30 22:07:41,198 - DEBUG - PING 129.242.131.3 (129.242.131.3): 56 data bytes --- 129.242.131.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 22:07:41,198 - WARNING - Ping to IP 129.242.131.3 from VM ctest-TestBasicPolicy-45949819-55081296 failed 2025-10-30 22:07:41,198 - INFO - Deleting VM ctest-TestBasicPolicy-45949819-38518267 2025-10-30 22:07:41,259 - INFO - Deleting VM ctest-TestBasicPolicy-45949819-55081296 2025-10-30 22:07:41,641 - INFO - Deleted policy ctest-policy-allow-all-62679906 2025-10-30 22:07:41,641 - INFO - Deleting VN ctest-vn-17794229 2025-10-30 22:07:41,674 - DEBUG - VN e56c9569-fcaa-44ff-8f22-08ae2706a3aa still in use: Unable to complete operation on network e56c9569-fcaa-44ff-8f22-08ae2706a3aa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ef834f85-11f8-4875-b131-8a66e10017ab'] 2025-10-30 22:07:41,674 - WARNING - Deleting VN ctest-vn-17794229 failed..Will retry 2025-10-30 22:07:43,793 - DEBUG - Response for deleting network () 2025-10-30 22:07:43,793 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/eb5a927c-6253-4fab-a46b-b853bb071f2d 2025-10-30 22:07:43,801 - DEBUG - Response Code: 404 2025-10-30 22:07:43,802 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-30 22:07:43,808 - DEBUG - Requesting: http://10.0.0.131:8082/domain/db9e8859-5248-4656-9cff-a6381aae9e19 2025-10-30 22:07:43,861 - DEBUG - Requesting: http://10.0.0.131:8082/project/f3fdd84c-065e-4f2d-b8fd-baee7a336aca 2025-10-30 22:07:43,930 - INFO - Validated that VN ctest-vn-17794229 is not found in API Server 2025-10-30 22:07:43,940 - DEBUG - VN ctest-vn-17794229 is not present in Agent 10.0.0.131 2025-10-30 22:07:43,941 - INFO - Validated that VN ctest-vn-17794229 is not in any agent 2025-10-30 22:07:43,954 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17794229 info 2025-10-30 22:07:43,954 - INFO - Deleting VN ctest-vn-76896419 2025-10-30 22:07:44,064 - DEBUG - Response for deleting network () 2025-10-30 22:07:44,064 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/0d181044-7431-469b-aa6e-8a2582491a3a 2025-10-30 22:07:44,073 - DEBUG - Response Code: 404 2025-10-30 22:07:44,073 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-30 22:07:44,079 - DEBUG - Requesting: http://10.0.0.131:8082/domain/db9e8859-5248-4656-9cff-a6381aae9e19 2025-10-30 22:07:44,131 - DEBUG - Requesting: http://10.0.0.131:8082/project/f3fdd84c-065e-4f2d-b8fd-baee7a336aca 2025-10-30 22:07:44,210 - INFO - Validated that VN ctest-vn-76896419 is not found in API Server 2025-10-30 22:07:44,219 - DEBUG - VN ctest-vn-76896419 is not present in Agent 10.0.0.131 2025-10-30 22:07:44,220 - INFO - Validated that VN ctest-vn-76896419 is not in any agent 2025-10-30 22:07:44,239 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76896419 info 2025-10-30 22:07:44,493 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 22:07:44,493 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-10-30 22:07:44,493 - INFO - -------------------------------------------------------------------------------- 2025-10-30 22:07:45,175 - INFO - Deleted project: ctest-TestBasicPolicy-45949819, ID : f3fdd84c-065e-4f2d-b8fd-baee7a336aca