2025-08-20 09:14:06,613 - INFO - Domain Default found not creating 2025-08-20 09:14:06,737 - INFO - Project ctest-TestBasicPolicy-86688638 not found, creating it 2025-08-20 09:14:07,200 - INFO - Created Project:ctest-TestBasicPolicy-86688638, ID : 19f58e2d-568e-4276-b996-fa076ecb961f 2025-08-20 09:14:08,475 - INFO - ================================================================================ 2025-08-20 09:14:08,475 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-20 09:14:08,475 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-08-20 09:14:08,733 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with 2025-08-20 09:14:08,733 - INFO - Initial checks done. Running the testcase now 2025-08-20 09:14:08,733 - INFO - 2025-08-20 09:14:09,240 - DEBUG - Response for create_network : {'network': {'id': 'ac412f68-fecd-45c9-9a80-6d9865433602', 'name': 'ctest-vn-66749230', 'tenant_id': '19f58e2d568e4276b996fa076ecb961f', 'project_id': '19f58e2d568e4276b996fa076ecb961f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86688638', 'ctest-vn-66749230'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 09:14:09,429 - DEBUG - Response for create_subnet : {'subnet': {'id': '5dd330f7-eecc-4dc3-9482-57ba4a3fa3cd', 'name': '', 'tenant_id': '19f58e2d568e4276b996fa076ecb961f', 'network_id': 'ac412f68-fecd-45c9-9a80-6d9865433602', 'ip_version': 4, 'cidr': '85.145.54.0/26', 'allocation_pools': [{'start': '85.145.54.2', 'end': '85.145.54.62'}], 'gateway_ip': '85.145.54.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.145.54.2', 'tags': [], 'project_id': '19f58e2d568e4276b996fa076ecb961f'}} 2025-08-20 09:14:09,444 - INFO - Created VN ctest-vn-66749230 2025-08-20 09:14:09,496 - DEBUG - VN ctest-vn-66749230 UUID is ac412f68-fecd-45c9-9a80-6d9865433602 2025-08-20 09:14:09,789 - DEBUG - Response for create_network : {'network': {'id': '3955d6ad-7aac-42f9-ab61-e71d26f5ffed', 'name': 'ctest-vn-91053408', 'tenant_id': '19f58e2d568e4276b996fa076ecb961f', 'project_id': '19f58e2d568e4276b996fa076ecb961f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86688638', 'ctest-vn-91053408'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 09:14:09,982 - DEBUG - Response for create_subnet : {'subnet': {'id': '37a7f405-2699-43de-b8c4-666add33b86a', 'name': '', 'tenant_id': '19f58e2d568e4276b996fa076ecb961f', 'network_id': '3955d6ad-7aac-42f9-ab61-e71d26f5ffed', 'ip_version': 4, 'cidr': '147.64.7.0/26', 'allocation_pools': [{'start': '147.64.7.2', 'end': '147.64.7.62'}], 'gateway_ip': '147.64.7.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.64.7.2', 'tags': [], 'project_id': '19f58e2d568e4276b996fa076ecb961f'}} 2025-08-20 09:14:09,998 - INFO - Created VN ctest-vn-91053408 2025-08-20 09:14:10,052 - DEBUG - VN ctest-vn-91053408 UUID is 3955d6ad-7aac-42f9-ab61-e71d26f5ffed 2025-08-20 09:14:10,195 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86688638:ctest-vn-66749230, 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-86688638:ctest-vn-91053408, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-08-20 09:14:10,481 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ac412f68-fecd-45c9-9a80-6d9865433602', 'name': 'ctest-vn-66749230', 'tenant_id': '19f58e2d568e4276b996fa076ecb961f', 'project_id': '19f58e2d568e4276b996fa076ecb961f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5dd330f7-eecc-4dc3-9482-57ba4a3fa3cd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86688638', 'ctest-vn-66749230'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86688638', 'ctest-policy-allow-all-38747654']], 'subnet_ipam': [{'subnet_cidr': '85.145.54.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-20 09:14:10,754 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3955d6ad-7aac-42f9-ab61-e71d26f5ffed', 'name': 'ctest-vn-91053408', 'tenant_id': '19f58e2d568e4276b996fa076ecb961f', 'project_id': '19f58e2d568e4276b996fa076ecb961f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['37a7f405-2699-43de-b8c4-666add33b86a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86688638', 'ctest-vn-91053408'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86688638', 'ctest-policy-allow-all-38747654']], 'subnet_ipam': [{'subnet_cidr': '147.64.7.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-20 09:14:10,908 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-20 09:14:11,199 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-20 09:14:11,223 - DEBUG - Requesting: http://10.0.0.49:8082/domain/ac2afb38-e6a2-4bc9-84a0-5630d8cad4fc 2025-08-20 09:14:11,234 - DEBUG - Requesting: http://10.0.0.49:8082/project/19f58e2d-568e-4276-b996-fa076ecb961f 2025-08-20 09:14:11,303 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/ac412f68-fecd-45c9-9a80-6d9865433602 2025-08-20 09:14:11,312 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/ac412f68-fecd-45c9-9a80-6d9865433602 2025-08-20 09:14:11,319 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/70b9a000-6774-4699-b0f0-943e5baa774b 2025-08-20 09:14:11,324 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/70b9a000-6774-4699-b0f0-943e5baa774b 2025-08-20 09:14:11,329 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/42f60be3-9f21-4ae6-bcba-f3802fbd8073 2025-08-20 09:14:11,334 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-20 09:14:11,334 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/ac412f68-fecd-45c9-9a80-6d9865433602 2025-08-20 09:14:11,340 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/70b9a000-6774-4699-b0f0-943e5baa774b 2025-08-20 09:14:11,351 - INFO - Verified VN network id 12 for VN ac412f68-fecd-45c9-9a80-6d9865433602 2025-08-20 09:14:11,351 - INFO - Verifications in API Server for VN ctest-vn-66749230 passed 2025-08-20 09:14:11,351 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/ac412f68-fecd-45c9-9a80-6d9865433602 2025-08-20 09:14:11,358 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/70b9a000-6774-4699-b0f0-943e5baa774b 2025-08-20 09:14:11,363 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/70b9a000-6774-4699-b0f0-943e5baa774b 2025-08-20 09:14:11,368 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/42f60be3-9f21-4ae6-bcba-f3802fbd8073 2025-08-20 09:14:11,377 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86688638:ctest-vn-66749230', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86688638', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12412254176007767497', 'uuid-lslong': '11133018780161226242'}, 'enable': 'true', 'created': '2025-08-20T09:14:09', 'last-modified': '2025-08-20T09:14:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.915311'} 2025-08-20 09:14:11,382 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-20 09:14:11,382 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66749230 passed 2025-08-20 09:14:11,383 - DEBUG - ====Verifying policy data for ctest-vn-66749230 in API_Server ====== 2025-08-20 09:14:11,383 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-20 09:14:11,386 - DEBUG - Requesting: http://10.0.0.49:8082/domain/ac2afb38-e6a2-4bc9-84a0-5630d8cad4fc 2025-08-20 09:14:11,395 - DEBUG - Requesting: http://10.0.0.49:8082/project/19f58e2d-568e-4276-b996-fa076ecb961f 2025-08-20 09:14:11,465 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/ac412f68-fecd-45c9-9a80-6d9865433602 2025-08-20 09:14:11,473 - DEBUG - ==>Verifying data for policy with id: 4ac408af-e302-4ed2-9095-2769ccc5d742, fqn: ['default-domain', 'ctest-TestBasicPolicy-86688638', 'ctest-policy-allow-all-38747654'] 2025-08-20 09:14:11,473 - INFO - VN ctest-vn-66749230 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-20 09:14:11,473 - DEBUG - Verifying the vn in opserver 2025-08-20 09:14:11,473 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86688638:ctest-vn-66749230 virtual network link through opserver 10.0.0.49 2025-08-20 09:14:11,473 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-08-20 09:14:11,761 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-08-20 09:14:11,808 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86688638:ctest-vn-66749230', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86688638:ctest-vn-66749230?flat'} 2025-08-20 09:14:11,808 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86688638:ctest-vn-66749230 is found in opserver 2025-08-20 09:14:11,817 - DEBUG - Do not have enough data to verify VN in agent 2025-08-20 09:14:11,821 - DEBUG - VRF ids for VN ctest-vn-66749230: {} 2025-08-20 09:14:11,821 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-20 09:14:11,825 - DEBUG - Requesting: http://10.0.0.49:8082/domain/ac2afb38-e6a2-4bc9-84a0-5630d8cad4fc 2025-08-20 09:14:11,835 - DEBUG - Requesting: http://10.0.0.49:8082/project/19f58e2d-568e-4276-b996-fa076ecb961f 2025-08-20 09:14:11,903 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/3955d6ad-7aac-42f9-ab61-e71d26f5ffed 2025-08-20 09:14:11,914 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/3955d6ad-7aac-42f9-ab61-e71d26f5ffed 2025-08-20 09:14:11,922 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f923376d-41cb-4b2b-b63c-3ffb2ae5d8ea 2025-08-20 09:14:11,928 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f923376d-41cb-4b2b-b63c-3ffb2ae5d8ea 2025-08-20 09:14:11,933 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/e6ea6508-577d-4b0f-990b-84580258bdf6 2025-08-20 09:14:11,938 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-20 09:14:11,938 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/3955d6ad-7aac-42f9-ab61-e71d26f5ffed 2025-08-20 09:14:11,945 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f923376d-41cb-4b2b-b63c-3ffb2ae5d8ea 2025-08-20 09:14:11,956 - INFO - Verified VN network id 13 for VN 3955d6ad-7aac-42f9-ab61-e71d26f5ffed 2025-08-20 09:14:11,956 - INFO - Verifications in API Server for VN ctest-vn-91053408 passed 2025-08-20 09:14:11,956 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/3955d6ad-7aac-42f9-ab61-e71d26f5ffed 2025-08-20 09:14:11,964 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f923376d-41cb-4b2b-b63c-3ffb2ae5d8ea 2025-08-20 09:14:11,969 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f923376d-41cb-4b2b-b63c-3ffb2ae5d8ea 2025-08-20 09:14:11,974 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/e6ea6508-577d-4b0f-990b-84580258bdf6 2025-08-20 09:14:11,983 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86688638:ctest-vn-91053408', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86688638', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4131444273758094073', 'uuid-lslong': '12349405765620334573'}, 'enable': 'true', 'created': '2025-08-20T09:14:09', 'last-modified': '2025-08-20T09:14:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.295080'} 2025-08-20 09:14:11,988 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-20 09:14:11,988 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91053408 passed 2025-08-20 09:14:11,988 - DEBUG - ====Verifying policy data for ctest-vn-91053408 in API_Server ====== 2025-08-20 09:14:11,988 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-20 09:14:11,992 - DEBUG - Requesting: http://10.0.0.49:8082/domain/ac2afb38-e6a2-4bc9-84a0-5630d8cad4fc 2025-08-20 09:14:12,003 - DEBUG - Requesting: http://10.0.0.49:8082/project/19f58e2d-568e-4276-b996-fa076ecb961f 2025-08-20 09:14:12,076 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/3955d6ad-7aac-42f9-ab61-e71d26f5ffed 2025-08-20 09:14:12,084 - DEBUG - ==>Verifying data for policy with id: 4ac408af-e302-4ed2-9095-2769ccc5d742, fqn: ['default-domain', 'ctest-TestBasicPolicy-86688638', 'ctest-policy-allow-all-38747654'] 2025-08-20 09:14:12,084 - INFO - VN ctest-vn-91053408 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-20 09:14:12,084 - DEBUG - Verifying the vn in opserver 2025-08-20 09:14:12,084 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86688638:ctest-vn-91053408 virtual network link through opserver 10.0.0.49 2025-08-20 09:14:12,084 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-08-20 09:14:12,094 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86688638:ctest-vn-91053408', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86688638:ctest-vn-91053408?flat'} 2025-08-20 09:14:12,094 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86688638:ctest-vn-91053408 is found in opserver 2025-08-20 09:14:12,103 - DEBUG - Do not have enough data to verify VN in agent 2025-08-20 09:14:12,108 - DEBUG - VRF ids for VN ctest-vn-91053408: {} 2025-08-20 09:14:12,156 - DEBUG - Services list from nova: [, , ] 2025-08-20 09:14:13,143 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3890-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3890-1) 2025-08-20 09:14:14,207 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3890-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3890-1) 2025-08-20 09:14:14,207 - INFO - Waiting for VM ctest-TestBasicPolicy-86688638-59036378 to be up.. 2025-08-20 09:14:14,276 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-20 09:14:19,343 - DEBUG - VM is in ACTIVE state now 2025-08-20 09:14:19,343 - INFO - VM name : ctest-TestBasicPolicy-86688638-59036378 2025-08-20 09:14:19,407 - DEBUG - VM ctest-TestBasicPolicy-86688638-59036378 ID is 09341333-7ab7-49b4-b607-46825fcf8594 2025-08-20 09:14:19,423 - DEBUG - VM ctest-TestBasicPolicy-86688638-59036378 launched on Node cn-jenkins-deploy-platform-ansible-os-3890-1 2025-08-20 09:14:19,494 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/09341333-7ab7-49b4-b607-46825fcf8594 2025-08-20 09:14:19,501 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/785c0469-ce69-4f8f-9b3a-fe918ff10843 2025-08-20 09:14:22,752 - 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 1028ms') 2025-08-20 09:14:22,752 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86688638-59036378 failed! 2025-08-20 09:14:22,804 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86688638:ctest-vn-66749230 is 85.145.54.1 and allocation pool is NOT set 2025-08-20 09:14:24,866 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.380 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.380/1.519/2.658/1.139 ms') 2025-08-20 09:14:24,866 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86688638-59036378 passed 2025-08-20 09:14:25,012 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:14:25,012 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86688638-59036378, IP 85.145.54.3, Port 22 2025-08-20 09:14:25,167 - DEBUG - VM ctest-TestBasicPolicy-86688638-59036378 is ready for SSH connections 2025-08-20 09:14:25,167 - INFO - Waiting for VM ctest-TestBasicPolicy-86688638-59985883 to be up.. 2025-08-20 09:14:25,231 - DEBUG - VM is in ACTIVE state now 2025-08-20 09:14:25,231 - INFO - VM name : ctest-TestBasicPolicy-86688638-59985883 2025-08-20 09:14:25,291 - DEBUG - VM ctest-TestBasicPolicy-86688638-59985883 ID is 89c5671e-4844-4f50-8ce4-3e95237fddd0 2025-08-20 09:14:25,291 - DEBUG - VM ctest-TestBasicPolicy-86688638-59985883 launched on Node cn-jenkins-deploy-platform-ansible-os-3890-1 2025-08-20 09:14:25,354 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/89c5671e-4844-4f50-8ce4-3e95237fddd0 2025-08-20 09:14:25,362 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/f12123c0-5067-4dcb-819b-fdee0756080e 2025-08-20 09:14:26,593 - 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=2.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.333 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.333/1.474/2.615/1.141 ms') 2025-08-20 09:14:26,593 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-86688638-59985883 passed 2025-08-20 09:14:26,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:14:26,744 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86688638-59985883, IP 147.64.7.3, Port 22 2025-08-20 09:14:26,895 - DEBUG - VM ctest-TestBasicPolicy-86688638-59985883 is ready for SSH connections 2025-08-20 09:14:26,895 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:14:26,895 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.64.7.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-20 09:14:26,895 - DEBUG - ping -s 56 -c 3 -W 1 147.64.7.3 2025-08-20 09:14:30,567 - DEBUG - PING 147.64.7.3 (147.64.7.3): 56 data bytes 64 bytes from 147.64.7.3: seq=0 ttl=63 time=3.083 ms 64 bytes from 147.64.7.3: seq=1 ttl=63 time=0.631 ms 64 bytes from 147.64.7.3: seq=2 ttl=63 time=0.699 ms --- 147.64.7.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.631/1.471/3.083 ms 2025-08-20 09:14:30,567 - INFO - Ping to IP 147.64.7.3 from VM ctest-TestBasicPolicy-86688638-59036378 passed 2025-08-20 09:14:30,739 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4ac408af-e302-4ed2-9095-2769ccc5d742", "href": "http://10.0.0.49:8082/network-policy/4ac408af-e302-4ed2-9095-2769ccc5d742"}} 2025-08-20 09:14:30,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:14:30,740 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.64.7.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-20 09:14:30,740 - DEBUG - ping -s 56 -c 3 -W 1 147.64.7.3 2025-08-20 09:14:33,937 - DEBUG - PING 147.64.7.3 (147.64.7.3): 56 data bytes 64 bytes from 147.64.7.3: seq=0 ttl=63 time=1.171 ms --- 147.64.7.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.171/1.171/1.171 ms 2025-08-20 09:14:33,937 - WARNING - Ping to IP 147.64.7.3 from VM ctest-TestBasicPolicy-86688638-59036378 failed 2025-08-20 09:14:33,937 - INFO - Deleting VM ctest-TestBasicPolicy-86688638-59985883 2025-08-20 09:14:33,994 - INFO - Deleting VM ctest-TestBasicPolicy-86688638-59036378 2025-08-20 09:14:34,339 - INFO - Deleted policy ctest-policy-allow-all-38747654 2025-08-20 09:14:34,340 - INFO - Deleting VN ctest-vn-91053408 2025-08-20 09:14:34,367 - DEBUG - VN 3955d6ad-7aac-42f9-ab61-e71d26f5ffed still in use: Unable to complete operation on network 3955d6ad-7aac-42f9-ab61-e71d26f5ffed. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4bc5529c-ad04-4ab4-ade5-f2d6fdd0240e'] 2025-08-20 09:14:34,367 - WARNING - Deleting VN ctest-vn-91053408 failed..Will retry 2025-08-20 09:14:36,458 - DEBUG - Response for deleting network () 2025-08-20 09:14:36,458 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f923376d-41cb-4b2b-b63c-3ffb2ae5d8ea 2025-08-20 09:14:36,463 - DEBUG - Response Code: 404 2025-08-20 09:14:36,463 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-20 09:14:36,467 - DEBUG - Requesting: http://10.0.0.49:8082/domain/ac2afb38-e6a2-4bc9-84a0-5630d8cad4fc 2025-08-20 09:14:36,524 - DEBUG - Requesting: http://10.0.0.49:8082/project/19f58e2d-568e-4276-b996-fa076ecb961f 2025-08-20 09:14:36,592 - INFO - Validated that VN ctest-vn-91053408 is not found in API Server 2025-08-20 09:14:36,601 - DEBUG - VN ctest-vn-91053408 is not present in Agent 10.0.0.49 2025-08-20 09:14:36,601 - INFO - Validated that VN ctest-vn-91053408 is not in any agent 2025-08-20 09:14:36,613 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91053408 info 2025-08-20 09:14:36,613 - INFO - Deleting VN ctest-vn-66749230 2025-08-20 09:14:36,698 - DEBUG - Response for deleting network () 2025-08-20 09:14:36,698 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/70b9a000-6774-4699-b0f0-943e5baa774b 2025-08-20 09:14:36,703 - DEBUG - Response Code: 404 2025-08-20 09:14:36,703 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-20 09:14:36,707 - DEBUG - Requesting: http://10.0.0.49:8082/domain/ac2afb38-e6a2-4bc9-84a0-5630d8cad4fc 2025-08-20 09:14:36,760 - DEBUG - Requesting: http://10.0.0.49:8082/project/19f58e2d-568e-4276-b996-fa076ecb961f 2025-08-20 09:14:36,830 - INFO - Validated that VN ctest-vn-66749230 is not found in API Server 2025-08-20 09:14:36,839 - DEBUG - VN ctest-vn-66749230 is not present in Agent 10.0.0.49 2025-08-20 09:14:36,839 - INFO - Validated that VN ctest-vn-66749230 is not in any agent 2025-08-20 09:14:36,851 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66749230 info 2025-08-20 09:14:37,100 - DEBUG - No XMPP flaps were noticed during the test 2025-08-20 09:14:37,100 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-20 09:14:37,100 - INFO - -------------------------------------------------------------------------------- 2025-08-20 09:14:37,736 - INFO - Deleted project: ctest-TestBasicPolicy-86688638, ID : 19f58e2d-568e-4276-b996-fa076ecb961f