2025-07-17 11:14:09,964 - INFO - Domain Default found not creating 2025-07-17 11:14:10,098 - INFO - Project ctest-TestBasicPolicy-93271262 not found, creating it 2025-07-17 11:14:10,556 - INFO - Created Project:ctest-TestBasicPolicy-93271262, ID : 175bb728-bb99-4c42-8ae4-d4f25f8212ac 2025-07-17 11:14:12,019 - INFO - ================================================================================ 2025-07-17 11:14:12,019 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-17 11:14:12,019 - 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-07-17 11:14:12,274 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-07-17 11:14:12,274 - INFO - Initial checks done. Running the testcase now 2025-07-17 11:14:12,274 - INFO - 2025-07-17 11:14:12,804 - DEBUG - Response for create_network : {'network': {'id': 'a19e7043-3b10-491d-be25-48699380435f', 'name': 'ctest-vn-54937573', 'tenant_id': '175bb728bb994c428ae4d4f25f8212ac', 'project_id': '175bb728bb994c428ae4d4f25f8212ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93271262', 'ctest-vn-54937573'], 'port_security_enabled': True, 'description': ''}} 2025-07-17 11:14:12,953 - DEBUG - Response for create_subnet : {'subnet': {'id': '7f94528a-a93b-4ef8-a494-d163ab2b16d8', 'name': '', 'tenant_id': '175bb728bb994c428ae4d4f25f8212ac', 'network_id': 'a19e7043-3b10-491d-be25-48699380435f', 'ip_version': 4, 'cidr': '208.131.204.192/26', 'allocation_pools': [{'start': '208.131.204.194', 'end': '208.131.204.254'}], 'gateway_ip': '208.131.204.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.131.204.194', 'tags': [], 'project_id': '175bb728bb994c428ae4d4f25f8212ac'}} 2025-07-17 11:14:12,971 - INFO - Created VN ctest-vn-54937573 2025-07-17 11:14:13,024 - DEBUG - VN ctest-vn-54937573 UUID is a19e7043-3b10-491d-be25-48699380435f 2025-07-17 11:14:13,320 - DEBUG - Response for create_network : {'network': {'id': 'ba763dc3-3949-4e77-a850-e7aee6ceed5f', 'name': 'ctest-vn-95308551', 'tenant_id': '175bb728bb994c428ae4d4f25f8212ac', 'project_id': '175bb728bb994c428ae4d4f25f8212ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93271262', 'ctest-vn-95308551'], 'port_security_enabled': True, 'description': ''}} 2025-07-17 11:14:13,515 - DEBUG - Response for create_subnet : {'subnet': {'id': '48151d67-2b39-4fa8-bfa0-9c29d5f697c0', 'name': '', 'tenant_id': '175bb728bb994c428ae4d4f25f8212ac', 'network_id': 'ba763dc3-3949-4e77-a850-e7aee6ceed5f', 'ip_version': 4, 'cidr': '96.50.140.192/26', 'allocation_pools': [{'start': '96.50.140.194', 'end': '96.50.140.254'}], 'gateway_ip': '96.50.140.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.50.140.194', 'tags': [], 'project_id': '175bb728bb994c428ae4d4f25f8212ac'}} 2025-07-17 11:14:13,534 - INFO - Created VN ctest-vn-95308551 2025-07-17 11:14:13,588 - DEBUG - VN ctest-vn-95308551 UUID is ba763dc3-3949-4e77-a850-e7aee6ceed5f 2025-07-17 11:14:13,744 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-93271262:ctest-vn-54937573, 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-93271262:ctest-vn-95308551, 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-07-17 11:14:14,045 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a19e7043-3b10-491d-be25-48699380435f', 'name': 'ctest-vn-54937573', 'tenant_id': '175bb728bb994c428ae4d4f25f8212ac', 'project_id': '175bb728bb994c428ae4d4f25f8212ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7f94528a-a93b-4ef8-a494-d163ab2b16d8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93271262', 'ctest-vn-54937573'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93271262', 'ctest-policy-allow-all-03110979']], 'subnet_ipam': [{'subnet_cidr': '208.131.204.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-17 11:14:14,330 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ba763dc3-3949-4e77-a850-e7aee6ceed5f', 'name': 'ctest-vn-95308551', 'tenant_id': '175bb728bb994c428ae4d4f25f8212ac', 'project_id': '175bb728bb994c428ae4d4f25f8212ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['48151d67-2b39-4fa8-bfa0-9c29d5f697c0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93271262', 'ctest-vn-95308551'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93271262', 'ctest-policy-allow-all-03110979']], 'subnet_ipam': [{'subnet_cidr': '96.50.140.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-17 11:14:14,476 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-17 11:14:14,786 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-17 11:14:14,823 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e3da70a3-5992-40c9-95d1-59a2fc60e754 2025-07-17 11:14:14,841 - DEBUG - Requesting: http://10.0.0.33:8082/project/175bb728-bb99-4c42-8ae4-d4f25f8212ac 2025-07-17 11:14:14,923 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a19e7043-3b10-491d-be25-48699380435f 2025-07-17 11:14:14,938 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a19e7043-3b10-491d-be25-48699380435f 2025-07-17 11:14:14,948 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c4b57e63-0d97-4955-8cf2-5d431b521ee6 2025-07-17 11:14:14,956 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c4b57e63-0d97-4955-8cf2-5d431b521ee6 2025-07-17 11:14:14,963 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/8a328a11-11e9-407b-86e9-8627d650b000 2025-07-17 11:14:14,970 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-17 11:14:14,970 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a19e7043-3b10-491d-be25-48699380435f 2025-07-17 11:14:14,980 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c4b57e63-0d97-4955-8cf2-5d431b521ee6 2025-07-17 11:14:14,995 - INFO - Verified VN network id 8 for VN a19e7043-3b10-491d-be25-48699380435f 2025-07-17 11:14:14,995 - INFO - Verifications in API Server for VN ctest-vn-54937573 passed 2025-07-17 11:14:14,995 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a19e7043-3b10-491d-be25-48699380435f 2025-07-17 11:14:15,007 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c4b57e63-0d97-4955-8cf2-5d431b521ee6 2025-07-17 11:14:15,016 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c4b57e63-0d97-4955-8cf2-5d431b521ee6 2025-07-17 11:14:15,025 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/8a328a11-11e9-407b-86e9-8627d650b000 2025-07-17 11:14:15,043 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93271262:ctest-vn-54937573', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93271262', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11645869120482724125', 'uuid-lslong': '13701437059628024671'}, 'enable': 'true', 'created': '2025-07-17T11:14:12', 'last-modified': '2025-07-17T11:14:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.018267'} 2025-07-17 11:14:15,051 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-17 11:14:15,051 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54937573 passed 2025-07-17 11:14:15,051 - DEBUG - ====Verifying policy data for ctest-vn-54937573 in API_Server ====== 2025-07-17 11:14:15,051 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-17 11:14:15,058 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e3da70a3-5992-40c9-95d1-59a2fc60e754 2025-07-17 11:14:15,073 - DEBUG - Requesting: http://10.0.0.33:8082/project/175bb728-bb99-4c42-8ae4-d4f25f8212ac 2025-07-17 11:14:15,161 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a19e7043-3b10-491d-be25-48699380435f 2025-07-17 11:14:15,174 - DEBUG - ==>Verifying data for policy with id: 732fcc4e-927c-438b-894f-14c15baf1302, fqn: ['default-domain', 'ctest-TestBasicPolicy-93271262', 'ctest-policy-allow-all-03110979'] 2025-07-17 11:14:15,174 - INFO - VN ctest-vn-54937573 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-17 11:14:15,174 - DEBUG - Verifying the vn in opserver 2025-07-17 11:14:15,174 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93271262:ctest-vn-54937573 virtual network link through opserver 10.0.0.33 2025-07-17 11:14:15,174 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-07-17 11:14:15,466 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-07-17 11:14:15,524 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93271262:ctest-vn-54937573', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93271262:ctest-vn-54937573?flat'} 2025-07-17 11:14:15,524 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93271262:ctest-vn-54937573 is found in opserver 2025-07-17 11:14:15,536 - DEBUG - Do not have enough data to verify VN in agent 2025-07-17 11:14:15,541 - DEBUG - VRF ids for VN ctest-vn-54937573: {} 2025-07-17 11:14:15,541 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-17 11:14:15,547 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e3da70a3-5992-40c9-95d1-59a2fc60e754 2025-07-17 11:14:15,559 - DEBUG - Requesting: http://10.0.0.33:8082/project/175bb728-bb99-4c42-8ae4-d4f25f8212ac 2025-07-17 11:14:15,643 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ba763dc3-3949-4e77-a850-e7aee6ceed5f 2025-07-17 11:14:15,657 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ba763dc3-3949-4e77-a850-e7aee6ceed5f 2025-07-17 11:14:15,668 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8c4293c3-9566-4c47-9434-39a13b468004 2025-07-17 11:14:15,675 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8c4293c3-9566-4c47-9434-39a13b468004 2025-07-17 11:14:15,682 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/13d99f03-578d-44e9-850f-35dadec3b642 2025-07-17 11:14:15,689 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-17 11:14:15,689 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ba763dc3-3949-4e77-a850-e7aee6ceed5f 2025-07-17 11:14:15,699 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8c4293c3-9566-4c47-9434-39a13b468004 2025-07-17 11:14:15,714 - INFO - Verified VN network id 9 for VN ba763dc3-3949-4e77-a850-e7aee6ceed5f 2025-07-17 11:14:15,714 - INFO - Verifications in API Server for VN ctest-vn-95308551 passed 2025-07-17 11:14:15,714 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ba763dc3-3949-4e77-a850-e7aee6ceed5f 2025-07-17 11:14:15,723 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8c4293c3-9566-4c47-9434-39a13b468004 2025-07-17 11:14:15,731 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8c4293c3-9566-4c47-9434-39a13b468004 2025-07-17 11:14:15,739 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/13d99f03-578d-44e9-850f-35dadec3b642 2025-07-17 11:14:15,751 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93271262:ctest-vn-95308551', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93271262', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13435994446995476087', 'uuid-lslong': '12128448534891392351'}, 'enable': 'true', 'created': '2025-07-17T11:14:13', 'last-modified': '2025-07-17T11:14:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.493398'} 2025-07-17 11:14:15,759 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-17 11:14:15,759 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95308551 passed 2025-07-17 11:14:15,759 - DEBUG - ====Verifying policy data for ctest-vn-95308551 in API_Server ====== 2025-07-17 11:14:15,759 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-17 11:14:15,764 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e3da70a3-5992-40c9-95d1-59a2fc60e754 2025-07-17 11:14:15,776 - DEBUG - Requesting: http://10.0.0.33:8082/project/175bb728-bb99-4c42-8ae4-d4f25f8212ac 2025-07-17 11:14:15,849 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ba763dc3-3949-4e77-a850-e7aee6ceed5f 2025-07-17 11:14:15,859 - DEBUG - ==>Verifying data for policy with id: 732fcc4e-927c-438b-894f-14c15baf1302, fqn: ['default-domain', 'ctest-TestBasicPolicy-93271262', 'ctest-policy-allow-all-03110979'] 2025-07-17 11:14:15,859 - INFO - VN ctest-vn-95308551 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-17 11:14:15,859 - DEBUG - Verifying the vn in opserver 2025-07-17 11:14:15,859 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93271262:ctest-vn-95308551 virtual network link through opserver 10.0.0.33 2025-07-17 11:14:15,859 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-07-17 11:14:15,872 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93271262:ctest-vn-95308551', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93271262:ctest-vn-95308551?flat'} 2025-07-17 11:14:15,872 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93271262:ctest-vn-95308551 is found in opserver 2025-07-17 11:14:15,883 - DEBUG - Do not have enough data to verify VN in agent 2025-07-17 11:14:15,888 - DEBUG - VRF ids for VN ctest-vn-95308551: {} 2025-07-17 11:14:15,946 - DEBUG - Services list from nova: [, , ] 2025-07-17 11:14:17,070 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3653-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3653-1) 2025-07-17 11:14:18,210 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3653-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3653-1) 2025-07-17 11:14:18,211 - INFO - Waiting for VM ctest-TestBasicPolicy-93271262-04010595 to be up.. 2025-07-17 11:14:18,298 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-17 11:14:23,373 - DEBUG - VM is in ACTIVE state now 2025-07-17 11:14:23,373 - INFO - VM name : ctest-TestBasicPolicy-93271262-04010595 2025-07-17 11:14:23,448 - DEBUG - VM ctest-TestBasicPolicy-93271262-04010595 ID is deb789c4-03bb-4d42-989a-a5fa92997a18 2025-07-17 11:14:23,470 - DEBUG - VM ctest-TestBasicPolicy-93271262-04010595 launched on Node cn-jenkins-deploy-platform-ansible-os-3653-1 2025-07-17 11:14:23,549 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/deb789c4-03bb-4d42-989a-a5fa92997a18 2025-07-17 11:14:23,559 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/81cc40c9-fcba-4e03-8b88-77ca1fd7ec0d 2025-07-17 11:14:26,763 - 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 1011ms') 2025-07-17 11:14:26,764 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93271262-04010595 failed! 2025-07-17 11:14:26,824 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-93271262:ctest-vn-54937573 is 208.131.204.193 and allocation pool is NOT set 2025-07-17 11:14:28,880 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.425 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.425/1.606/2.788/1.181 ms') 2025-07-17 11:14:28,881 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93271262-04010595 passed 2025-07-17 11:14:29,032 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 11:14:29,032 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93271262-04010595, IP 208.131.204.195, Port 22 2025-07-17 11:14:29,211 - DEBUG - VM ctest-TestBasicPolicy-93271262-04010595 is ready for SSH connections 2025-07-17 11:14:29,211 - INFO - Waiting for VM ctest-TestBasicPolicy-93271262-89203183 to be up.. 2025-07-17 11:14:29,285 - DEBUG - VM is in ACTIVE state now 2025-07-17 11:14:29,286 - INFO - VM name : ctest-TestBasicPolicy-93271262-89203183 2025-07-17 11:14:29,355 - DEBUG - VM ctest-TestBasicPolicy-93271262-89203183 ID is 963ad63a-0ccf-45c5-9ce7-8d66dbca1887 2025-07-17 11:14:29,355 - DEBUG - VM ctest-TestBasicPolicy-93271262-89203183 launched on Node cn-jenkins-deploy-platform-ansible-os-3653-1 2025-07-17 11:14:29,431 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/963ad63a-0ccf-45c5-9ce7-8d66dbca1887 2025-07-17 11:14:29,440 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/50a15864-e715-4c31-b2a2-fad89b54faee 2025-07-17 11:14:30,690 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.396 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.396/1.918/3.441/1.522 ms') 2025-07-17 11:14:30,690 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-93271262-89203183 passed 2025-07-17 11:14:30,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 11:14:30,845 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93271262-89203183, IP 96.50.140.195, Port 22 2025-07-17 11:14:31,015 - DEBUG - VM ctest-TestBasicPolicy-93271262-89203183 is ready for SSH connections 2025-07-17 11:14:31,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 11:14:31,015 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.50.140.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-07-17 11:14:31,015 - DEBUG - ping -s 56 -c 3 -W 1 96.50.140.195 2025-07-17 11:14:34,685 - DEBUG - PING 96.50.140.195 (96.50.140.195): 56 data bytes 64 bytes from 96.50.140.195: seq=0 ttl=63 time=3.857 ms 64 bytes from 96.50.140.195: seq=1 ttl=63 time=0.888 ms 64 bytes from 96.50.140.195: seq=2 ttl=63 time=1.042 ms --- 96.50.140.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.888/1.929/3.857 ms 2025-07-17 11:14:34,685 - INFO - Ping to IP 96.50.140.195 from VM ctest-TestBasicPolicy-93271262-04010595 passed 2025-07-17 11:14:34,896 - DEBUG - Policy Update Response {"network-policy": {"uuid": "732fcc4e-927c-438b-894f-14c15baf1302", "href": "http://10.0.0.33:8082/network-policy/732fcc4e-927c-438b-894f-14c15baf1302"}} 2025-07-17 11:14:34,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 11:14:34,896 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.50.140.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-07-17 11:14:34,896 - DEBUG - ping -s 56 -c 3 -W 1 96.50.140.195 2025-07-17 11:14:38,127 - DEBUG - PING 96.50.140.195 (96.50.140.195): 56 data bytes --- 96.50.140.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-17 11:14:38,127 - WARNING - Ping to IP 96.50.140.195 from VM ctest-TestBasicPolicy-93271262-04010595 failed 2025-07-17 11:14:38,127 - INFO - Deleting VM ctest-TestBasicPolicy-93271262-89203183 2025-07-17 11:14:38,190 - INFO - Deleting VM ctest-TestBasicPolicy-93271262-04010595 2025-07-17 11:14:38,596 - INFO - Deleted policy ctest-policy-allow-all-03110979 2025-07-17 11:14:38,597 - INFO - Deleting VN ctest-vn-95308551 2025-07-17 11:14:38,633 - DEBUG - VN ba763dc3-3949-4e77-a850-e7aee6ceed5f still in use: Unable to complete operation on network ba763dc3-3949-4e77-a850-e7aee6ceed5f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0e7dbb67-01e8-47c0-88d2-5a1c2bf46aee'] 2025-07-17 11:14:38,633 - WARNING - Deleting VN ctest-vn-95308551 failed..Will retry 2025-07-17 11:14:40,740 - DEBUG - Response for deleting network () 2025-07-17 11:14:40,740 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/8c4293c3-9566-4c47-9434-39a13b468004 2025-07-17 11:14:40,748 - DEBUG - Response Code: 404 2025-07-17 11:14:40,748 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-17 11:14:40,753 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e3da70a3-5992-40c9-95d1-59a2fc60e754 2025-07-17 11:14:40,807 - DEBUG - Requesting: http://10.0.0.33:8082/project/175bb728-bb99-4c42-8ae4-d4f25f8212ac 2025-07-17 11:14:40,882 - INFO - Validated that VN ctest-vn-95308551 is not found in API Server 2025-07-17 11:14:40,894 - DEBUG - VN ctest-vn-95308551 is not present in Agent 10.0.0.33 2025-07-17 11:14:40,895 - INFO - Validated that VN ctest-vn-95308551 is not in any agent 2025-07-17 11:14:40,914 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95308551 info 2025-07-17 11:14:40,915 - INFO - Deleting VN ctest-vn-54937573 2025-07-17 11:14:41,026 - DEBUG - Response for deleting network () 2025-07-17 11:14:41,026 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c4b57e63-0d97-4955-8cf2-5d431b521ee6 2025-07-17 11:14:41,043 - DEBUG - Response Code: 404 2025-07-17 11:14:41,043 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-17 11:14:41,052 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e3da70a3-5992-40c9-95d1-59a2fc60e754 2025-07-17 11:14:41,065 - DEBUG - Requesting: http://10.0.0.33:8082/project/175bb728-bb99-4c42-8ae4-d4f25f8212ac 2025-07-17 11:14:41,142 - INFO - Validated that VN ctest-vn-54937573 is not found in API Server 2025-07-17 11:14:41,153 - DEBUG - VN ctest-vn-54937573 is not present in Agent 10.0.0.33 2025-07-17 11:14:41,153 - INFO - Validated that VN ctest-vn-54937573 is not in any agent 2025-07-17 11:14:41,173 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54937573 info 2025-07-17 11:14:41,426 - DEBUG - No XMPP flaps were noticed during the test 2025-07-17 11:14:41,426 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-07-17 11:14:41,426 - INFO - -------------------------------------------------------------------------------- 2025-07-17 11:14:42,093 - INFO - Deleted project: ctest-TestBasicPolicy-93271262, ID : 175bb728-bb99-4c42-8ae4-d4f25f8212ac