2025-12-01 02:23:51,318 - INFO - Domain Default found not creating 2025-12-01 02:23:51,517 - INFO - Project ctest-TestBasicPolicy-96590827 not found, creating it 2025-12-01 02:23:52,057 - INFO - Created Project:ctest-TestBasicPolicy-96590827, ID : 8bde61bc-16a8-4cdc-a83a-1588dafe029b 2025-12-01 02:23:53,796 - INFO - ================================================================================ 2025-12-01 02:23:53,796 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-01 02:23:53,796 - 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-12-01 02:23:54,059 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.252': '0'}} with 2025-12-01 02:23:54,059 - INFO - Initial checks done. Running the testcase now 2025-12-01 02:23:54,059 - INFO - 2025-12-01 02:23:54,712 - DEBUG - Response for create_network : {'network': {'id': '5d5e31d3-f4d0-4942-8ef1-ea619e2fc971', 'name': 'ctest-vn-54037439', 'tenant_id': '8bde61bc16a84cdca83a1588dafe029b', 'project_id': '8bde61bc16a84cdca83a1588dafe029b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96590827', 'ctest-vn-54037439'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 02:23:54,887 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b664a96-ec12-44c1-9aa9-2dc755951c0a', 'name': '', 'tenant_id': '8bde61bc16a84cdca83a1588dafe029b', 'network_id': '5d5e31d3-f4d0-4942-8ef1-ea619e2fc971', 'ip_version': 4, 'cidr': '69.117.60.192/26', 'allocation_pools': [{'start': '69.117.60.194', 'end': '69.117.60.254'}], 'gateway_ip': '69.117.60.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.117.60.194', 'tags': [], 'project_id': '8bde61bc16a84cdca83a1588dafe029b'}} 2025-12-01 02:23:54,911 - INFO - Created VN ctest-vn-54037439 2025-12-01 02:23:54,969 - DEBUG - VN ctest-vn-54037439 UUID is 5d5e31d3-f4d0-4942-8ef1-ea619e2fc971 2025-12-01 02:23:55,334 - DEBUG - Response for create_network : {'network': {'id': '8d48f380-22a5-4310-8ee8-f6d500df90a3', 'name': 'ctest-vn-20902792', 'tenant_id': '8bde61bc16a84cdca83a1588dafe029b', 'project_id': '8bde61bc16a84cdca83a1588dafe029b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96590827', 'ctest-vn-20902792'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 02:23:55,522 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd27aedc6-5ce0-4394-a08d-47758acca817', 'name': '', 'tenant_id': '8bde61bc16a84cdca83a1588dafe029b', 'network_id': '8d48f380-22a5-4310-8ee8-f6d500df90a3', 'ip_version': 4, 'cidr': '44.193.4.128/26', 'allocation_pools': [{'start': '44.193.4.130', 'end': '44.193.4.190'}], 'gateway_ip': '44.193.4.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.193.4.130', 'tags': [], 'project_id': '8bde61bc16a84cdca83a1588dafe029b'}} 2025-12-01 02:23:55,542 - INFO - Created VN ctest-vn-20902792 2025-12-01 02:23:55,597 - DEBUG - VN ctest-vn-20902792 UUID is 8d48f380-22a5-4310-8ee8-f6d500df90a3 2025-12-01 02:23:55,731 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96590827:ctest-vn-54037439, 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-96590827:ctest-vn-20902792, 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-12-01 02:23:56,087 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5d5e31d3-f4d0-4942-8ef1-ea619e2fc971', 'name': 'ctest-vn-54037439', 'tenant_id': '8bde61bc16a84cdca83a1588dafe029b', 'project_id': '8bde61bc16a84cdca83a1588dafe029b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4b664a96-ec12-44c1-9aa9-2dc755951c0a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96590827', 'ctest-vn-54037439'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96590827', 'ctest-policy-allow-all-43902922']], 'subnet_ipam': [{'subnet_cidr': '69.117.60.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-01 02:23:56,329 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8d48f380-22a5-4310-8ee8-f6d500df90a3', 'name': 'ctest-vn-20902792', 'tenant_id': '8bde61bc16a84cdca83a1588dafe029b', 'project_id': '8bde61bc16a84cdca83a1588dafe029b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d27aedc6-5ce0-4394-a08d-47758acca817'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96590827', 'ctest-vn-20902792'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96590827', 'ctest-policy-allow-all-43902922']], 'subnet_ipam': [{'subnet_cidr': '44.193.4.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-01 02:23:56,485 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-01 02:23:56,811 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-01 02:23:56,881 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1cdd2d94-11f4-497d-babf-74acad61b1f0 2025-12-01 02:23:56,899 - DEBUG - Requesting: http://10.0.0.50:8082/project/8bde61bc-16a8-4cdc-a83a-1588dafe029b 2025-12-01 02:23:56,983 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5d5e31d3-f4d0-4942-8ef1-ea619e2fc971 2025-12-01 02:23:56,996 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5d5e31d3-f4d0-4942-8ef1-ea619e2fc971 2025-12-01 02:23:57,009 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d1a9e5d6-f1b3-46c4-8a6b-90d08a269f48 2025-12-01 02:23:57,017 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d1a9e5d6-f1b3-46c4-8a6b-90d08a269f48 2025-12-01 02:23:57,024 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/35d2d64f-f616-4033-acb3-fb6be43b9b83 2025-12-01 02:23:57,033 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-01 02:23:57,033 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5d5e31d3-f4d0-4942-8ef1-ea619e2fc971 2025-12-01 02:23:57,043 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d1a9e5d6-f1b3-46c4-8a6b-90d08a269f48 2025-12-01 02:23:57,060 - INFO - Verified VN network id 12 for VN 5d5e31d3-f4d0-4942-8ef1-ea619e2fc971 2025-12-01 02:23:57,061 - INFO - Verifications in API Server for VN ctest-vn-54037439 passed 2025-12-01 02:23:57,061 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5d5e31d3-f4d0-4942-8ef1-ea619e2fc971 2025-12-01 02:23:57,073 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d1a9e5d6-f1b3-46c4-8a6b-90d08a269f48 2025-12-01 02:23:57,081 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d1a9e5d6-f1b3-46c4-8a6b-90d08a269f48 2025-12-01 02:23:57,089 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/35d2d64f-f616-4033-acb3-fb6be43b9b83 2025-12-01 02:23:57,103 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96590827:ctest-vn-54037439', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96590827', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6727869679753251138', 'uuid-lslong': '10300271527759694193'}, 'enable': 'true', 'created': '2025-12-01T02:23:54', 'last-modified': '2025-12-01T02:23:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.056682'} 2025-12-01 02:23:57,110 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-01 02:23:57,110 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54037439 passed 2025-12-01 02:23:57,110 - DEBUG - ====Verifying policy data for ctest-vn-54037439 in API_Server ====== 2025-12-01 02:23:57,110 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-01 02:23:57,117 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1cdd2d94-11f4-497d-babf-74acad61b1f0 2025-12-01 02:23:57,132 - DEBUG - Requesting: http://10.0.0.50:8082/project/8bde61bc-16a8-4cdc-a83a-1588dafe029b 2025-12-01 02:23:57,212 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5d5e31d3-f4d0-4942-8ef1-ea619e2fc971 2025-12-01 02:23:57,226 - DEBUG - ==>Verifying data for policy with id: 5190256a-a1e5-4fea-a5b0-e65726c420a6, fqn: ['default-domain', 'ctest-TestBasicPolicy-96590827', 'ctest-policy-allow-all-43902922'] 2025-12-01 02:23:57,226 - INFO - VN ctest-vn-54037439 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-01 02:23:57,226 - DEBUG - Verifying the vn in opserver 2025-12-01 02:23:57,226 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96590827:ctest-vn-54037439 virtual network link through opserver 10.0.0.50 2025-12-01 02:23:57,226 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-12-01 02:23:57,531 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-12-01 02:23:57,630 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96590827:ctest-vn-54037439', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96590827:ctest-vn-54037439?flat'} 2025-12-01 02:23:57,630 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96590827:ctest-vn-54037439 is found in opserver 2025-12-01 02:23:57,642 - DEBUG - Do not have enough data to verify VN in agent 2025-12-01 02:23:57,648 - DEBUG - VRF ids for VN ctest-vn-54037439: {} 2025-12-01 02:23:57,649 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-01 02:23:57,656 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1cdd2d94-11f4-497d-babf-74acad61b1f0 2025-12-01 02:23:57,671 - DEBUG - Requesting: http://10.0.0.50:8082/project/8bde61bc-16a8-4cdc-a83a-1588dafe029b 2025-12-01 02:23:57,748 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8d48f380-22a5-4310-8ee8-f6d500df90a3 2025-12-01 02:23:57,762 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8d48f380-22a5-4310-8ee8-f6d500df90a3 2025-12-01 02:23:57,772 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/05db2cd7-df17-4569-b54e-b937760a47e3 2025-12-01 02:23:57,780 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/05db2cd7-df17-4569-b54e-b937760a47e3 2025-12-01 02:23:57,790 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ddffbc81-32d5-4004-a09e-61f0b5c00c8e 2025-12-01 02:23:57,799 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-01 02:23:57,799 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8d48f380-22a5-4310-8ee8-f6d500df90a3 2025-12-01 02:23:57,811 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/05db2cd7-df17-4569-b54e-b937760a47e3 2025-12-01 02:23:57,830 - INFO - Verified VN network id 13 for VN 8d48f380-22a5-4310-8ee8-f6d500df90a3 2025-12-01 02:23:57,830 - INFO - Verifications in API Server for VN ctest-vn-20902792 passed 2025-12-01 02:23:57,830 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8d48f380-22a5-4310-8ee8-f6d500df90a3 2025-12-01 02:23:57,841 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/05db2cd7-df17-4569-b54e-b937760a47e3 2025-12-01 02:23:57,849 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/05db2cd7-df17-4569-b54e-b937760a47e3 2025-12-01 02:23:57,857 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ddffbc81-32d5-4004-a09e-61f0b5c00c8e 2025-12-01 02:23:57,873 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96590827:ctest-vn-20902792', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96590827', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10180654689333625616', 'uuid-lslong': '10297751942685757603'}, 'enable': 'true', 'created': '2025-12-01T02:23:55', 'last-modified': '2025-12-01T02:23:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.565716'} 2025-12-01 02:23:57,880 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-01 02:23:57,880 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20902792 passed 2025-12-01 02:23:57,880 - DEBUG - ====Verifying policy data for ctest-vn-20902792 in API_Server ====== 2025-12-01 02:23:57,880 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-01 02:23:57,888 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1cdd2d94-11f4-497d-babf-74acad61b1f0 2025-12-01 02:23:57,899 - DEBUG - Requesting: http://10.0.0.50:8082/project/8bde61bc-16a8-4cdc-a83a-1588dafe029b 2025-12-01 02:23:57,980 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8d48f380-22a5-4310-8ee8-f6d500df90a3 2025-12-01 02:23:57,993 - DEBUG - ==>Verifying data for policy with id: 5190256a-a1e5-4fea-a5b0-e65726c420a6, fqn: ['default-domain', 'ctest-TestBasicPolicy-96590827', 'ctest-policy-allow-all-43902922'] 2025-12-01 02:23:57,993 - INFO - VN ctest-vn-20902792 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-01 02:23:57,993 - DEBUG - Verifying the vn in opserver 2025-12-01 02:23:57,993 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96590827:ctest-vn-20902792 virtual network link through opserver 10.0.0.50 2025-12-01 02:23:57,993 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-12-01 02:23:58,005 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96590827:ctest-vn-20902792', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96590827:ctest-vn-20902792?flat'} 2025-12-01 02:23:58,005 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96590827:ctest-vn-20902792 is found in opserver 2025-12-01 02:23:58,015 - DEBUG - Do not have enough data to verify VN in agent 2025-12-01 02:23:58,020 - DEBUG - VRF ids for VN ctest-vn-20902792: {} 2025-12-01 02:23:58,100 - DEBUG - Services list from nova: [, , ] 2025-12-01 02:23:59,255 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4826-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4826-1) 2025-12-01 02:24:00,768 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4826-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4826-1) 2025-12-01 02:24:00,769 - INFO - Waiting for VM ctest-TestBasicPolicy-96590827-92578656 to be up.. 2025-12-01 02:24:00,874 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-01 02:24:05,978 - DEBUG - VM is in ACTIVE state now 2025-12-01 02:24:05,978 - INFO - VM name : ctest-TestBasicPolicy-96590827-92578656 2025-12-01 02:24:06,078 - DEBUG - VM ctest-TestBasicPolicy-96590827-92578656 ID is 59654468-a769-4f72-b359-8391150c0a3a 2025-12-01 02:24:06,102 - DEBUG - VM ctest-TestBasicPolicy-96590827-92578656 launched on Node cn-jenkins-deploy-platform-ansible-os-4826-1 2025-12-01 02:24:06,193 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/59654468-a769-4f72-b359-8391150c0a3a 2025-12-01 02:24:06,207 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cc5ffc3a-61ab-4ac3-b945-ffe6247c2d53 2025-12-01 02:24:09,433 - 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 1001ms') 2025-12-01 02:24:09,433 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96590827-92578656 failed! 2025-12-01 02:24:09,490 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-96590827:ctest-vn-54037439 is 69.117.60.193 and allocation pool is NOT set 2025-12-01 02:24:11,560 - 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=7.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.447 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.447/4.109/7.772/3.662 ms') 2025-12-01 02:24:11,560 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96590827-92578656 passed 2025-12-01 02:24:11,713 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:24:11,713 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96590827-92578656, IP 69.117.60.195, Port 22 2025-12-01 02:24:11,880 - DEBUG - VM ctest-TestBasicPolicy-96590827-92578656 is ready for SSH connections 2025-12-01 02:24:11,880 - INFO - Waiting for VM ctest-TestBasicPolicy-96590827-06122810 to be up.. 2025-12-01 02:24:11,978 - DEBUG - VM is in ACTIVE state now 2025-12-01 02:24:11,979 - INFO - VM name : ctest-TestBasicPolicy-96590827-06122810 2025-12-01 02:24:12,086 - DEBUG - VM ctest-TestBasicPolicy-96590827-06122810 ID is 5040829e-b8f1-47f3-b27d-56a745a4257c 2025-12-01 02:24:12,086 - DEBUG - VM ctest-TestBasicPolicy-96590827-06122810 launched on Node cn-jenkins-deploy-platform-ansible-os-4826-1 2025-12-01 02:24:12,180 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5040829e-b8f1-47f3-b27d-56a745a4257c 2025-12-01 02:24:12,189 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f3ada07c-5a22-412e-bc87-4b5d9ffbbc7e 2025-12-01 02:24:13,443 - 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=5.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.11 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 = 2.106/3.599/5.093/1.493 ms') 2025-12-01 02:24:13,443 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-96590827-06122810 passed 2025-12-01 02:24:13,597 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:24:13,597 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96590827-06122810, IP 44.193.4.131, Port 22 2025-12-01 02:24:13,763 - DEBUG - VM ctest-TestBasicPolicy-96590827-06122810 is ready for SSH connections 2025-12-01 02:24:13,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:24:13,763 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.193.4.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-12-01 02:24:13,763 - DEBUG - ping -s 56 -c 3 -W 1 44.193.4.131 2025-12-01 02:24:17,878 - DEBUG - PING 44.193.4.131 (44.193.4.131): 56 data bytes 64 bytes from 44.193.4.131: seq=0 ttl=63 time=5.112 ms 64 bytes from 44.193.4.131: seq=1 ttl=63 time=1.165 ms 64 bytes from 44.193.4.131: seq=2 ttl=63 time=0.993 ms --- 44.193.4.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.993/2.423/5.112 ms 2025-12-01 02:24:17,879 - INFO - Ping to IP 44.193.4.131 from VM ctest-TestBasicPolicy-96590827-92578656 passed 2025-12-01 02:24:18,065 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5190256a-a1e5-4fea-a5b0-e65726c420a6", "href": "http://10.0.0.50:8082/network-policy/5190256a-a1e5-4fea-a5b0-e65726c420a6"}} 2025-12-01 02:24:18,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:24:18,065 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.193.4.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-12-01 02:24:18,065 - DEBUG - ping -s 56 -c 3 -W 1 44.193.4.131 2025-12-01 02:24:21,317 - DEBUG - PING 44.193.4.131 (44.193.4.131): 56 data bytes --- 44.193.4.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-01 02:24:21,317 - WARNING - Ping to IP 44.193.4.131 from VM ctest-TestBasicPolicy-96590827-92578656 failed 2025-12-01 02:24:21,317 - INFO - Deleting VM ctest-TestBasicPolicy-96590827-06122810 2025-12-01 02:24:21,417 - INFO - Deleting VM ctest-TestBasicPolicy-96590827-92578656 2025-12-01 02:24:21,843 - INFO - Deleted policy ctest-policy-allow-all-43902922 2025-12-01 02:24:21,843 - INFO - Deleting VN ctest-vn-20902792 2025-12-01 02:24:21,889 - DEBUG - VN 8d48f380-22a5-4310-8ee8-f6d500df90a3 still in use: Unable to complete operation on network 8d48f380-22a5-4310-8ee8-f6d500df90a3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-885f7c28-76db-4cf1-aef1-e667fa227a34'] 2025-12-01 02:24:21,889 - WARNING - Deleting VN ctest-vn-20902792 failed..Will retry 2025-12-01 02:24:24,016 - DEBUG - Response for deleting network () 2025-12-01 02:24:24,017 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/05db2cd7-df17-4569-b54e-b937760a47e3 2025-12-01 02:24:24,025 - DEBUG - Response Code: 404 2025-12-01 02:24:24,025 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-01 02:24:24,032 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1cdd2d94-11f4-497d-babf-74acad61b1f0 2025-12-01 02:24:24,088 - DEBUG - Requesting: http://10.0.0.50:8082/project/8bde61bc-16a8-4cdc-a83a-1588dafe029b 2025-12-01 02:24:24,165 - INFO - Validated that VN ctest-vn-20902792 is not found in API Server 2025-12-01 02:24:24,177 - DEBUG - VN ctest-vn-20902792 is not present in Agent 10.0.0.50 2025-12-01 02:24:24,177 - INFO - Validated that VN ctest-vn-20902792 is not in any agent 2025-12-01 02:24:24,193 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20902792 info 2025-12-01 02:24:24,194 - INFO - Deleting VN ctest-vn-54037439 2025-12-01 02:24:24,320 - DEBUG - Response for deleting network () 2025-12-01 02:24:24,320 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d1a9e5d6-f1b3-46c4-8a6b-90d08a269f48 2025-12-01 02:24:24,329 - DEBUG - Response Code: 404 2025-12-01 02:24:24,330 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-01 02:24:24,336 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1cdd2d94-11f4-497d-babf-74acad61b1f0 2025-12-01 02:24:24,392 - DEBUG - Requesting: http://10.0.0.50:8082/project/8bde61bc-16a8-4cdc-a83a-1588dafe029b 2025-12-01 02:24:24,465 - INFO - Validated that VN ctest-vn-54037439 is not found in API Server 2025-12-01 02:24:24,475 - DEBUG - VN ctest-vn-54037439 is not present in Agent 10.0.0.50 2025-12-01 02:24:24,475 - INFO - Validated that VN ctest-vn-54037439 is not in any agent 2025-12-01 02:24:24,490 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54037439 info 2025-12-01 02:24:24,751 - DEBUG - No XMPP flaps were noticed during the test 2025-12-01 02:24:24,751 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-12-01 02:24:24,751 - INFO - -------------------------------------------------------------------------------- 2025-12-01 02:24:25,512 - INFO - Deleted project: ctest-TestBasicPolicy-96590827, ID : 8bde61bc-16a8-4cdc-a83a-1588dafe029b