2025-04-26 13:22:38,207 - INFO - Domain Default found not creating 2025-04-26 13:22:38,375 - INFO - Project ctest-TestBasicPolicy-82547447 not found, creating it 2025-04-26 13:22:38,877 - INFO - Created Project:ctest-TestBasicPolicy-82547447, ID : e77df100-9c0e-4c7d-b94a-9bf12a1189d1 2025-04-26 13:22:40,671 - INFO - ================================================================================ 2025-04-26 13:22:40,671 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-26 13:22:40,671 - 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-26 13:22:40,950 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-04-26 13:22:40,950 - INFO - Initial checks done. Running the testcase now 2025-04-26 13:22:40,951 - INFO - 2025-04-26 13:22:41,563 - DEBUG - Response for create_network : {'network': {'id': '5de1d6b2-66a0-4c96-a96d-ae909aba4344', 'name': 'ctest-vn-67420510', 'tenant_id': 'e77df1009c0e4c7db94a9bf12a1189d1', 'project_id': 'e77df1009c0e4c7db94a9bf12a1189d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82547447', 'ctest-vn-67420510'], 'port_security_enabled': True, 'description': ''}} 2025-04-26 13:22:41,762 - DEBUG - Response for create_subnet : {'subnet': {'id': '70b5f831-10d8-4111-bf63-32246121cbc2', 'name': '', 'tenant_id': 'e77df1009c0e4c7db94a9bf12a1189d1', 'network_id': '5de1d6b2-66a0-4c96-a96d-ae909aba4344', 'ip_version': 4, 'cidr': '191.38.58.192/26', 'allocation_pools': [{'start': '191.38.58.194', 'end': '191.38.58.254'}], 'gateway_ip': '191.38.58.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.38.58.194', 'tags': [], 'project_id': 'e77df1009c0e4c7db94a9bf12a1189d1'}} 2025-04-26 13:22:41,786 - INFO - Created VN ctest-vn-67420510 2025-04-26 13:22:41,855 - DEBUG - VN ctest-vn-67420510 UUID is 5de1d6b2-66a0-4c96-a96d-ae909aba4344 2025-04-26 13:22:42,208 - DEBUG - Response for create_network : {'network': {'id': 'c31a6342-80d7-425d-a5aa-5cd48e02d8b6', 'name': 'ctest-vn-42314075', 'tenant_id': 'e77df1009c0e4c7db94a9bf12a1189d1', 'project_id': 'e77df1009c0e4c7db94a9bf12a1189d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82547447', 'ctest-vn-42314075'], 'port_security_enabled': True, 'description': ''}} 2025-04-26 13:22:42,432 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a5c01f1-8b92-49f0-b42b-a8bb7ef0d6f9', 'name': '', 'tenant_id': 'e77df1009c0e4c7db94a9bf12a1189d1', 'network_id': 'c31a6342-80d7-425d-a5aa-5cd48e02d8b6', 'ip_version': 4, 'cidr': '206.46.18.128/26', 'allocation_pools': [{'start': '206.46.18.130', 'end': '206.46.18.190'}], 'gateway_ip': '206.46.18.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.46.18.130', 'tags': [], 'project_id': 'e77df1009c0e4c7db94a9bf12a1189d1'}} 2025-04-26 13:22:42,454 - INFO - Created VN ctest-vn-42314075 2025-04-26 13:22:42,515 - DEBUG - VN ctest-vn-42314075 UUID is c31a6342-80d7-425d-a5aa-5cd48e02d8b6 2025-04-26 13:22:42,639 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82547447:ctest-vn-67420510, 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-82547447:ctest-vn-42314075, 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-26 13:22:42,973 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5de1d6b2-66a0-4c96-a96d-ae909aba4344', 'name': 'ctest-vn-67420510', 'tenant_id': 'e77df1009c0e4c7db94a9bf12a1189d1', 'project_id': 'e77df1009c0e4c7db94a9bf12a1189d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['70b5f831-10d8-4111-bf63-32246121cbc2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82547447', 'ctest-vn-67420510'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82547447', 'ctest-policy-allow-all-63015068']], 'subnet_ipam': [{'subnet_cidr': '191.38.58.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-26 13:22:43,287 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c31a6342-80d7-425d-a5aa-5cd48e02d8b6', 'name': 'ctest-vn-42314075', 'tenant_id': 'e77df1009c0e4c7db94a9bf12a1189d1', 'project_id': 'e77df1009c0e4c7db94a9bf12a1189d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7a5c01f1-8b92-49f0-b42b-a8bb7ef0d6f9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82547447', 'ctest-vn-42314075'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82547447', 'ctest-policy-allow-all-63015068']], 'subnet_ipam': [{'subnet_cidr': '206.46.18.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-26 13:22:43,447 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-26 13:22:43,796 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-26 13:22:43,828 - DEBUG - Requesting: http://10.0.0.22:8082/domain/40732c79-fa35-4918-bda0-39f1b50fef14 2025-04-26 13:22:43,843 - DEBUG - Requesting: http://10.0.0.22:8082/project/e77df100-9c0e-4c7d-b94a-9bf12a1189d1 2025-04-26 13:22:43,931 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5de1d6b2-66a0-4c96-a96d-ae909aba4344 2025-04-26 13:22:43,944 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5de1d6b2-66a0-4c96-a96d-ae909aba4344 2025-04-26 13:22:43,955 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cabfb807-2df1-42a6-af6c-45eb5f23c2c5 2025-04-26 13:22:43,964 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cabfb807-2df1-42a6-af6c-45eb5f23c2c5 2025-04-26 13:22:43,972 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/40a87533-bb91-4533-8f54-530c47b4f7ce 2025-04-26 13:22:43,979 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-26 13:22:43,979 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5de1d6b2-66a0-4c96-a96d-ae909aba4344 2025-04-26 13:22:43,990 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cabfb807-2df1-42a6-af6c-45eb5f23c2c5 2025-04-26 13:22:44,007 - INFO - Verified VN network id 9 for VN 5de1d6b2-66a0-4c96-a96d-ae909aba4344 2025-04-26 13:22:44,007 - INFO - Verifications in API Server for VN ctest-vn-67420510 passed 2025-04-26 13:22:44,007 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5de1d6b2-66a0-4c96-a96d-ae909aba4344 2025-04-26 13:22:44,018 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cabfb807-2df1-42a6-af6c-45eb5f23c2c5 2025-04-26 13:22:44,026 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cabfb807-2df1-42a6-af6c-45eb5f23c2c5 2025-04-26 13:22:44,034 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/40a87533-bb91-4533-8f54-530c47b4f7ce 2025-04-26 13:22:44,052 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82547447:ctest-vn-67420510', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82547447', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6764924177001499798', 'uuid-lslong': '12208606100965704516'}, 'enable': 'true', 'created': '2025-04-26T13:22:41', 'last-modified': '2025-04-26T13:22:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.110433'} 2025-04-26 13:22:44,060 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-26 13:22:44,060 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67420510 passed 2025-04-26 13:22:44,060 - DEBUG - ====Verifying policy data for ctest-vn-67420510 in API_Server ====== 2025-04-26 13:22:44,060 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-26 13:22:44,067 - DEBUG - Requesting: http://10.0.0.22:8082/domain/40732c79-fa35-4918-bda0-39f1b50fef14 2025-04-26 13:22:44,079 - DEBUG - Requesting: http://10.0.0.22:8082/project/e77df100-9c0e-4c7d-b94a-9bf12a1189d1 2025-04-26 13:22:44,152 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5de1d6b2-66a0-4c96-a96d-ae909aba4344 2025-04-26 13:22:44,163 - DEBUG - ==>Verifying data for policy with id: 0dfdc837-0edf-42e6-a486-a4f5ad0d89c3, fqn: ['default-domain', 'ctest-TestBasicPolicy-82547447', 'ctest-policy-allow-all-63015068'] 2025-04-26 13:22:44,163 - INFO - VN ctest-vn-67420510 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-26 13:22:44,163 - DEBUG - Verifying the vn in opserver 2025-04-26 13:22:44,163 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82547447:ctest-vn-67420510 virtual network link through opserver 10.0.0.22 2025-04-26 13:22:44,164 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-04-26 13:22:44,496 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-04-26 13:22:44,884 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82547447:ctest-vn-67420510', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82547447:ctest-vn-67420510?flat'} 2025-04-26 13:22:44,884 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82547447:ctest-vn-67420510 is found in opserver 2025-04-26 13:22:44,897 - DEBUG - Do not have enough data to verify VN in agent 2025-04-26 13:22:44,905 - DEBUG - VRF ids for VN ctest-vn-67420510: {} 2025-04-26 13:22:44,905 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-26 13:22:44,913 - DEBUG - Requesting: http://10.0.0.22:8082/domain/40732c79-fa35-4918-bda0-39f1b50fef14 2025-04-26 13:22:44,925 - DEBUG - Requesting: http://10.0.0.22:8082/project/e77df100-9c0e-4c7d-b94a-9bf12a1189d1 2025-04-26 13:22:45,007 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c31a6342-80d7-425d-a5aa-5cd48e02d8b6 2025-04-26 13:22:45,023 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c31a6342-80d7-425d-a5aa-5cd48e02d8b6 2025-04-26 13:22:45,034 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/77e1f4c2-3937-4933-a84f-20b44619a0ef 2025-04-26 13:22:45,043 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/77e1f4c2-3937-4933-a84f-20b44619a0ef 2025-04-26 13:22:45,052 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d0c48ab7-3445-491a-9407-48bf672d268d 2025-04-26 13:22:45,062 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-26 13:22:45,062 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c31a6342-80d7-425d-a5aa-5cd48e02d8b6 2025-04-26 13:22:45,072 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/77e1f4c2-3937-4933-a84f-20b44619a0ef 2025-04-26 13:22:45,088 - INFO - Verified VN network id 10 for VN c31a6342-80d7-425d-a5aa-5cd48e02d8b6 2025-04-26 13:22:45,089 - INFO - Verifications in API Server for VN ctest-vn-42314075 passed 2025-04-26 13:22:45,089 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c31a6342-80d7-425d-a5aa-5cd48e02d8b6 2025-04-26 13:22:45,100 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/77e1f4c2-3937-4933-a84f-20b44619a0ef 2025-04-26 13:22:45,108 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/77e1f4c2-3937-4933-a84f-20b44619a0ef 2025-04-26 13:22:45,116 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d0c48ab7-3445-491a-9407-48bf672d268d 2025-04-26 13:22:45,130 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82547447:ctest-vn-42314075', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82547447', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14058658324071006813', 'uuid-lslong': '11937455830284294326'}, 'enable': 'true', 'created': '2025-04-26T13:22:42', 'last-modified': '2025-04-26T13:22:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.919455'} 2025-04-26 13:22:45,140 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-26 13:22:45,140 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42314075 passed 2025-04-26 13:22:45,140 - DEBUG - ====Verifying policy data for ctest-vn-42314075 in API_Server ====== 2025-04-26 13:22:45,140 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-26 13:22:45,148 - DEBUG - Requesting: http://10.0.0.22:8082/domain/40732c79-fa35-4918-bda0-39f1b50fef14 2025-04-26 13:22:45,163 - DEBUG - Requesting: http://10.0.0.22:8082/project/e77df100-9c0e-4c7d-b94a-9bf12a1189d1 2025-04-26 13:22:45,253 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c31a6342-80d7-425d-a5aa-5cd48e02d8b6 2025-04-26 13:22:45,266 - DEBUG - ==>Verifying data for policy with id: 0dfdc837-0edf-42e6-a486-a4f5ad0d89c3, fqn: ['default-domain', 'ctest-TestBasicPolicy-82547447', 'ctest-policy-allow-all-63015068'] 2025-04-26 13:22:45,266 - INFO - VN ctest-vn-42314075 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-26 13:22:45,266 - DEBUG - Verifying the vn in opserver 2025-04-26 13:22:45,266 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82547447:ctest-vn-42314075 virtual network link through opserver 10.0.0.22 2025-04-26 13:22:45,266 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-04-26 13:22:45,283 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82547447:ctest-vn-42314075', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82547447:ctest-vn-42314075?flat'} 2025-04-26 13:22:45,283 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82547447:ctest-vn-42314075 is found in opserver 2025-04-26 13:22:45,296 - DEBUG - Do not have enough data to verify VN in agent 2025-04-26 13:22:45,304 - DEBUG - VRF ids for VN ctest-vn-42314075: {} 2025-04-26 13:22:45,367 - DEBUG - Services list from nova: [, , ] 2025-04-26 13:22:46,523 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3223-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3223-1) 2025-04-26 13:22:47,903 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3223-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3223-1) 2025-04-26 13:22:47,903 - INFO - Waiting for VM ctest-TestBasicPolicy-82547447-15693047 to be up.. 2025-04-26 13:22:47,989 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-26 13:22:53,078 - DEBUG - VM is in ACTIVE state now 2025-04-26 13:22:53,079 - INFO - VM name : ctest-TestBasicPolicy-82547447-15693047 2025-04-26 13:22:53,168 - DEBUG - VM ctest-TestBasicPolicy-82547447-15693047 ID is 3eb33088-ec59-43b6-85f3-85b50dca689c 2025-04-26 13:22:53,188 - DEBUG - VM ctest-TestBasicPolicy-82547447-15693047 launched on Node cn-jenkins-deploy-platform-ansible-os-3223-1 2025-04-26 13:22:53,275 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/3eb33088-ec59-43b6-85f3-85b50dca689c 2025-04-26 13:22:53,285 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c6bcb580-d174-40b8-9078-fd8d9b754867 2025-04-26 13:22:56,567 - 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-26 13:22:56,567 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82547447-15693047 failed! 2025-04-26 13:22:56,623 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-82547447:ctest-vn-67420510 is 191.38.58.193 and allocation pool is NOT set 2025-04-26 13:22:58,683 - 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.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.454 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.454/4.114/7.775/3.660 ms') 2025-04-26 13:22:58,683 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82547447-15693047 passed 2025-04-26 13:22:58,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 13:22:58,839 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82547447-15693047, IP 191.38.58.195, Port 22 2025-04-26 13:22:58,999 - DEBUG - VM ctest-TestBasicPolicy-82547447-15693047 is ready for SSH connections 2025-04-26 13:22:58,999 - INFO - Waiting for VM ctest-TestBasicPolicy-82547447-59967049 to be up.. 2025-04-26 13:22:59,082 - DEBUG - VM is in ACTIVE state now 2025-04-26 13:22:59,082 - INFO - VM name : ctest-TestBasicPolicy-82547447-59967049 2025-04-26 13:22:59,161 - DEBUG - VM ctest-TestBasicPolicy-82547447-59967049 ID is 731e162c-2fda-44fa-a482-83eebdcc946b 2025-04-26 13:22:59,161 - DEBUG - VM ctest-TestBasicPolicy-82547447-59967049 launched on Node cn-jenkins-deploy-platform-ansible-os-3223-1 2025-04-26 13:22:59,244 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/731e162c-2fda-44fa-a482-83eebdcc946b 2025-04-26 13:22:59,254 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f4b7c08e-f5d2-48f7-9424-03ef40ea832c 2025-04-26 13:23:00,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=4.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.89 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.889/3.230/4.572/1.341 ms') 2025-04-26 13:23:00,507 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-82547447-59967049 passed 2025-04-26 13:23:00,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 13:23:00,659 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82547447-59967049, IP 206.46.18.131, Port 22 2025-04-26 13:23:00,832 - DEBUG - VM ctest-TestBasicPolicy-82547447-59967049 is ready for SSH connections 2025-04-26 13:23:00,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 13:23:00,832 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.46.18.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-04-26 13:23:00,832 - DEBUG - ping -s 56 -c 3 -W 1 206.46.18.131 2025-04-26 13:23:04,978 - DEBUG - PING 206.46.18.131 (206.46.18.131): 56 data bytes 64 bytes from 206.46.18.131: seq=0 ttl=63 time=4.373 ms 64 bytes from 206.46.18.131: seq=1 ttl=63 time=1.279 ms 64 bytes from 206.46.18.131: seq=2 ttl=63 time=0.936 ms --- 206.46.18.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.936/2.196/4.373 ms 2025-04-26 13:23:04,978 - INFO - Ping to IP 206.46.18.131 from VM ctest-TestBasicPolicy-82547447-15693047 passed 2025-04-26 13:23:05,179 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0dfdc837-0edf-42e6-a486-a4f5ad0d89c3", "href": "http://10.0.0.22:8082/network-policy/0dfdc837-0edf-42e6-a486-a4f5ad0d89c3"}} 2025-04-26 13:23:05,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 13:23:05,179 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.46.18.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-04-26 13:23:05,179 - DEBUG - ping -s 56 -c 3 -W 1 206.46.18.131 2025-04-26 13:23:08,402 - DEBUG - PING 206.46.18.131 (206.46.18.131): 56 data bytes 64 bytes from 206.46.18.131: seq=0 ttl=63 time=1.478 ms --- 206.46.18.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.478/1.478/1.478 ms 2025-04-26 13:23:08,402 - WARNING - Ping to IP 206.46.18.131 from VM ctest-TestBasicPolicy-82547447-15693047 failed 2025-04-26 13:23:08,402 - INFO - Deleting VM ctest-TestBasicPolicy-82547447-59967049 2025-04-26 13:23:08,483 - INFO - Deleting VM ctest-TestBasicPolicy-82547447-15693047 2025-04-26 13:23:08,907 - INFO - Deleted policy ctest-policy-allow-all-63015068 2025-04-26 13:23:08,907 - INFO - Deleting VN ctest-vn-42314075 2025-04-26 13:23:08,954 - DEBUG - VN c31a6342-80d7-425d-a5aa-5cd48e02d8b6 still in use: Unable to complete operation on network c31a6342-80d7-425d-a5aa-5cd48e02d8b6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-da277e13-8e9c-416f-9f13-eb1004a170ed'] 2025-04-26 13:23:08,955 - WARNING - Deleting VN ctest-vn-42314075 failed..Will retry 2025-04-26 13:23:11,095 - DEBUG - Response for deleting network () 2025-04-26 13:23:11,095 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/77e1f4c2-3937-4933-a84f-20b44619a0ef 2025-04-26 13:23:11,101 - DEBUG - Response Code: 404 2025-04-26 13:23:11,101 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-26 13:23:11,113 - DEBUG - Requesting: http://10.0.0.22:8082/domain/40732c79-fa35-4918-bda0-39f1b50fef14 2025-04-26 13:23:11,175 - DEBUG - Requesting: http://10.0.0.22:8082/project/e77df100-9c0e-4c7d-b94a-9bf12a1189d1 2025-04-26 13:23:11,260 - INFO - Validated that VN ctest-vn-42314075 is not found in API Server 2025-04-26 13:23:11,273 - DEBUG - VN ctest-vn-42314075 is not present in Agent 10.0.0.22 2025-04-26 13:23:11,273 - INFO - Validated that VN ctest-vn-42314075 is not in any agent 2025-04-26 13:23:11,290 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42314075 info 2025-04-26 13:23:11,290 - INFO - Deleting VN ctest-vn-67420510 2025-04-26 13:23:11,416 - DEBUG - Response for deleting network () 2025-04-26 13:23:11,417 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cabfb807-2df1-42a6-af6c-45eb5f23c2c5 2025-04-26 13:23:11,427 - DEBUG - Response Code: 404 2025-04-26 13:23:11,427 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-26 13:23:11,433 - DEBUG - Requesting: http://10.0.0.22:8082/domain/40732c79-fa35-4918-bda0-39f1b50fef14 2025-04-26 13:23:11,488 - DEBUG - Requesting: http://10.0.0.22:8082/project/e77df100-9c0e-4c7d-b94a-9bf12a1189d1 2025-04-26 13:23:11,564 - INFO - Validated that VN ctest-vn-67420510 is not found in API Server 2025-04-26 13:23:11,576 - DEBUG - VN ctest-vn-67420510 is not present in Agent 10.0.0.22 2025-04-26 13:23:11,576 - INFO - Validated that VN ctest-vn-67420510 is not in any agent 2025-04-26 13:23:11,597 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67420510 info 2025-04-26 13:23:11,855 - DEBUG - No XMPP flaps were noticed during the test 2025-04-26 13:23:11,855 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-04-26 13:23:11,855 - INFO - -------------------------------------------------------------------------------- 2025-04-26 13:23:12,604 - INFO - Deleted project: ctest-TestBasicPolicy-82547447, ID : e77df100-9c0e-4c7d-b94a-9bf12a1189d1