2025-04-22 23:13:27,108 - INFO - Domain Default found not creating 2025-04-22 23:13:27,239 - INFO - Project ctest-TestBasicPolicy-43604458 not found, creating it 2025-04-22 23:13:27,673 - INFO - Created Project:ctest-TestBasicPolicy-43604458, ID : 697c6eb7-43ab-4234-b64a-f00f625d0446 2025-04-22 23:13:29,168 - INFO - ================================================================================ 2025-04-22 23:13:29,168 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-22 23:13:29,168 - 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-04-22 23:13:29,430 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-04-22 23:13:29,430 - INFO - Initial checks done. Running the testcase now 2025-04-22 23:13:29,430 - INFO - 2025-04-22 23:13:30,005 - DEBUG - Response for create_network : {'network': {'id': 'f1b69944-4b39-43a6-a558-3a60a046d43b', 'name': 'ctest-vn-82494832', 'tenant_id': '697c6eb743ab4234b64af00f625d0446', 'project_id': '697c6eb743ab4234b64af00f625d0446', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43604458', 'ctest-vn-82494832'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 23:13:30,153 - DEBUG - Response for create_subnet : {'subnet': {'id': '18843226-9d42-41f1-92d5-b30d902ad9e6', 'name': '', 'tenant_id': '697c6eb743ab4234b64af00f625d0446', 'network_id': 'f1b69944-4b39-43a6-a558-3a60a046d43b', 'ip_version': 4, 'cidr': '4.9.82.128/26', 'allocation_pools': [{'start': '4.9.82.130', 'end': '4.9.82.190'}], 'gateway_ip': '4.9.82.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.9.82.130', 'tags': [], 'project_id': '697c6eb743ab4234b64af00f625d0446'}} 2025-04-22 23:13:30,172 - INFO - Created VN ctest-vn-82494832 2025-04-22 23:13:30,224 - DEBUG - VN ctest-vn-82494832 UUID is f1b69944-4b39-43a6-a558-3a60a046d43b 2025-04-22 23:13:30,546 - DEBUG - Response for create_network : {'network': {'id': '6d70b42a-06b2-4af4-aeb7-5e06475a1c58', 'name': 'ctest-vn-39748342', 'tenant_id': '697c6eb743ab4234b64af00f625d0446', 'project_id': '697c6eb743ab4234b64af00f625d0446', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43604458', 'ctest-vn-39748342'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 23:13:30,744 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b8440f45-929a-4563-bf51-0a74d48dfa9f', 'name': '', 'tenant_id': '697c6eb743ab4234b64af00f625d0446', 'network_id': '6d70b42a-06b2-4af4-aeb7-5e06475a1c58', 'ip_version': 4, 'cidr': '154.101.2.192/26', 'allocation_pools': [{'start': '154.101.2.194', 'end': '154.101.2.254'}], 'gateway_ip': '154.101.2.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.101.2.194', 'tags': [], 'project_id': '697c6eb743ab4234b64af00f625d0446'}} 2025-04-22 23:13:30,761 - INFO - Created VN ctest-vn-39748342 2025-04-22 23:13:30,816 - DEBUG - VN ctest-vn-39748342 UUID is 6d70b42a-06b2-4af4-aeb7-5e06475a1c58 2025-04-22 23:13:30,964 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43604458:ctest-vn-82494832, 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-43604458:ctest-vn-39748342, 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-04-22 23:13:31,254 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f1b69944-4b39-43a6-a558-3a60a046d43b', 'name': 'ctest-vn-82494832', 'tenant_id': '697c6eb743ab4234b64af00f625d0446', 'project_id': '697c6eb743ab4234b64af00f625d0446', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['18843226-9d42-41f1-92d5-b30d902ad9e6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43604458', 'ctest-vn-82494832'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43604458', 'ctest-policy-allow-all-05706843']], 'subnet_ipam': [{'subnet_cidr': '4.9.82.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-22 23:13:31,504 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6d70b42a-06b2-4af4-aeb7-5e06475a1c58', 'name': 'ctest-vn-39748342', 'tenant_id': '697c6eb743ab4234b64af00f625d0446', 'project_id': '697c6eb743ab4234b64af00f625d0446', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b8440f45-929a-4563-bf51-0a74d48dfa9f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43604458', 'ctest-vn-39748342'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43604458', 'ctest-policy-allow-all-05706843']], 'subnet_ipam': [{'subnet_cidr': '154.101.2.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-22 23:13:31,668 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-04-22 23:13:31,997 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-04-22 23:13:32,023 - DEBUG - Requesting: http://10.0.0.48:8082/domain/df7abd37-3a96-44a7-b668-5802dd524793 2025-04-22 23:13:32,036 - DEBUG - Requesting: http://10.0.0.48:8082/project/697c6eb7-43ab-4234-b64a-f00f625d0446 2025-04-22 23:13:32,119 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/f1b69944-4b39-43a6-a558-3a60a046d43b 2025-04-22 23:13:32,130 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/f1b69944-4b39-43a6-a558-3a60a046d43b 2025-04-22 23:13:32,140 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/787ae3df-94ac-4dde-b812-8356203189d9 2025-04-22 23:13:32,147 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/787ae3df-94ac-4dde-b812-8356203189d9 2025-04-22 23:13:32,153 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/7126851d-fac3-4461-8db3-e46a173dc8ba 2025-04-22 23:13:32,160 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-22 23:13:32,160 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/f1b69944-4b39-43a6-a558-3a60a046d43b 2025-04-22 23:13:32,170 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/787ae3df-94ac-4dde-b812-8356203189d9 2025-04-22 23:13:32,183 - INFO - Verified VN network id 8 for VN f1b69944-4b39-43a6-a558-3a60a046d43b 2025-04-22 23:13:32,183 - INFO - Verifications in API Server for VN ctest-vn-82494832 passed 2025-04-22 23:13:32,183 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/f1b69944-4b39-43a6-a558-3a60a046d43b 2025-04-22 23:13:32,192 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/787ae3df-94ac-4dde-b812-8356203189d9 2025-04-22 23:13:32,199 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/787ae3df-94ac-4dde-b812-8356203189d9 2025-04-22 23:13:32,205 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/7126851d-fac3-4461-8db3-e46a173dc8ba 2025-04-22 23:13:32,218 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43604458:ctest-vn-82494832', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43604458', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17417277127500841894', 'uuid-lslong': '11914337000888915003'}, 'enable': 'true', 'created': '2025-04-22T23:13:29', 'last-modified': '2025-04-22T23:13:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.978312'} 2025-04-22 23:13:32,224 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-22 23:13:32,225 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82494832 passed 2025-04-22 23:13:32,225 - DEBUG - ====Verifying policy data for ctest-vn-82494832 in API_Server ====== 2025-04-22 23:13:32,225 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-04-22 23:13:32,230 - DEBUG - Requesting: http://10.0.0.48:8082/domain/df7abd37-3a96-44a7-b668-5802dd524793 2025-04-22 23:13:32,241 - DEBUG - Requesting: http://10.0.0.48:8082/project/697c6eb7-43ab-4234-b64a-f00f625d0446 2025-04-22 23:13:32,316 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/f1b69944-4b39-43a6-a558-3a60a046d43b 2025-04-22 23:13:32,326 - DEBUG - ==>Verifying data for policy with id: 97c4fe29-1deb-4889-a279-a5d92cc17d9a, fqn: ['default-domain', 'ctest-TestBasicPolicy-43604458', 'ctest-policy-allow-all-05706843'] 2025-04-22 23:13:32,326 - INFO - VN ctest-vn-82494832 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-22 23:13:32,326 - DEBUG - Verifying the vn in opserver 2025-04-22 23:13:32,326 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43604458:ctest-vn-82494832 virtual network link through opserver 10.0.0.48 2025-04-22 23:13:32,326 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-04-22 23:13:32,654 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-04-22 23:13:32,712 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43604458:ctest-vn-82494832', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43604458:ctest-vn-82494832?flat'} 2025-04-22 23:13:32,713 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43604458:ctest-vn-82494832 is found in opserver 2025-04-22 23:13:32,724 - DEBUG - Do not have enough data to verify VN in agent 2025-04-22 23:13:32,729 - DEBUG - VRF ids for VN ctest-vn-82494832: {} 2025-04-22 23:13:32,729 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-04-22 23:13:32,735 - DEBUG - Requesting: http://10.0.0.48:8082/domain/df7abd37-3a96-44a7-b668-5802dd524793 2025-04-22 23:13:32,747 - DEBUG - Requesting: http://10.0.0.48:8082/project/697c6eb7-43ab-4234-b64a-f00f625d0446 2025-04-22 23:13:32,838 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/6d70b42a-06b2-4af4-aeb7-5e06475a1c58 2025-04-22 23:13:32,854 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/6d70b42a-06b2-4af4-aeb7-5e06475a1c58 2025-04-22 23:13:32,866 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/a066a444-6a18-499b-8f70-27c4be8878a7 2025-04-22 23:13:32,874 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/a066a444-6a18-499b-8f70-27c4be8878a7 2025-04-22 23:13:32,882 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/45f324e6-01c4-4efe-9e40-27a3cc052c1d 2025-04-22 23:13:32,888 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-22 23:13:32,889 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/6d70b42a-06b2-4af4-aeb7-5e06475a1c58 2025-04-22 23:13:32,898 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/a066a444-6a18-499b-8f70-27c4be8878a7 2025-04-22 23:13:32,911 - INFO - Verified VN network id 9 for VN 6d70b42a-06b2-4af4-aeb7-5e06475a1c58 2025-04-22 23:13:32,911 - INFO - Verifications in API Server for VN ctest-vn-39748342 passed 2025-04-22 23:13:32,911 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/6d70b42a-06b2-4af4-aeb7-5e06475a1c58 2025-04-22 23:13:32,921 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/a066a444-6a18-499b-8f70-27c4be8878a7 2025-04-22 23:13:32,928 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/a066a444-6a18-499b-8f70-27c4be8878a7 2025-04-22 23:13:32,934 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/45f324e6-01c4-4efe-9e40-27a3cc052c1d 2025-04-22 23:13:32,946 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43604458:ctest-vn-39748342', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43604458', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7886001040119712500', 'uuid-lslong': '12589634664397413464'}, 'enable': 'true', 'created': '2025-04-22T23:13:30', 'last-modified': '2025-04-22T23:13:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.469814'} 2025-04-22 23:13:32,952 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-22 23:13:32,952 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39748342 passed 2025-04-22 23:13:32,953 - DEBUG - ====Verifying policy data for ctest-vn-39748342 in API_Server ====== 2025-04-22 23:13:32,953 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-04-22 23:13:32,957 - DEBUG - Requesting: http://10.0.0.48:8082/domain/df7abd37-3a96-44a7-b668-5802dd524793 2025-04-22 23:13:32,968 - DEBUG - Requesting: http://10.0.0.48:8082/project/697c6eb7-43ab-4234-b64a-f00f625d0446 2025-04-22 23:13:33,042 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/6d70b42a-06b2-4af4-aeb7-5e06475a1c58 2025-04-22 23:13:33,052 - DEBUG - ==>Verifying data for policy with id: 97c4fe29-1deb-4889-a279-a5d92cc17d9a, fqn: ['default-domain', 'ctest-TestBasicPolicy-43604458', 'ctest-policy-allow-all-05706843'] 2025-04-22 23:13:33,052 - INFO - VN ctest-vn-39748342 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-22 23:13:33,052 - DEBUG - Verifying the vn in opserver 2025-04-22 23:13:33,052 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43604458:ctest-vn-39748342 virtual network link through opserver 10.0.0.48 2025-04-22 23:13:33,052 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-04-22 23:13:33,062 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43604458:ctest-vn-39748342', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43604458:ctest-vn-39748342?flat'} 2025-04-22 23:13:33,062 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43604458:ctest-vn-39748342 is found in opserver 2025-04-22 23:13:33,072 - DEBUG - Do not have enough data to verify VN in agent 2025-04-22 23:13:33,078 - DEBUG - VRF ids for VN ctest-vn-39748342: {} 2025-04-22 23:13:33,128 - DEBUG - Services list from nova: [, , ] 2025-04-22 23:13:34,175 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3175-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3175-1) 2025-04-22 23:13:35,450 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3175-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3175-1) 2025-04-22 23:13:35,451 - INFO - Waiting for VM ctest-TestBasicPolicy-43604458-92164265 to be up.. 2025-04-22 23:13:35,524 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-22 23:13:40,597 - DEBUG - VM is in ACTIVE state now 2025-04-22 23:13:40,598 - INFO - VM name : ctest-TestBasicPolicy-43604458-92164265 2025-04-22 23:13:40,666 - DEBUG - VM ctest-TestBasicPolicy-43604458-92164265 ID is f4ea376d-b2a9-4871-ac78-fbbcb259c071 2025-04-22 23:13:40,683 - DEBUG - VM ctest-TestBasicPolicy-43604458-92164265 launched on Node cn-jenkins-deploy-platform-ansible-os-3175-1 2025-04-22 23:13:40,757 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/f4ea376d-b2a9-4871-ac78-fbbcb259c071 2025-04-22 23:13:40,767 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/bdbaa6ab-9086-4ad9-b35e-0fe9993792d6 2025-04-22 23:13:44,043 - 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 1031ms') 2025-04-22 23:13:44,043 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43604458-92164265 failed! 2025-04-22 23:13:44,096 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43604458:ctest-vn-82494832 is 4.9.82.129 and allocation pool is NOT set 2025-04-22 23:13:46,162 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=8.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.849 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.849/4.803/8.757/3.954 ms') 2025-04-22 23:13:46,162 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43604458-92164265 passed 2025-04-22 23:13:46,316 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 23:13:46,316 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43604458-92164265, IP 4.9.82.131, Port 22 2025-04-22 23:13:46,467 - DEBUG - VM ctest-TestBasicPolicy-43604458-92164265 is ready for SSH connections 2025-04-22 23:13:46,467 - INFO - Waiting for VM ctest-TestBasicPolicy-43604458-94882087 to be up.. 2025-04-22 23:13:46,546 - DEBUG - VM is in ACTIVE state now 2025-04-22 23:13:46,546 - INFO - VM name : ctest-TestBasicPolicy-43604458-94882087 2025-04-22 23:13:46,617 - DEBUG - VM ctest-TestBasicPolicy-43604458-94882087 ID is 8cb5c4cf-aaa3-4170-929c-87c1cbfeeeef 2025-04-22 23:13:46,617 - DEBUG - VM ctest-TestBasicPolicy-43604458-94882087 launched on Node cn-jenkins-deploy-platform-ansible-os-3175-1 2025-04-22 23:13:46,692 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/8cb5c4cf-aaa3-4170-929c-87c1cbfeeeef 2025-04-22 23:13:46,700 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/3f1923ad-58c9-40bc-811f-a88fd7793efe 2025-04-22 23:13:47,942 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.553 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.553/1.853/3.153/1.300 ms') 2025-04-22 23:13:47,942 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43604458-94882087 passed 2025-04-22 23:13:48,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 23:13:48,092 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43604458-94882087, IP 154.101.2.195, Port 22 2025-04-22 23:13:48,248 - DEBUG - VM ctest-TestBasicPolicy-43604458-94882087 is ready for SSH connections 2025-04-22 23:13:48,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 23:13:48,248 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.101.2.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-04-22 23:13:48,248 - DEBUG - ping -s 56 -c 3 -W 1 154.101.2.195 2025-04-22 23:13:51,934 - DEBUG - PING 154.101.2.195 (154.101.2.195): 56 data bytes 64 bytes from 154.101.2.195: seq=0 ttl=63 time=3.616 ms 64 bytes from 154.101.2.195: seq=1 ttl=63 time=0.702 ms 64 bytes from 154.101.2.195: seq=2 ttl=63 time=0.708 ms --- 154.101.2.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.702/1.675/3.616 ms 2025-04-22 23:13:51,934 - INFO - Ping to IP 154.101.2.195 from VM ctest-TestBasicPolicy-43604458-92164265 passed 2025-04-22 23:13:52,116 - DEBUG - Policy Update Response {"network-policy": {"uuid": "97c4fe29-1deb-4889-a279-a5d92cc17d9a", "href": "http://10.0.0.48:8082/network-policy/97c4fe29-1deb-4889-a279-a5d92cc17d9a"}} 2025-04-22 23:13:52,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 23:13:52,116 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.101.2.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-04-22 23:13:52,116 - DEBUG - ping -s 56 -c 3 -W 1 154.101.2.195 2025-04-22 23:13:55,327 - DEBUG - PING 154.101.2.195 (154.101.2.195): 56 data bytes 64 bytes from 154.101.2.195: seq=0 ttl=63 time=1.377 ms --- 154.101.2.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.377/1.377/1.377 ms 2025-04-22 23:13:55,328 - WARNING - Ping to IP 154.101.2.195 from VM ctest-TestBasicPolicy-43604458-92164265 failed 2025-04-22 23:13:55,328 - INFO - Deleting VM ctest-TestBasicPolicy-43604458-94882087 2025-04-22 23:13:55,390 - INFO - Deleting VM ctest-TestBasicPolicy-43604458-92164265 2025-04-22 23:13:55,783 - INFO - Deleted policy ctest-policy-allow-all-05706843 2025-04-22 23:13:55,783 - INFO - Deleting VN ctest-vn-39748342 2025-04-22 23:13:55,830 - DEBUG - VN 6d70b42a-06b2-4af4-aeb7-5e06475a1c58 still in use: Unable to complete operation on network 6d70b42a-06b2-4af4-aeb7-5e06475a1c58. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d96565c9-caa2-4baa-b00b-e074f4aa9907'] 2025-04-22 23:13:55,830 - WARNING - Deleting VN ctest-vn-39748342 failed..Will retry 2025-04-22 23:13:57,926 - DEBUG - Response for deleting network () 2025-04-22 23:13:57,926 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/a066a444-6a18-499b-8f70-27c4be8878a7 2025-04-22 23:13:57,933 - DEBUG - Response Code: 404 2025-04-22 23:13:57,933 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-04-22 23:13:57,939 - DEBUG - Requesting: http://10.0.0.48:8082/domain/df7abd37-3a96-44a7-b668-5802dd524793 2025-04-22 23:13:57,993 - DEBUG - Requesting: http://10.0.0.48:8082/project/697c6eb7-43ab-4234-b64a-f00f625d0446 2025-04-22 23:13:58,061 - INFO - Validated that VN ctest-vn-39748342 is not found in API Server 2025-04-22 23:13:58,072 - DEBUG - VN ctest-vn-39748342 is not present in Agent 10.0.0.48 2025-04-22 23:13:58,072 - INFO - Validated that VN ctest-vn-39748342 is not in any agent 2025-04-22 23:13:58,088 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39748342 info 2025-04-22 23:13:58,088 - INFO - Deleting VN ctest-vn-82494832 2025-04-22 23:13:58,188 - DEBUG - Response for deleting network () 2025-04-22 23:13:58,188 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/787ae3df-94ac-4dde-b812-8356203189d9 2025-04-22 23:13:58,195 - DEBUG - Response Code: 404 2025-04-22 23:13:58,195 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-04-22 23:13:58,200 - DEBUG - Requesting: http://10.0.0.48:8082/domain/df7abd37-3a96-44a7-b668-5802dd524793 2025-04-22 23:13:58,253 - DEBUG - Requesting: http://10.0.0.48:8082/project/697c6eb7-43ab-4234-b64a-f00f625d0446 2025-04-22 23:13:58,331 - INFO - Validated that VN ctest-vn-82494832 is not found in API Server 2025-04-22 23:13:58,342 - DEBUG - VN ctest-vn-82494832 is not present in Agent 10.0.0.48 2025-04-22 23:13:58,342 - INFO - Validated that VN ctest-vn-82494832 is not in any agent 2025-04-22 23:13:58,358 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82494832 info 2025-04-22 23:13:58,618 - DEBUG - No XMPP flaps were noticed during the test 2025-04-22 23:13:58,618 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-04-22 23:13:58,618 - INFO - -------------------------------------------------------------------------------- 2025-04-22 23:13:59,394 - INFO - Deleted project: ctest-TestBasicPolicy-43604458, ID : 697c6eb7-43ab-4234-b64a-f00f625d0446