2025-10-27 20:57:26,565 - INFO - Domain Default found not creating 2025-10-27 20:57:26,713 - INFO - Project ctest-TestBasicPolicy-83650171 not found, creating it 2025-10-27 20:57:27,171 - INFO - Created Project:ctest-TestBasicPolicy-83650171, ID : 8e5403f8-54e6-4299-bbb7-1b27e024de8c 2025-10-27 20:57:28,738 - INFO - ================================================================================ 2025-10-27 20:57:28,738 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-27 20:57:28,738 - 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-27 20:57:28,996 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-10-27 20:57:28,996 - INFO - Initial checks done. Running the testcase now 2025-10-27 20:57:28,996 - INFO - 2025-10-27 20:57:29,607 - DEBUG - Response for create_network : {'network': {'id': 'eb70e703-4968-42df-9340-34afbbcb3138', 'name': 'ctest-vn-87483370', 'tenant_id': '8e5403f854e64299bbb71b27e024de8c', 'project_id': '8e5403f854e64299bbb71b27e024de8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83650171', 'ctest-vn-87483370'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 20:57:29,765 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d4cee75-5bc1-40e1-ab92-89530c6649b5', 'name': '', 'tenant_id': '8e5403f854e64299bbb71b27e024de8c', 'network_id': 'eb70e703-4968-42df-9340-34afbbcb3138', 'ip_version': 4, 'cidr': '128.212.19.0/26', 'allocation_pools': [{'start': '128.212.19.2', 'end': '128.212.19.62'}], 'gateway_ip': '128.212.19.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.212.19.2', 'tags': [], 'project_id': '8e5403f854e64299bbb71b27e024de8c'}} 2025-10-27 20:57:29,783 - INFO - Created VN ctest-vn-87483370 2025-10-27 20:57:29,836 - DEBUG - VN ctest-vn-87483370 UUID is eb70e703-4968-42df-9340-34afbbcb3138 2025-10-27 20:57:30,132 - DEBUG - Response for create_network : {'network': {'id': '3440f324-95d2-4b64-8c8a-8dad4081b9a0', 'name': 'ctest-vn-59093163', 'tenant_id': '8e5403f854e64299bbb71b27e024de8c', 'project_id': '8e5403f854e64299bbb71b27e024de8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83650171', 'ctest-vn-59093163'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 20:57:30,347 - DEBUG - Response for create_subnet : {'subnet': {'id': 'acad67a4-6b7d-4063-a0ea-9acc8995c764', 'name': '', 'tenant_id': '8e5403f854e64299bbb71b27e024de8c', 'network_id': '3440f324-95d2-4b64-8c8a-8dad4081b9a0', 'ip_version': 4, 'cidr': '221.178.99.192/26', 'allocation_pools': [{'start': '221.178.99.194', 'end': '221.178.99.254'}], 'gateway_ip': '221.178.99.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.178.99.194', 'tags': [], 'project_id': '8e5403f854e64299bbb71b27e024de8c'}} 2025-10-27 20:57:30,365 - INFO - Created VN ctest-vn-59093163 2025-10-27 20:57:30,420 - DEBUG - VN ctest-vn-59093163 UUID is 3440f324-95d2-4b64-8c8a-8dad4081b9a0 2025-10-27 20:57:30,572 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-83650171:ctest-vn-87483370, 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-83650171:ctest-vn-59093163, 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-27 20:57:30,866 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eb70e703-4968-42df-9340-34afbbcb3138', 'name': 'ctest-vn-87483370', 'tenant_id': '8e5403f854e64299bbb71b27e024de8c', 'project_id': '8e5403f854e64299bbb71b27e024de8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5d4cee75-5bc1-40e1-ab92-89530c6649b5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83650171', 'ctest-vn-87483370'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83650171', 'ctest-policy-allow-all-44461729']], 'subnet_ipam': [{'subnet_cidr': '128.212.19.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 20:57:31,094 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3440f324-95d2-4b64-8c8a-8dad4081b9a0', 'name': 'ctest-vn-59093163', 'tenant_id': '8e5403f854e64299bbb71b27e024de8c', 'project_id': '8e5403f854e64299bbb71b27e024de8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['acad67a4-6b7d-4063-a0ea-9acc8995c764'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83650171', 'ctest-vn-59093163'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83650171', 'ctest-policy-allow-all-44461729']], 'subnet_ipam': [{'subnet_cidr': '221.178.99.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 20:57:31,240 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 20:57:31,581 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 20:57:31,609 - DEBUG - Requesting: http://10.0.0.242:8082/domain/8e06770b-6f40-410a-9492-db45fd454d4c 2025-10-27 20:57:31,621 - DEBUG - Requesting: http://10.0.0.242:8082/project/8e5403f8-54e6-4299-bbb7-1b27e024de8c 2025-10-27 20:57:31,695 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/eb70e703-4968-42df-9340-34afbbcb3138 2025-10-27 20:57:31,705 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/eb70e703-4968-42df-9340-34afbbcb3138 2025-10-27 20:57:31,715 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b21fcdba-c95b-467e-809a-aa1a04ee399a 2025-10-27 20:57:31,722 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b21fcdba-c95b-467e-809a-aa1a04ee399a 2025-10-27 20:57:31,729 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/5c832f8b-0cf7-4f8b-a064-0d9fdbcf9af7 2025-10-27 20:57:31,735 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 20:57:31,735 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/eb70e703-4968-42df-9340-34afbbcb3138 2025-10-27 20:57:31,743 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b21fcdba-c95b-467e-809a-aa1a04ee399a 2025-10-27 20:57:31,758 - INFO - Verified VN network id 11 for VN eb70e703-4968-42df-9340-34afbbcb3138 2025-10-27 20:57:31,758 - INFO - Verifications in API Server for VN ctest-vn-87483370 passed 2025-10-27 20:57:31,758 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/eb70e703-4968-42df-9340-34afbbcb3138 2025-10-27 20:57:31,770 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b21fcdba-c95b-467e-809a-aa1a04ee399a 2025-10-27 20:57:31,777 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b21fcdba-c95b-467e-809a-aa1a04ee399a 2025-10-27 20:57:31,784 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/5c832f8b-0cf7-4f8b-a064-0d9fdbcf9af7 2025-10-27 20:57:31,797 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83650171:ctest-vn-87483370', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83650171', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16965313797607146207', 'uuid-lslong': '10610538651459465528'}, 'enable': 'true', 'created': '2025-10-27T20:57:29', 'last-modified': '2025-10-27T20:57:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.948256'} 2025-10-27 20:57:31,805 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 20:57:31,805 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87483370 passed 2025-10-27 20:57:31,805 - DEBUG - ====Verifying policy data for ctest-vn-87483370 in API_Server ====== 2025-10-27 20:57:31,806 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 20:57:31,811 - DEBUG - Requesting: http://10.0.0.242:8082/domain/8e06770b-6f40-410a-9492-db45fd454d4c 2025-10-27 20:57:31,823 - DEBUG - Requesting: http://10.0.0.242:8082/project/8e5403f8-54e6-4299-bbb7-1b27e024de8c 2025-10-27 20:57:31,893 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/eb70e703-4968-42df-9340-34afbbcb3138 2025-10-27 20:57:31,901 - DEBUG - ==>Verifying data for policy with id: 96e04f6d-3ae1-44bd-9928-0ef021aafb6a, fqn: ['default-domain', 'ctest-TestBasicPolicy-83650171', 'ctest-policy-allow-all-44461729'] 2025-10-27 20:57:31,901 - INFO - VN ctest-vn-87483370 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 20:57:31,901 - DEBUG - Verifying the vn in opserver 2025-10-27 20:57:31,901 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83650171:ctest-vn-87483370 virtual network link through opserver 10.0.0.242 2025-10-27 20:57:31,901 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-27 20:57:32,233 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-27 20:57:32,286 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83650171:ctest-vn-87483370', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83650171:ctest-vn-87483370?flat'} 2025-10-27 20:57:32,286 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83650171:ctest-vn-87483370 is found in opserver 2025-10-27 20:57:32,294 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 20:57:32,298 - DEBUG - VRF ids for VN ctest-vn-87483370: {} 2025-10-27 20:57:32,298 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 20:57:32,303 - DEBUG - Requesting: http://10.0.0.242:8082/domain/8e06770b-6f40-410a-9492-db45fd454d4c 2025-10-27 20:57:32,313 - DEBUG - Requesting: http://10.0.0.242:8082/project/8e5403f8-54e6-4299-bbb7-1b27e024de8c 2025-10-27 20:57:32,380 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3440f324-95d2-4b64-8c8a-8dad4081b9a0 2025-10-27 20:57:32,390 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3440f324-95d2-4b64-8c8a-8dad4081b9a0 2025-10-27 20:57:32,398 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/51549dab-d578-41a2-9478-7bcc3094cd57 2025-10-27 20:57:32,405 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/51549dab-d578-41a2-9478-7bcc3094cd57 2025-10-27 20:57:32,411 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/353c4991-2dfa-4b2c-b81c-ee5207d9a4b4 2025-10-27 20:57:32,417 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 20:57:32,417 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3440f324-95d2-4b64-8c8a-8dad4081b9a0 2025-10-27 20:57:32,425 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/51549dab-d578-41a2-9478-7bcc3094cd57 2025-10-27 20:57:32,436 - INFO - Verified VN network id 12 for VN 3440f324-95d2-4b64-8c8a-8dad4081b9a0 2025-10-27 20:57:32,436 - INFO - Verifications in API Server for VN ctest-vn-59093163 passed 2025-10-27 20:57:32,436 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3440f324-95d2-4b64-8c8a-8dad4081b9a0 2025-10-27 20:57:32,444 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/51549dab-d578-41a2-9478-7bcc3094cd57 2025-10-27 20:57:32,450 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/51549dab-d578-41a2-9478-7bcc3094cd57 2025-10-27 20:57:32,456 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/353c4991-2dfa-4b2c-b81c-ee5207d9a4b4 2025-10-27 20:57:32,467 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83650171:ctest-vn-59093163', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83650171', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3765276626939693924', 'uuid-lslong': '10127062487347083680'}, 'enable': 'true', 'created': '2025-10-27T20:57:30', 'last-modified': '2025-10-27T20:57:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.396147'} 2025-10-27 20:57:32,474 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 20:57:32,474 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59093163 passed 2025-10-27 20:57:32,474 - DEBUG - ====Verifying policy data for ctest-vn-59093163 in API_Server ====== 2025-10-27 20:57:32,474 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 20:57:32,479 - DEBUG - Requesting: http://10.0.0.242:8082/domain/8e06770b-6f40-410a-9492-db45fd454d4c 2025-10-27 20:57:32,488 - DEBUG - Requesting: http://10.0.0.242:8082/project/8e5403f8-54e6-4299-bbb7-1b27e024de8c 2025-10-27 20:57:32,557 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3440f324-95d2-4b64-8c8a-8dad4081b9a0 2025-10-27 20:57:32,566 - DEBUG - ==>Verifying data for policy with id: 96e04f6d-3ae1-44bd-9928-0ef021aafb6a, fqn: ['default-domain', 'ctest-TestBasicPolicy-83650171', 'ctest-policy-allow-all-44461729'] 2025-10-27 20:57:32,566 - INFO - VN ctest-vn-59093163 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 20:57:32,566 - DEBUG - Verifying the vn in opserver 2025-10-27 20:57:32,566 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83650171:ctest-vn-59093163 virtual network link through opserver 10.0.0.242 2025-10-27 20:57:32,566 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-27 20:57:32,576 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83650171:ctest-vn-59093163', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83650171:ctest-vn-59093163?flat'} 2025-10-27 20:57:32,576 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83650171:ctest-vn-59093163 is found in opserver 2025-10-27 20:57:32,585 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 20:57:32,590 - DEBUG - VRF ids for VN ctest-vn-59093163: {} 2025-10-27 20:57:32,648 - DEBUG - Services list from nova: [, , ] 2025-10-27 20:57:33,779 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4512-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4512-1) 2025-10-27 20:57:34,964 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4512-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4512-1) 2025-10-27 20:57:34,965 - INFO - Waiting for VM ctest-TestBasicPolicy-83650171-32913633 to be up.. 2025-10-27 20:57:35,037 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 20:57:40,113 - DEBUG - VM is in ACTIVE state now 2025-10-27 20:57:40,113 - INFO - VM name : ctest-TestBasicPolicy-83650171-32913633 2025-10-27 20:57:40,189 - DEBUG - VM ctest-TestBasicPolicy-83650171-32913633 ID is 7aee8983-7489-430a-b1ca-8254b92d48ab 2025-10-27 20:57:40,209 - DEBUG - VM ctest-TestBasicPolicy-83650171-32913633 launched on Node cn-jenkins-deploy-platform-ansible-os-4512-1 2025-10-27 20:57:40,283 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/7aee8983-7489-430a-b1ca-8254b92d48ab 2025-10-27 20:57:40,292 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/83c627e0-f303-4986-ab54-fb510ee3cf81 2025-10-27 20:57:43,554 - 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 1022ms') 2025-10-27 20:57:43,555 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83650171-32913633 failed! 2025-10-27 20:57:43,608 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-83650171:ctest-vn-87483370 is 128.212.19.1 and allocation pool is NOT set 2025-10-27 20:57:45,669 - 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=8.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.423 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.423/4.220/8.018/3.797 ms') 2025-10-27 20:57:45,669 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83650171-32913633 passed 2025-10-27 20:57:45,816 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:57:45,816 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83650171-32913633, IP 128.212.19.3, Port 22 2025-10-27 20:57:45,971 - DEBUG - VM ctest-TestBasicPolicy-83650171-32913633 is ready for SSH connections 2025-10-27 20:57:45,972 - INFO - Waiting for VM ctest-TestBasicPolicy-83650171-41227604 to be up.. 2025-10-27 20:57:46,042 - DEBUG - VM is in ACTIVE state now 2025-10-27 20:57:46,042 - INFO - VM name : ctest-TestBasicPolicy-83650171-41227604 2025-10-27 20:57:46,109 - DEBUG - VM ctest-TestBasicPolicy-83650171-41227604 ID is 572f2f99-e298-442d-80cb-dfe79c9043bc 2025-10-27 20:57:46,109 - DEBUG - VM ctest-TestBasicPolicy-83650171-41227604 launched on Node cn-jenkins-deploy-platform-ansible-os-4512-1 2025-10-27 20:57:46,178 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/572f2f99-e298-442d-80cb-dfe79c9043bc 2025-10-27 20:57:46,186 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/e893a493-f1c0-4489-936d-18c23dc44c46 2025-10-27 20:57:47,421 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.406 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.406/2.108/3.811/1.702 ms') 2025-10-27 20:57:47,421 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-83650171-41227604 passed 2025-10-27 20:57:47,568 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:57:47,568 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83650171-41227604, IP 221.178.99.195, Port 22 2025-10-27 20:57:47,724 - DEBUG - VM ctest-TestBasicPolicy-83650171-41227604 is ready for SSH connections 2025-10-27 20:57:47,724 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:57:47,724 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.178.99.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 20:57:47,724 - DEBUG - ping -s 56 -c 3 -W 1 221.178.99.195 2025-10-27 20:57:51,780 - DEBUG - PING 221.178.99.195 (221.178.99.195): 56 data bytes 64 bytes from 221.178.99.195: seq=0 ttl=63 time=3.654 ms 64 bytes from 221.178.99.195: seq=1 ttl=63 time=0.916 ms 64 bytes from 221.178.99.195: seq=2 ttl=63 time=0.890 ms --- 221.178.99.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.890/1.820/3.654 ms 2025-10-27 20:57:51,780 - INFO - Ping to IP 221.178.99.195 from VM ctest-TestBasicPolicy-83650171-32913633 passed 2025-10-27 20:57:51,952 - DEBUG - Policy Update Response {"network-policy": {"uuid": "96e04f6d-3ae1-44bd-9928-0ef021aafb6a", "href": "http://10.0.0.242:8082/network-policy/96e04f6d-3ae1-44bd-9928-0ef021aafb6a"}} 2025-10-27 20:57:51,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:57:51,952 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.178.99.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 20:57:51,952 - DEBUG - ping -s 56 -c 3 -W 1 221.178.99.195 2025-10-27 20:57:55,172 - DEBUG - PING 221.178.99.195 (221.178.99.195): 56 data bytes --- 221.178.99.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 20:57:55,172 - WARNING - Ping to IP 221.178.99.195 from VM ctest-TestBasicPolicy-83650171-32913633 failed 2025-10-27 20:57:55,172 - INFO - Deleting VM ctest-TestBasicPolicy-83650171-41227604 2025-10-27 20:57:55,338 - INFO - Deleting VM ctest-TestBasicPolicy-83650171-32913633 2025-10-27 20:57:55,691 - INFO - Deleted policy ctest-policy-allow-all-44461729 2025-10-27 20:57:55,691 - INFO - Deleting VN ctest-vn-59093163 2025-10-27 20:57:55,725 - DEBUG - VN 3440f324-95d2-4b64-8c8a-8dad4081b9a0 still in use: Unable to complete operation on network 3440f324-95d2-4b64-8c8a-8dad4081b9a0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-761b2e1a-d614-471d-a2be-0eac41957061'] 2025-10-27 20:57:55,725 - WARNING - Deleting VN ctest-vn-59093163 failed..Will retry 2025-10-27 20:57:57,818 - DEBUG - Response for deleting network () 2025-10-27 20:57:57,818 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/51549dab-d578-41a2-9478-7bcc3094cd57 2025-10-27 20:57:57,823 - DEBUG - Response Code: 404 2025-10-27 20:57:57,823 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 20:57:57,827 - DEBUG - Requesting: http://10.0.0.242:8082/domain/8e06770b-6f40-410a-9492-db45fd454d4c 2025-10-27 20:57:57,881 - DEBUG - Requesting: http://10.0.0.242:8082/project/8e5403f8-54e6-4299-bbb7-1b27e024de8c 2025-10-27 20:57:57,955 - INFO - Validated that VN ctest-vn-59093163 is not found in API Server 2025-10-27 20:57:57,966 - DEBUG - VN ctest-vn-59093163 is not present in Agent 10.0.0.242 2025-10-27 20:57:57,966 - INFO - Validated that VN ctest-vn-59093163 is not in any agent 2025-10-27 20:57:57,979 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59093163 info 2025-10-27 20:57:57,979 - INFO - Deleting VN ctest-vn-87483370 2025-10-27 20:57:58,080 - DEBUG - Response for deleting network () 2025-10-27 20:57:58,080 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b21fcdba-c95b-467e-809a-aa1a04ee399a 2025-10-27 20:57:58,089 - DEBUG - Response Code: 404 2025-10-27 20:57:58,089 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 20:57:58,094 - DEBUG - Requesting: http://10.0.0.242:8082/domain/8e06770b-6f40-410a-9492-db45fd454d4c 2025-10-27 20:57:58,150 - DEBUG - Requesting: http://10.0.0.242:8082/project/8e5403f8-54e6-4299-bbb7-1b27e024de8c 2025-10-27 20:57:58,224 - INFO - Validated that VN ctest-vn-87483370 is not found in API Server 2025-10-27 20:57:58,234 - DEBUG - VN ctest-vn-87483370 is not present in Agent 10.0.0.242 2025-10-27 20:57:58,234 - INFO - Validated that VN ctest-vn-87483370 is not in any agent 2025-10-27 20:57:58,252 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87483370 info 2025-10-27 20:57:58,508 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 20:57:58,509 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-27 20:57:58,509 - INFO - -------------------------------------------------------------------------------- 2025-10-27 20:57:59,230 - INFO - Deleted project: ctest-TestBasicPolicy-83650171, ID : 8e5403f8-54e6-4299-bbb7-1b27e024de8c