2025-07-07 11:36:07,056 - INFO - Domain Default found not creating 2025-07-07 11:36:07,210 - INFO - Project ctest-TestBasicPolicy-80178253 not found, creating it 2025-07-07 11:36:07,701 - INFO - Created Project:ctest-TestBasicPolicy-80178253, ID : 06f4890c-9581-441b-9452-8a6dba541cbd 2025-07-07 11:36:09,347 - INFO - ================================================================================ 2025-07-07 11:36:09,348 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-07 11:36:09,348 - 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-07 11:36:09,601 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-07 11:36:09,601 - INFO - Initial checks done. Running the testcase now 2025-07-07 11:36:09,601 - INFO - 2025-07-07 11:36:10,222 - DEBUG - Response for create_network : {'network': {'id': '12318225-a2e0-4313-a1f1-d2da32dc8e87', 'name': 'ctest-vn-93693176', 'tenant_id': '06f4890c9581441b94528a6dba541cbd', 'project_id': '06f4890c9581441b94528a6dba541cbd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80178253', 'ctest-vn-93693176'], 'port_security_enabled': True, 'description': ''}} 2025-07-07 11:36:10,405 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f0cb22cb-a994-46c2-9772-448e873f0237', 'name': '', 'tenant_id': '06f4890c9581441b94528a6dba541cbd', 'network_id': '12318225-a2e0-4313-a1f1-d2da32dc8e87', 'ip_version': 4, 'cidr': '197.115.51.192/26', 'allocation_pools': [{'start': '197.115.51.194', 'end': '197.115.51.254'}], 'gateway_ip': '197.115.51.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.115.51.194', 'tags': [], 'project_id': '06f4890c9581441b94528a6dba541cbd'}} 2025-07-07 11:36:10,426 - INFO - Created VN ctest-vn-93693176 2025-07-07 11:36:10,483 - DEBUG - VN ctest-vn-93693176 UUID is 12318225-a2e0-4313-a1f1-d2da32dc8e87 2025-07-07 11:36:10,790 - DEBUG - Response for create_network : {'network': {'id': 'e775d759-16d9-4cb5-b2bf-4a704915eac6', 'name': 'ctest-vn-16672967', 'tenant_id': '06f4890c9581441b94528a6dba541cbd', 'project_id': '06f4890c9581441b94528a6dba541cbd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80178253', 'ctest-vn-16672967'], 'port_security_enabled': True, 'description': ''}} 2025-07-07 11:36:10,994 - DEBUG - Response for create_subnet : {'subnet': {'id': '906e007a-ccfc-4ae2-bd6e-67376fa2e8f2', 'name': '', 'tenant_id': '06f4890c9581441b94528a6dba541cbd', 'network_id': 'e775d759-16d9-4cb5-b2bf-4a704915eac6', 'ip_version': 4, 'cidr': '66.36.83.128/26', 'allocation_pools': [{'start': '66.36.83.130', 'end': '66.36.83.190'}], 'gateway_ip': '66.36.83.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.36.83.130', 'tags': [], 'project_id': '06f4890c9581441b94528a6dba541cbd'}} 2025-07-07 11:36:11,015 - INFO - Created VN ctest-vn-16672967 2025-07-07 11:36:11,067 - DEBUG - VN ctest-vn-16672967 UUID is e775d759-16d9-4cb5-b2bf-4a704915eac6 2025-07-07 11:36:11,182 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-80178253:ctest-vn-93693176, 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-80178253:ctest-vn-16672967, 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-07 11:36:11,498 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '12318225-a2e0-4313-a1f1-d2da32dc8e87', 'name': 'ctest-vn-93693176', 'tenant_id': '06f4890c9581441b94528a6dba541cbd', 'project_id': '06f4890c9581441b94528a6dba541cbd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f0cb22cb-a994-46c2-9772-448e873f0237'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80178253', 'ctest-vn-93693176'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80178253', 'ctest-policy-allow-all-74381659']], 'subnet_ipam': [{'subnet_cidr': '197.115.51.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-07 11:36:11,801 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e775d759-16d9-4cb5-b2bf-4a704915eac6', 'name': 'ctest-vn-16672967', 'tenant_id': '06f4890c9581441b94528a6dba541cbd', 'project_id': '06f4890c9581441b94528a6dba541cbd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['906e007a-ccfc-4ae2-bd6e-67376fa2e8f2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80178253', 'ctest-vn-16672967'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80178253', 'ctest-policy-allow-all-74381659']], 'subnet_ipam': [{'subnet_cidr': '66.36.83.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-07 11:36:11,955 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-07 11:36:12,296 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-07 11:36:12,324 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1f714d91-ebfb-4947-ae83-6e64b1d1286b 2025-07-07 11:36:12,338 - DEBUG - Requesting: http://10.0.0.254:8082/project/06f4890c-9581-441b-9452-8a6dba541cbd 2025-07-07 11:36:12,413 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/12318225-a2e0-4313-a1f1-d2da32dc8e87 2025-07-07 11:36:12,425 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/12318225-a2e0-4313-a1f1-d2da32dc8e87 2025-07-07 11:36:12,437 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1e6ad268-4cfc-4d5c-a4b9-e271c7002a23 2025-07-07 11:36:12,445 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1e6ad268-4cfc-4d5c-a4b9-e271c7002a23 2025-07-07 11:36:12,453 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/df4c2a7c-c3ec-447b-9e32-55ac8d6b5289 2025-07-07 11:36:12,460 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-07 11:36:12,461 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/12318225-a2e0-4313-a1f1-d2da32dc8e87 2025-07-07 11:36:12,471 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1e6ad268-4cfc-4d5c-a4b9-e271c7002a23 2025-07-07 11:36:12,489 - INFO - Verified VN network id 8 for VN 12318225-a2e0-4313-a1f1-d2da32dc8e87 2025-07-07 11:36:12,489 - INFO - Verifications in API Server for VN ctest-vn-93693176 passed 2025-07-07 11:36:12,489 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/12318225-a2e0-4313-a1f1-d2da32dc8e87 2025-07-07 11:36:12,499 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1e6ad268-4cfc-4d5c-a4b9-e271c7002a23 2025-07-07 11:36:12,508 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1e6ad268-4cfc-4d5c-a4b9-e271c7002a23 2025-07-07 11:36:12,516 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/df4c2a7c-c3ec-447b-9e32-55ac8d6b5289 2025-07-07 11:36:12,529 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80178253:ctest-vn-93693176', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80178253', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1310972064699532051', 'uuid-lslong': '11669339944091684487'}, 'enable': 'true', 'created': '2025-07-07T11:36:10', 'last-modified': '2025-07-07T11:36:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.069650'} 2025-07-07 11:36:12,537 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-07 11:36:12,537 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93693176 passed 2025-07-07 11:36:12,537 - DEBUG - ====Verifying policy data for ctest-vn-93693176 in API_Server ====== 2025-07-07 11:36:12,537 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-07 11:36:12,544 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1f714d91-ebfb-4947-ae83-6e64b1d1286b 2025-07-07 11:36:12,557 - DEBUG - Requesting: http://10.0.0.254:8082/project/06f4890c-9581-441b-9452-8a6dba541cbd 2025-07-07 11:36:12,632 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/12318225-a2e0-4313-a1f1-d2da32dc8e87 2025-07-07 11:36:12,643 - DEBUG - ==>Verifying data for policy with id: f3d0cbee-34ed-44a6-8f59-a7bd150a36b7, fqn: ['default-domain', 'ctest-TestBasicPolicy-80178253', 'ctest-policy-allow-all-74381659'] 2025-07-07 11:36:12,643 - INFO - VN ctest-vn-93693176 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-07 11:36:12,643 - DEBUG - Verifying the vn in opserver 2025-07-07 11:36:12,643 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80178253:ctest-vn-93693176 virtual network link through opserver 10.0.0.254 2025-07-07 11:36:12,643 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-07 11:36:12,976 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-07 11:36:13,032 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80178253:ctest-vn-93693176', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80178253:ctest-vn-93693176?flat'} 2025-07-07 11:36:13,032 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80178253:ctest-vn-93693176 is found in opserver 2025-07-07 11:36:13,046 - DEBUG - Do not have enough data to verify VN in agent 2025-07-07 11:36:13,051 - DEBUG - VRF ids for VN ctest-vn-93693176: {} 2025-07-07 11:36:13,051 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-07 11:36:13,057 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1f714d91-ebfb-4947-ae83-6e64b1d1286b 2025-07-07 11:36:13,069 - DEBUG - Requesting: http://10.0.0.254:8082/project/06f4890c-9581-441b-9452-8a6dba541cbd 2025-07-07 11:36:13,146 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e775d759-16d9-4cb5-b2bf-4a704915eac6 2025-07-07 11:36:13,159 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e775d759-16d9-4cb5-b2bf-4a704915eac6 2025-07-07 11:36:13,170 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4c2f9970-412a-4f6f-b9b4-7ee7a919fdc8 2025-07-07 11:36:13,177 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4c2f9970-412a-4f6f-b9b4-7ee7a919fdc8 2025-07-07 11:36:13,183 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/83d049bf-d6e4-453d-8a80-472821741b5d 2025-07-07 11:36:13,189 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-07 11:36:13,189 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e775d759-16d9-4cb5-b2bf-4a704915eac6 2025-07-07 11:36:13,199 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4c2f9970-412a-4f6f-b9b4-7ee7a919fdc8 2025-07-07 11:36:13,223 - INFO - Verified VN network id 9 for VN e775d759-16d9-4cb5-b2bf-4a704915eac6 2025-07-07 11:36:13,223 - INFO - Verifications in API Server for VN ctest-vn-16672967 passed 2025-07-07 11:36:13,223 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e775d759-16d9-4cb5-b2bf-4a704915eac6 2025-07-07 11:36:13,234 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4c2f9970-412a-4f6f-b9b4-7ee7a919fdc8 2025-07-07 11:36:13,241 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4c2f9970-412a-4f6f-b9b4-7ee7a919fdc8 2025-07-07 11:36:13,248 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/83d049bf-d6e4-453d-8a80-472821741b5d 2025-07-07 11:36:13,264 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80178253:ctest-vn-16672967', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80178253', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16678473572671900853', 'uuid-lslong': '12880095305425873606'}, 'enable': 'true', 'created': '2025-07-07T11:36:10', 'last-modified': '2025-07-07T11:36:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.538697'} 2025-07-07 11:36:13,271 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-07 11:36:13,271 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16672967 passed 2025-07-07 11:36:13,271 - DEBUG - ====Verifying policy data for ctest-vn-16672967 in API_Server ====== 2025-07-07 11:36:13,271 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-07 11:36:13,277 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1f714d91-ebfb-4947-ae83-6e64b1d1286b 2025-07-07 11:36:13,290 - DEBUG - Requesting: http://10.0.0.254:8082/project/06f4890c-9581-441b-9452-8a6dba541cbd 2025-07-07 11:36:13,364 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e775d759-16d9-4cb5-b2bf-4a704915eac6 2025-07-07 11:36:13,375 - DEBUG - ==>Verifying data for policy with id: f3d0cbee-34ed-44a6-8f59-a7bd150a36b7, fqn: ['default-domain', 'ctest-TestBasicPolicy-80178253', 'ctest-policy-allow-all-74381659'] 2025-07-07 11:36:13,375 - INFO - VN ctest-vn-16672967 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-07 11:36:13,375 - DEBUG - Verifying the vn in opserver 2025-07-07 11:36:13,375 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80178253:ctest-vn-16672967 virtual network link through opserver 10.0.0.254 2025-07-07 11:36:13,375 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-07 11:36:13,388 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80178253:ctest-vn-16672967', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80178253:ctest-vn-16672967?flat'} 2025-07-07 11:36:13,388 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80178253:ctest-vn-16672967 is found in opserver 2025-07-07 11:36:13,400 - DEBUG - Do not have enough data to verify VN in agent 2025-07-07 11:36:13,406 - DEBUG - VRF ids for VN ctest-vn-16672967: {} 2025-07-07 11:36:13,464 - DEBUG - Services list from nova: [, , ] 2025-07-07 11:36:14,579 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3607-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3607-1) 2025-07-07 11:36:15,918 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3607-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3607-1) 2025-07-07 11:36:15,918 - INFO - Waiting for VM ctest-TestBasicPolicy-80178253-64364589 to be up.. 2025-07-07 11:36:16,011 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-07 11:36:21,096 - DEBUG - VM is in ACTIVE state now 2025-07-07 11:36:21,096 - INFO - VM name : ctest-TestBasicPolicy-80178253-64364589 2025-07-07 11:36:21,176 - DEBUG - VM ctest-TestBasicPolicy-80178253-64364589 ID is 7eaa4fb9-6fab-4a1a-9a29-23c51e2d6725 2025-07-07 11:36:21,200 - DEBUG - VM ctest-TestBasicPolicy-80178253-64364589 launched on Node cn-jenkins-deploy-platform-ansible-os-3607-1 2025-07-07 11:36:21,279 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7eaa4fb9-6fab-4a1a-9a29-23c51e2d6725 2025-07-07 11:36:21,290 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/de77076b-5fdd-44b3-a3c1-f02c91f71c3f 2025-07-07 11:36:24,551 - 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 1002ms') 2025-07-07 11:36:24,551 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80178253-64364589 failed! 2025-07-07 11:36:24,607 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80178253:ctest-vn-93693176 is 197.115.51.193 and allocation pool is NOT set 2025-07-07 11:36:26,672 - 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=6.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.02 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 = 3.016/4.863/6.710/1.847 ms') 2025-07-07 11:36:26,672 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80178253-64364589 passed 2025-07-07 11:36:26,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-07 11:36:26,847 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80178253-64364589, IP 197.115.51.195, Port 22 2025-07-07 11:36:27,013 - DEBUG - VM ctest-TestBasicPolicy-80178253-64364589 is ready for SSH connections 2025-07-07 11:36:27,013 - INFO - Waiting for VM ctest-TestBasicPolicy-80178253-49942508 to be up.. 2025-07-07 11:36:27,113 - DEBUG - VM is in ACTIVE state now 2025-07-07 11:36:27,113 - INFO - VM name : ctest-TestBasicPolicy-80178253-49942508 2025-07-07 11:36:27,199 - DEBUG - VM ctest-TestBasicPolicy-80178253-49942508 ID is 5e9df79a-2a4e-41d6-968b-1519f17e5cc6 2025-07-07 11:36:27,199 - DEBUG - VM ctest-TestBasicPolicy-80178253-49942508 launched on Node cn-jenkins-deploy-platform-ansible-os-3607-1 2025-07-07 11:36:27,285 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5e9df79a-2a4e-41d6-968b-1519f17e5cc6 2025-07-07 11:36:27,305 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/adae351a-7997-469d-91cd-779ec8d6bc74 2025-07-07 11:36:28,559 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.65 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 = 1.654/3.013/4.372/1.359 ms') 2025-07-07 11:36:28,559 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-80178253-49942508 passed 2025-07-07 11:36:28,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-07 11:36:28,715 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80178253-49942508, IP 66.36.83.131, Port 22 2025-07-07 11:36:28,881 - DEBUG - VM ctest-TestBasicPolicy-80178253-49942508 is ready for SSH connections 2025-07-07 11:36:28,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-07 11:36:28,881 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.36.83.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-07 11:36:28,882 - DEBUG - ping -s 56 -c 3 -W 1 66.36.83.131 2025-07-07 11:36:32,625 - DEBUG - PING 66.36.83.131 (66.36.83.131): 56 data bytes 64 bytes from 66.36.83.131: seq=0 ttl=63 time=4.025 ms 64 bytes from 66.36.83.131: seq=1 ttl=63 time=0.796 ms 64 bytes from 66.36.83.131: seq=2 ttl=63 time=0.832 ms --- 66.36.83.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.796/1.884/4.025 ms 2025-07-07 11:36:32,625 - INFO - Ping to IP 66.36.83.131 from VM ctest-TestBasicPolicy-80178253-64364589 passed 2025-07-07 11:36:32,815 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f3d0cbee-34ed-44a6-8f59-a7bd150a36b7", "href": "http://10.0.0.254:8082/network-policy/f3d0cbee-34ed-44a6-8f59-a7bd150a36b7"}} 2025-07-07 11:36:32,815 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-07 11:36:32,815 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.36.83.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-07 11:36:32,815 - DEBUG - ping -s 56 -c 3 -W 1 66.36.83.131 2025-07-07 11:36:36,043 - DEBUG - PING 66.36.83.131 (66.36.83.131): 56 data bytes 64 bytes from 66.36.83.131: seq=0 ttl=63 time=1.442 ms --- 66.36.83.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.442/1.442/1.442 ms 2025-07-07 11:36:36,043 - WARNING - Ping to IP 66.36.83.131 from VM ctest-TestBasicPolicy-80178253-64364589 failed 2025-07-07 11:36:36,043 - INFO - Deleting VM ctest-TestBasicPolicy-80178253-49942508 2025-07-07 11:36:36,112 - INFO - Deleting VM ctest-TestBasicPolicy-80178253-64364589 2025-07-07 11:36:36,531 - INFO - Deleted policy ctest-policy-allow-all-74381659 2025-07-07 11:36:36,532 - INFO - Deleting VN ctest-vn-16672967 2025-07-07 11:36:36,567 - DEBUG - VN e775d759-16d9-4cb5-b2bf-4a704915eac6 still in use: Unable to complete operation on network e775d759-16d9-4cb5-b2bf-4a704915eac6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ebe98860-9756-4e4a-9605-57044940e471'] 2025-07-07 11:36:36,567 - WARNING - Deleting VN ctest-vn-16672967 failed..Will retry 2025-07-07 11:36:38,668 - DEBUG - Response for deleting network () 2025-07-07 11:36:38,668 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4c2f9970-412a-4f6f-b9b4-7ee7a919fdc8 2025-07-07 11:36:38,676 - DEBUG - Response Code: 404 2025-07-07 11:36:38,676 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-07 11:36:38,686 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1f714d91-ebfb-4947-ae83-6e64b1d1286b 2025-07-07 11:36:38,746 - DEBUG - Requesting: http://10.0.0.254:8082/project/06f4890c-9581-441b-9452-8a6dba541cbd 2025-07-07 11:36:38,819 - INFO - Validated that VN ctest-vn-16672967 is not found in API Server 2025-07-07 11:36:38,831 - DEBUG - VN ctest-vn-16672967 is not present in Agent 10.0.0.254 2025-07-07 11:36:38,831 - INFO - Validated that VN ctest-vn-16672967 is not in any agent 2025-07-07 11:36:38,848 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16672967 info 2025-07-07 11:36:38,848 - INFO - Deleting VN ctest-vn-93693176 2025-07-07 11:36:38,957 - DEBUG - Response for deleting network () 2025-07-07 11:36:38,957 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1e6ad268-4cfc-4d5c-a4b9-e271c7002a23 2025-07-07 11:36:38,965 - DEBUG - Response Code: 404 2025-07-07 11:36:38,965 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-07 11:36:38,974 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1f714d91-ebfb-4947-ae83-6e64b1d1286b 2025-07-07 11:36:39,029 - DEBUG - Requesting: http://10.0.0.254:8082/project/06f4890c-9581-441b-9452-8a6dba541cbd 2025-07-07 11:36:39,101 - INFO - Validated that VN ctest-vn-93693176 is not found in API Server 2025-07-07 11:36:39,113 - DEBUG - VN ctest-vn-93693176 is not present in Agent 10.0.0.254 2025-07-07 11:36:39,113 - INFO - Validated that VN ctest-vn-93693176 is not in any agent 2025-07-07 11:36:39,132 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93693176 info 2025-07-07 11:36:39,385 - DEBUG - No XMPP flaps were noticed during the test
2025-07-07 11:36:39,385 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-07-07 11:36:39,385 - INFO - -------------------------------------------------------------------------------- 2025-07-07 11:36:40,133 - INFO - Deleted project: ctest-TestBasicPolicy-80178253, ID : 06f4890c-9581-441b-9452-8a6dba541cbd