2025-06-16 07:06:59,120 - INFO - Domain Default found not creating 2025-06-16 07:06:59,279 - INFO - Project ctest-TestBasicPolicy-51598420 not found, creating it 2025-06-16 07:06:59,765 - INFO - Created Project:ctest-TestBasicPolicy-51598420, ID : 28e901a1-3423-49f6-aa7d-8b0405c401e3 2025-06-16 07:07:01,416 - INFO - ================================================================================ 2025-06-16 07:07:01,416 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-16 07:07:01,416 - 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-06-16 07:07:01,672 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-16 07:07:01,672 - INFO - Initial checks done. Running the testcase now 2025-06-16 07:07:01,672 - INFO - 2025-06-16 07:07:02,346 - DEBUG - Response for create_network : {'network': {'id': '0054e2e6-3dd8-4f16-8a22-9faaa8b307e6', 'name': 'ctest-vn-49260147', 'tenant_id': '28e901a1342349f6aa7d8b0405c401e3', 'project_id': '28e901a1342349f6aa7d8b0405c401e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51598420', 'ctest-vn-49260147'], 'port_security_enabled': True, 'description': ''}} 2025-06-16 07:07:02,566 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff5a78be-ec84-404e-ac33-53b566599f99', 'name': '', 'tenant_id': '28e901a1342349f6aa7d8b0405c401e3', 'network_id': '0054e2e6-3dd8-4f16-8a22-9faaa8b307e6', 'ip_version': 4, 'cidr': '161.216.19.192/26', 'allocation_pools': [{'start': '161.216.19.194', 'end': '161.216.19.254'}], 'gateway_ip': '161.216.19.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.216.19.194', 'tags': [], 'project_id': '28e901a1342349f6aa7d8b0405c401e3'}} 2025-06-16 07:07:02,587 - INFO - Created VN ctest-vn-49260147 2025-06-16 07:07:02,643 - DEBUG - VN ctest-vn-49260147 UUID is 0054e2e6-3dd8-4f16-8a22-9faaa8b307e6 2025-06-16 07:07:02,973 - DEBUG - Response for create_network : {'network': {'id': '353f8cd7-048b-4c1e-b258-d6f6c7b3ef7a', 'name': 'ctest-vn-44030034', 'tenant_id': '28e901a1342349f6aa7d8b0405c401e3', 'project_id': '28e901a1342349f6aa7d8b0405c401e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51598420', 'ctest-vn-44030034'], 'port_security_enabled': True, 'description': ''}} 2025-06-16 07:07:03,200 - DEBUG - Response for create_subnet : {'subnet': {'id': '533f8d34-75d7-4317-af05-0b82b729e97e', 'name': '', 'tenant_id': '28e901a1342349f6aa7d8b0405c401e3', 'network_id': '353f8cd7-048b-4c1e-b258-d6f6c7b3ef7a', 'ip_version': 4, 'cidr': '176.249.206.192/26', 'allocation_pools': [{'start': '176.249.206.194', 'end': '176.249.206.254'}], 'gateway_ip': '176.249.206.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.249.206.194', 'tags': [], 'project_id': '28e901a1342349f6aa7d8b0405c401e3'}} 2025-06-16 07:07:03,225 - INFO - Created VN ctest-vn-44030034 2025-06-16 07:07:03,279 - DEBUG - VN ctest-vn-44030034 UUID is 353f8cd7-048b-4c1e-b258-d6f6c7b3ef7a 2025-06-16 07:07:03,537 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51598420:ctest-vn-49260147, 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-51598420:ctest-vn-44030034, 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-06-16 07:07:04,138 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0054e2e6-3dd8-4f16-8a22-9faaa8b307e6', 'name': 'ctest-vn-49260147', 'tenant_id': '28e901a1342349f6aa7d8b0405c401e3', 'project_id': '28e901a1342349f6aa7d8b0405c401e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ff5a78be-ec84-404e-ac33-53b566599f99'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51598420', 'ctest-vn-49260147'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51598420', 'ctest-policy-allow-all-21162402']], 'subnet_ipam': [{'subnet_cidr': '161.216.19.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-16 07:07:04,372 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '353f8cd7-048b-4c1e-b258-d6f6c7b3ef7a', 'name': 'ctest-vn-44030034', 'tenant_id': '28e901a1342349f6aa7d8b0405c401e3', 'project_id': '28e901a1342349f6aa7d8b0405c401e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['533f8d34-75d7-4317-af05-0b82b729e97e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51598420', 'ctest-vn-44030034'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51598420', 'ctest-policy-allow-all-21162402']], 'subnet_ipam': [{'subnet_cidr': '176.249.206.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-16 07:07:04,587 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-16 07:07:04,945 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-16 07:07:04,979 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8181313b-efad-44a8-aa04-8d0eb51e6d8a 2025-06-16 07:07:04,994 - DEBUG - Requesting: http://10.0.0.254:8082/project/28e901a1-3423-49f6-aa7d-8b0405c401e3 2025-06-16 07:07:05,075 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0054e2e6-3dd8-4f16-8a22-9faaa8b307e6 2025-06-16 07:07:05,090 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0054e2e6-3dd8-4f16-8a22-9faaa8b307e6 2025-06-16 07:07:05,101 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a8881bf7-0bbf-4135-8143-35dfc791f724 2025-06-16 07:07:05,110 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a8881bf7-0bbf-4135-8143-35dfc791f724 2025-06-16 07:07:05,119 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/46f83bed-e609-4813-9f4f-e8f2fc804f74 2025-06-16 07:07:05,126 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-16 07:07:05,126 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0054e2e6-3dd8-4f16-8a22-9faaa8b307e6 2025-06-16 07:07:05,138 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a8881bf7-0bbf-4135-8143-35dfc791f724 2025-06-16 07:07:05,155 - INFO - Verified VN network id 9 for VN 0054e2e6-3dd8-4f16-8a22-9faaa8b307e6 2025-06-16 07:07:05,155 - INFO - Verifications in API Server for VN ctest-vn-49260147 passed 2025-06-16 07:07:05,155 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0054e2e6-3dd8-4f16-8a22-9faaa8b307e6 2025-06-16 07:07:05,167 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a8881bf7-0bbf-4135-8143-35dfc791f724 2025-06-16 07:07:05,177 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a8881bf7-0bbf-4135-8143-35dfc791f724 2025-06-16 07:07:05,186 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/46f83bed-e609-4813-9f4f-e8f2fc804f74 2025-06-16 07:07:05,199 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51598420:ctest-vn-49260147', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51598420', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '23893376551636758', 'uuid-lslong': '9953693681765779430'}, 'enable': 'true', 'created': '2025-06-16T07:07:02', 'last-modified': '2025-06-16T07:07:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.119361'} 2025-06-16 07:07:05,207 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-16 07:07:05,207 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49260147 passed 2025-06-16 07:07:05,207 - DEBUG - ====Verifying policy data for ctest-vn-49260147 in API_Server ====== 2025-06-16 07:07:05,207 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-16 07:07:05,213 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8181313b-efad-44a8-aa04-8d0eb51e6d8a 2025-06-16 07:07:05,226 - DEBUG - Requesting: http://10.0.0.254:8082/project/28e901a1-3423-49f6-aa7d-8b0405c401e3 2025-06-16 07:07:05,311 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0054e2e6-3dd8-4f16-8a22-9faaa8b307e6 2025-06-16 07:07:05,331 - DEBUG - ==>Verifying data for policy with id: d36bfec5-bf42-4b00-927c-b81c9963602f, fqn: ['default-domain', 'ctest-TestBasicPolicy-51598420', 'ctest-policy-allow-all-21162402'] 2025-06-16 07:07:05,331 - INFO - VN ctest-vn-49260147 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-16 07:07:05,332 - DEBUG - Verifying the vn in opserver 2025-06-16 07:07:05,332 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51598420:ctest-vn-49260147 virtual network link through opserver 10.0.0.254 2025-06-16 07:07:05,332 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-16 07:07:05,681 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-16 07:07:05,798 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51598420:ctest-vn-49260147', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51598420:ctest-vn-49260147?flat'} 2025-06-16 07:07:05,798 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51598420:ctest-vn-49260147 is found in opserver 2025-06-16 07:07:05,811 - DEBUG - Do not have enough data to verify VN in agent 2025-06-16 07:07:05,819 - DEBUG - VRF ids for VN ctest-vn-49260147: {} 2025-06-16 07:07:05,819 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-16 07:07:05,825 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8181313b-efad-44a8-aa04-8d0eb51e6d8a 2025-06-16 07:07:05,839 - DEBUG - Requesting: http://10.0.0.254:8082/project/28e901a1-3423-49f6-aa7d-8b0405c401e3 2025-06-16 07:07:05,912 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/353f8cd7-048b-4c1e-b258-d6f6c7b3ef7a 2025-06-16 07:07:05,930 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/353f8cd7-048b-4c1e-b258-d6f6c7b3ef7a 2025-06-16 07:07:05,946 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c8486fc3-f389-49f9-b584-71587be58a2b 2025-06-16 07:07:05,965 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c8486fc3-f389-49f9-b584-71587be58a2b 2025-06-16 07:07:05,974 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/cb39a485-60b4-439d-9bfd-5b8c21c90fa1 2025-06-16 07:07:05,982 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-16 07:07:05,982 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/353f8cd7-048b-4c1e-b258-d6f6c7b3ef7a 2025-06-16 07:07:05,993 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c8486fc3-f389-49f9-b584-71587be58a2b 2025-06-16 07:07:06,011 - INFO - Verified VN network id 10 for VN 353f8cd7-048b-4c1e-b258-d6f6c7b3ef7a 2025-06-16 07:07:06,012 - INFO - Verifications in API Server for VN ctest-vn-44030034 passed 2025-06-16 07:07:06,012 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/353f8cd7-048b-4c1e-b258-d6f6c7b3ef7a 2025-06-16 07:07:06,024 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c8486fc3-f389-49f9-b584-71587be58a2b 2025-06-16 07:07:06,032 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c8486fc3-f389-49f9-b584-71587be58a2b 2025-06-16 07:07:06,040 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/cb39a485-60b4-439d-9bfd-5b8c21c90fa1 2025-06-16 07:07:06,055 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51598420:ctest-vn-44030034', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51598420', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3836940262665047070', 'uuid-lslong': '12851257892102467450'}, 'enable': 'true', 'created': '2025-06-16T07:07:02', 'last-modified': '2025-06-16T07:07:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.709996'} 2025-06-16 07:07:06,062 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-16 07:07:06,062 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44030034 passed 2025-06-16 07:07:06,062 - DEBUG - ====Verifying policy data for ctest-vn-44030034 in API_Server ====== 2025-06-16 07:07:06,062 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-16 07:07:06,069 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8181313b-efad-44a8-aa04-8d0eb51e6d8a 2025-06-16 07:07:06,083 - DEBUG - Requesting: http://10.0.0.254:8082/project/28e901a1-3423-49f6-aa7d-8b0405c401e3 2025-06-16 07:07:06,160 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/353f8cd7-048b-4c1e-b258-d6f6c7b3ef7a 2025-06-16 07:07:06,174 - DEBUG - ==>Verifying data for policy with id: d36bfec5-bf42-4b00-927c-b81c9963602f, fqn: ['default-domain', 'ctest-TestBasicPolicy-51598420', 'ctest-policy-allow-all-21162402'] 2025-06-16 07:07:06,174 - INFO - VN ctest-vn-44030034 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-16 07:07:06,174 - DEBUG - Verifying the vn in opserver 2025-06-16 07:07:06,174 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51598420:ctest-vn-44030034 virtual network link through opserver 10.0.0.254 2025-06-16 07:07:06,174 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-16 07:07:06,187 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51598420:ctest-vn-44030034', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51598420:ctest-vn-44030034?flat'} 2025-06-16 07:07:06,188 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51598420:ctest-vn-44030034 is found in opserver 2025-06-16 07:07:06,200 - DEBUG - Do not have enough data to verify VN in agent 2025-06-16 07:07:06,206 - DEBUG - VRF ids for VN ctest-vn-44030034: {} 2025-06-16 07:07:06,270 - DEBUG - Services list from nova: [, , ] 2025-06-16 07:07:07,407 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3455-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3455-1) 2025-06-16 07:07:08,848 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3455-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3455-1) 2025-06-16 07:07:08,848 - INFO - Waiting for VM ctest-TestBasicPolicy-51598420-19442369 to be up.. 2025-06-16 07:07:08,960 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-16 07:07:14,055 - DEBUG - VM is in ACTIVE state now 2025-06-16 07:07:14,055 - INFO - VM name : ctest-TestBasicPolicy-51598420-19442369 2025-06-16 07:07:14,138 - DEBUG - VM ctest-TestBasicPolicy-51598420-19442369 ID is 67625d14-d40b-41b9-b811-6446e616f86f 2025-06-16 07:07:14,159 - DEBUG - VM ctest-TestBasicPolicy-51598420-19442369 launched on Node cn-jenkins-deploy-platform-ansible-os-3455-1 2025-06-16 07:07:14,245 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/67625d14-d40b-41b9-b811-6446e616f86f 2025-06-16 07:07:14,255 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d37818aa-992c-426a-883b-72b842644ab2 2025-06-16 07:07:17,506 - 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-06-16 07:07:17,506 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51598420-19442369 failed! 2025-06-16 07:07:17,563 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-51598420:ctest-vn-49260147 is 161.216.19.193 and allocation pool is NOT set 2025-06-16 07:07:19,630 - 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=9.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.903 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.903/5.388/9.873/4.485 ms') 2025-06-16 07:07:19,631 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51598420-19442369 passed 2025-06-16 07:07:19,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-16 07:07:19,787 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51598420-19442369, IP 161.216.19.195, Port 22 2025-06-16 07:07:19,947 - DEBUG - VM ctest-TestBasicPolicy-51598420-19442369 is ready for SSH connections 2025-06-16 07:07:19,947 - INFO - Waiting for VM ctest-TestBasicPolicy-51598420-59219506 to be up.. 2025-06-16 07:07:20,038 - DEBUG - VM is in ACTIVE state now 2025-06-16 07:07:20,038 - INFO - VM name : ctest-TestBasicPolicy-51598420-59219506 2025-06-16 07:07:20,128 - DEBUG - VM ctest-TestBasicPolicy-51598420-59219506 ID is db4a25ca-477a-4899-bb4a-bfd0c7f152cc 2025-06-16 07:07:20,128 - DEBUG - VM ctest-TestBasicPolicy-51598420-59219506 launched on Node cn-jenkins-deploy-platform-ansible-os-3455-1 2025-06-16 07:07:20,227 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/db4a25ca-477a-4899-bb4a-bfd0c7f152cc 2025-06-16 07:07:20,242 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/904f319d-8d72-47ce-9b52-bc7f06619689 2025-06-16 07:07:21,507 - 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.73 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 1002ms\r\nrtt min/avg/max/mdev = 2.106/3.917/5.729/1.811 ms') 2025-06-16 07:07:21,507 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-51598420-59219506 passed 2025-06-16 07:07:21,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-16 07:07:21,667 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51598420-59219506, IP 176.249.206.195, Port 22 2025-06-16 07:07:21,823 - DEBUG - VM ctest-TestBasicPolicy-51598420-59219506 is ready for SSH connections 2025-06-16 07:07:21,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-16 07:07:21,823 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.249.206.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-16 07:07:21,823 - DEBUG - ping -s 56 -c 3 -W 1 176.249.206.195 2025-06-16 07:07:25,947 - DEBUG - PING 176.249.206.195 (176.249.206.195): 56 data bytes 64 bytes from 176.249.206.195: seq=0 ttl=63 time=4.620 ms 64 bytes from 176.249.206.195: seq=1 ttl=63 time=1.030 ms 64 bytes from 176.249.206.195: seq=2 ttl=63 time=0.840 ms --- 176.249.206.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.840/2.163/4.620 ms 2025-06-16 07:07:25,947 - INFO - Ping to IP 176.249.206.195 from VM ctest-TestBasicPolicy-51598420-19442369 passed 2025-06-16 07:07:26,159 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d36bfec5-bf42-4b00-927c-b81c9963602f", "href": "http://10.0.0.254:8082/network-policy/d36bfec5-bf42-4b00-927c-b81c9963602f"}} 2025-06-16 07:07:26,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-16 07:07:26,159 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.249.206.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-16 07:07:26,160 - DEBUG - ping -s 56 -c 3 -W 1 176.249.206.195 2025-06-16 07:07:29,397 - DEBUG - PING 176.249.206.195 (176.249.206.195): 56 data bytes 64 bytes from 176.249.206.195: seq=0 ttl=63 time=1.619 ms --- 176.249.206.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.619/1.619/1.619 ms 2025-06-16 07:07:29,397 - WARNING - Ping to IP 176.249.206.195 from VM ctest-TestBasicPolicy-51598420-19442369 failed 2025-06-16 07:07:29,397 - INFO - Deleting VM ctest-TestBasicPolicy-51598420-59219506 2025-06-16 07:07:29,491 - INFO - Deleting VM ctest-TestBasicPolicy-51598420-19442369 2025-06-16 07:07:29,938 - INFO - Deleted policy ctest-policy-allow-all-21162402 2025-06-16 07:07:29,938 - INFO - Deleting VN ctest-vn-44030034 2025-06-16 07:07:29,988 - DEBUG - VN 353f8cd7-048b-4c1e-b258-d6f6c7b3ef7a still in use: Unable to complete operation on network 353f8cd7-048b-4c1e-b258-d6f6c7b3ef7a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4527fba9-cbe2-4bb5-b313-c622eb2a0ca0'] 2025-06-16 07:07:29,988 - WARNING - Deleting VN ctest-vn-44030034 failed..Will retry 2025-06-16 07:07:32,130 - DEBUG - Response for deleting network () 2025-06-16 07:07:32,130 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c8486fc3-f389-49f9-b584-71587be58a2b 2025-06-16 07:07:32,143 - DEBUG - Response Code: 404 2025-06-16 07:07:32,144 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-16 07:07:32,151 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8181313b-efad-44a8-aa04-8d0eb51e6d8a 2025-06-16 07:07:32,209 - DEBUG - Requesting: http://10.0.0.254:8082/project/28e901a1-3423-49f6-aa7d-8b0405c401e3 2025-06-16 07:07:32,292 - INFO - Validated that VN ctest-vn-44030034 is not found in API Server 2025-06-16 07:07:32,307 - DEBUG - VN ctest-vn-44030034 is not present in Agent 10.0.0.254 2025-06-16 07:07:32,307 - INFO - Validated that VN ctest-vn-44030034 is not in any agent 2025-06-16 07:07:32,327 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44030034 info 2025-06-16 07:07:32,327 - INFO - Deleting VN ctest-vn-49260147 2025-06-16 07:07:32,473 - DEBUG - Response for deleting network () 2025-06-16 07:07:32,473 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a8881bf7-0bbf-4135-8143-35dfc791f724 2025-06-16 07:07:32,490 - DEBUG - Response Code: 404 2025-06-16 07:07:32,490 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-16 07:07:32,497 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8181313b-efad-44a8-aa04-8d0eb51e6d8a 2025-06-16 07:07:32,513 - DEBUG - Requesting: http://10.0.0.254:8082/project/28e901a1-3423-49f6-aa7d-8b0405c401e3 2025-06-16 07:07:32,598 - INFO - Validated that VN ctest-vn-49260147 is not found in API Server 2025-06-16 07:07:32,611 - DEBUG - VN ctest-vn-49260147 is not present in Agent 10.0.0.254 2025-06-16 07:07:32,611 - INFO - Validated that VN ctest-vn-49260147 is not in any agent 2025-06-16 07:07:32,634 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49260147 info 2025-06-16 07:07:32,895 - DEBUG - No XMPP flaps were noticed during the test
2025-06-16 07:07:32,895 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-06-16 07:07:32,895 - INFO - -------------------------------------------------------------------------------- 2025-06-16 07:07:33,649 - INFO - Deleted project: ctest-TestBasicPolicy-51598420, ID : 28e901a1-3423-49f6-aa7d-8b0405c401e3