2025-05-30 02:47:04,973 - INFO - Domain Default found not creating 2025-05-30 02:47:05,113 - INFO - Project ctest-TestBasicPolicy-79788885 not found, creating it 2025-05-30 02:47:05,570 - INFO - Created Project:ctest-TestBasicPolicy-79788885, ID : 38fdefb1-d202-42bc-b1be-d39de53886cd 2025-05-30 02:47:07,116 - INFO - ================================================================================ 2025-05-30 02:47:07,116 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-30 02:47:07,116 - 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-05-30 02:47:07,369 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-05-30 02:47:07,369 - INFO - Initial checks done. Running the testcase now 2025-05-30 02:47:07,369 - INFO - 2025-05-30 02:47:07,966 - DEBUG - Response for create_network : {'network': {'id': 'eadc50a1-5138-484e-834c-4807e48f551c', 'name': 'ctest-vn-68210354', 'tenant_id': '38fdefb1d20242bcb1bed39de53886cd', 'project_id': '38fdefb1d20242bcb1bed39de53886cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79788885', 'ctest-vn-68210354'], 'port_security_enabled': True, 'description': ''}} 2025-05-30 02:47:08,154 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a037b99b-5dc7-4f15-a755-78675a5646f0', 'name': '', 'tenant_id': '38fdefb1d20242bcb1bed39de53886cd', 'network_id': 'eadc50a1-5138-484e-834c-4807e48f551c', 'ip_version': 4, 'cidr': '2.148.124.64/26', 'allocation_pools': [{'start': '2.148.124.66', 'end': '2.148.124.126'}], 'gateway_ip': '2.148.124.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.148.124.66', 'tags': [], 'project_id': '38fdefb1d20242bcb1bed39de53886cd'}} 2025-05-30 02:47:08,171 - INFO - Created VN ctest-vn-68210354 2025-05-30 02:47:08,223 - DEBUG - VN ctest-vn-68210354 UUID is eadc50a1-5138-484e-834c-4807e48f551c 2025-05-30 02:47:08,520 - DEBUG - Response for create_network : {'network': {'id': '1c350b92-c12b-438d-877c-e884398b8ed6', 'name': 'ctest-vn-04749184', 'tenant_id': '38fdefb1d20242bcb1bed39de53886cd', 'project_id': '38fdefb1d20242bcb1bed39de53886cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79788885', 'ctest-vn-04749184'], 'port_security_enabled': True, 'description': ''}} 2025-05-30 02:47:08,716 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a961cdf-516a-4798-9db3-0f8ba42efcbf', 'name': '', 'tenant_id': '38fdefb1d20242bcb1bed39de53886cd', 'network_id': '1c350b92-c12b-438d-877c-e884398b8ed6', 'ip_version': 4, 'cidr': '2.244.78.192/26', 'allocation_pools': [{'start': '2.244.78.194', 'end': '2.244.78.254'}], 'gateway_ip': '2.244.78.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.244.78.194', 'tags': [], 'project_id': '38fdefb1d20242bcb1bed39de53886cd'}} 2025-05-30 02:47:08,733 - INFO - Created VN ctest-vn-04749184 2025-05-30 02:47:08,787 - DEBUG - VN ctest-vn-04749184 UUID is 1c350b92-c12b-438d-877c-e884398b8ed6 2025-05-30 02:47:09,015 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-79788885:ctest-vn-68210354, 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-79788885:ctest-vn-04749184, 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-05-30 02:47:09,310 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eadc50a1-5138-484e-834c-4807e48f551c', 'name': 'ctest-vn-68210354', 'tenant_id': '38fdefb1d20242bcb1bed39de53886cd', 'project_id': '38fdefb1d20242bcb1bed39de53886cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a037b99b-5dc7-4f15-a755-78675a5646f0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79788885', 'ctest-vn-68210354'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79788885', 'ctest-policy-allow-all-09928586']], 'subnet_ipam': [{'subnet_cidr': '2.148.124.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-30 02:47:09,546 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1c350b92-c12b-438d-877c-e884398b8ed6', 'name': 'ctest-vn-04749184', 'tenant_id': '38fdefb1d20242bcb1bed39de53886cd', 'project_id': '38fdefb1d20242bcb1bed39de53886cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7a961cdf-516a-4798-9db3-0f8ba42efcbf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79788885', 'ctest-vn-04749184'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79788885', 'ctest-policy-allow-all-09928586']], 'subnet_ipam': [{'subnet_cidr': '2.244.78.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-30 02:47:09,703 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-30 02:47:10,034 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-30 02:47:10,061 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f89891ce-b5ab-46ba-bed4-dd5685b9bfeb 2025-05-30 02:47:10,075 - DEBUG - Requesting: http://10.0.0.254:8082/project/38fdefb1-d202-42bc-b1be-d39de53886cd 2025-05-30 02:47:10,151 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/eadc50a1-5138-484e-834c-4807e48f551c 2025-05-30 02:47:10,179 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/eadc50a1-5138-484e-834c-4807e48f551c 2025-05-30 02:47:10,197 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/96d74efa-11aa-4ea9-8243-a4e8223c01e2 2025-05-30 02:47:10,205 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/96d74efa-11aa-4ea9-8243-a4e8223c01e2 2025-05-30 02:47:10,211 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4f8e79f4-8577-4f49-9a54-2e05daf48b98 2025-05-30 02:47:10,217 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-30 02:47:10,217 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/eadc50a1-5138-484e-834c-4807e48f551c 2025-05-30 02:47:10,227 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/96d74efa-11aa-4ea9-8243-a4e8223c01e2 2025-05-30 02:47:10,240 - INFO - Verified VN network id 8 for VN eadc50a1-5138-484e-834c-4807e48f551c 2025-05-30 02:47:10,240 - INFO - Verifications in API Server for VN ctest-vn-68210354 passed 2025-05-30 02:47:10,241 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/eadc50a1-5138-484e-834c-4807e48f551c 2025-05-30 02:47:10,249 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/96d74efa-11aa-4ea9-8243-a4e8223c01e2 2025-05-30 02:47:10,256 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/96d74efa-11aa-4ea9-8243-a4e8223c01e2 2025-05-30 02:47:10,263 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4f8e79f4-8577-4f49-9a54-2e05daf48b98 2025-05-30 02:47:10,274 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79788885:ctest-vn-68210354', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79788885', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16923490153534081102', 'uuid-lslong': '9461016115935139100'}, 'enable': 'true', 'created': '2025-05-30T02:47:07', 'last-modified': '2025-05-30T02:47:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.985106'} 2025-05-30 02:47:10,281 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-30 02:47:10,281 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68210354 passed 2025-05-30 02:47:10,281 - DEBUG - ====Verifying policy data for ctest-vn-68210354 in API_Server ====== 2025-05-30 02:47:10,281 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-30 02:47:10,286 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f89891ce-b5ab-46ba-bed4-dd5685b9bfeb 2025-05-30 02:47:10,298 - DEBUG - Requesting: http://10.0.0.254:8082/project/38fdefb1-d202-42bc-b1be-d39de53886cd 2025-05-30 02:47:10,370 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/eadc50a1-5138-484e-834c-4807e48f551c 2025-05-30 02:47:10,380 - DEBUG - ==>Verifying data for policy with id: f099b5f9-df2d-4720-8cf9-f05116c0a3ac, fqn: ['default-domain', 'ctest-TestBasicPolicy-79788885', 'ctest-policy-allow-all-09928586'] 2025-05-30 02:47:10,380 - INFO - VN ctest-vn-68210354 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-30 02:47:10,381 - DEBUG - Verifying the vn in opserver 2025-05-30 02:47:10,381 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79788885:ctest-vn-68210354 virtual network link through opserver 10.0.0.254 2025-05-30 02:47:10,381 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-05-30 02:47:10,712 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-05-30 02:47:10,766 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79788885:ctest-vn-68210354', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79788885:ctest-vn-68210354?flat'} 2025-05-30 02:47:10,766 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79788885:ctest-vn-68210354 is found in opserver 2025-05-30 02:47:10,777 - DEBUG - Do not have enough data to verify VN in agent 2025-05-30 02:47:10,782 - DEBUG - VRF ids for VN ctest-vn-68210354: {} 2025-05-30 02:47:10,782 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-30 02:47:10,788 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f89891ce-b5ab-46ba-bed4-dd5685b9bfeb 2025-05-30 02:47:10,800 - DEBUG - Requesting: http://10.0.0.254:8082/project/38fdefb1-d202-42bc-b1be-d39de53886cd 2025-05-30 02:47:10,873 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1c350b92-c12b-438d-877c-e884398b8ed6 2025-05-30 02:47:10,887 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1c350b92-c12b-438d-877c-e884398b8ed6 2025-05-30 02:47:10,897 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ba4eaa57-959b-4068-b1b2-171706acf97e 2025-05-30 02:47:10,905 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ba4eaa57-959b-4068-b1b2-171706acf97e 2025-05-30 02:47:10,912 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/637ef745-e819-45bb-93cb-c0bb504c415f 2025-05-30 02:47:10,919 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-30 02:47:10,919 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1c350b92-c12b-438d-877c-e884398b8ed6 2025-05-30 02:47:10,929 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ba4eaa57-959b-4068-b1b2-171706acf97e 2025-05-30 02:47:10,944 - INFO - Verified VN network id 9 for VN 1c350b92-c12b-438d-877c-e884398b8ed6 2025-05-30 02:47:10,944 - INFO - Verifications in API Server for VN ctest-vn-04749184 passed 2025-05-30 02:47:10,944 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1c350b92-c12b-438d-877c-e884398b8ed6 2025-05-30 02:47:10,954 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ba4eaa57-959b-4068-b1b2-171706acf97e 2025-05-30 02:47:10,960 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ba4eaa57-959b-4068-b1b2-171706acf97e 2025-05-30 02:47:10,966 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/637ef745-e819-45bb-93cb-c0bb504c415f 2025-05-30 02:47:10,978 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79788885:ctest-vn-04749184', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79788885', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2032543531761615757', 'uuid-lslong': '9762933746831167190'}, 'enable': 'true', 'created': '2025-05-30T02:47:08', 'last-modified': '2025-05-30T02:47:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.460804'} 2025-05-30 02:47:10,986 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-30 02:47:10,988 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04749184 passed 2025-05-30 02:47:10,988 - DEBUG - ====Verifying policy data for ctest-vn-04749184 in API_Server ====== 2025-05-30 02:47:10,988 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-30 02:47:10,994 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f89891ce-b5ab-46ba-bed4-dd5685b9bfeb 2025-05-30 02:47:11,007 - DEBUG - Requesting: http://10.0.0.254:8082/project/38fdefb1-d202-42bc-b1be-d39de53886cd 2025-05-30 02:47:11,081 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1c350b92-c12b-438d-877c-e884398b8ed6 2025-05-30 02:47:11,091 - DEBUG - ==>Verifying data for policy with id: f099b5f9-df2d-4720-8cf9-f05116c0a3ac, fqn: ['default-domain', 'ctest-TestBasicPolicy-79788885', 'ctest-policy-allow-all-09928586'] 2025-05-30 02:47:11,092 - INFO - VN ctest-vn-04749184 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-30 02:47:11,092 - DEBUG - Verifying the vn in opserver 2025-05-30 02:47:11,092 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79788885:ctest-vn-04749184 virtual network link through opserver 10.0.0.254 2025-05-30 02:47:11,092 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-05-30 02:47:11,103 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79788885:ctest-vn-04749184', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79788885:ctest-vn-04749184?flat'} 2025-05-30 02:47:11,103 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79788885:ctest-vn-04749184 is found in opserver 2025-05-30 02:47:11,113 - DEBUG - Do not have enough data to verify VN in agent 2025-05-30 02:47:11,119 - DEBUG - VRF ids for VN ctest-vn-04749184: {} 2025-05-30 02:47:11,174 - DEBUG - Services list from nova: [, , ] 2025-05-30 02:47:12,247 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3372-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3372-1) 2025-05-30 02:47:13,545 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3372-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3372-1) 2025-05-30 02:47:13,546 - INFO - Waiting for VM ctest-TestBasicPolicy-79788885-63196623 to be up.. 2025-05-30 02:47:13,631 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-30 02:47:18,743 - DEBUG - VM is in ACTIVE state now 2025-05-30 02:47:18,743 - INFO - VM name : ctest-TestBasicPolicy-79788885-63196623 2025-05-30 02:47:18,820 - DEBUG - VM ctest-TestBasicPolicy-79788885-63196623 ID is f6162502-a49b-44f5-ae61-359315e783fc 2025-05-30 02:47:18,839 - DEBUG - VM ctest-TestBasicPolicy-79788885-63196623 launched on Node cn-jenkins-deploy-platform-ansible-os-3372-1 2025-05-30 02:47:18,913 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f6162502-a49b-44f5-ae61-359315e783fc 2025-05-30 02:47:18,922 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f3545438-9810-4dc0-8e1c-79f18d8c0f1d 2025-05-30 02:47:22,194 - 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 1025ms') 2025-05-30 02:47:22,194 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79788885-63196623 failed! 2025-05-30 02:47:22,251 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-79788885:ctest-vn-68210354 is 2.148.124.65 and allocation pool is NOT set 2025-05-30 02:47:24,310 - 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.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.43 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 = 3.428/5.990/8.553/2.562 ms') 2025-05-30 02:47:24,311 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79788885-63196623 passed 2025-05-30 02:47:24,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-30 02:47:24,459 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79788885-63196623, IP 2.148.124.67, Port 22 2025-05-30 02:47:24,614 - DEBUG - VM ctest-TestBasicPolicy-79788885-63196623 is ready for SSH connections 2025-05-30 02:47:24,615 - INFO - Waiting for VM ctest-TestBasicPolicy-79788885-23638764 to be up.. 2025-05-30 02:47:24,701 - DEBUG - VM is in ACTIVE state now 2025-05-30 02:47:24,701 - INFO - VM name : ctest-TestBasicPolicy-79788885-23638764 2025-05-30 02:47:24,788 - DEBUG - VM ctest-TestBasicPolicy-79788885-23638764 ID is 4501ac1b-6450-4516-aae6-affccbe964ba 2025-05-30 02:47:24,789 - DEBUG - VM ctest-TestBasicPolicy-79788885-23638764 launched on Node cn-jenkins-deploy-platform-ansible-os-3372-1 2025-05-30 02:47:24,879 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4501ac1b-6450-4516-aae6-affccbe964ba 2025-05-30 02:47:24,888 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/70c2c479-3dee-4882-81cf-63b71dcd0358 2025-05-30 02:47:26,128 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.395 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.395/1.722/3.049/1.327 ms') 2025-05-30 02:47:26,128 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-79788885-23638764 passed 2025-05-30 02:47:26,283 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-30 02:47:26,283 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79788885-23638764, IP 2.244.78.195, Port 22 2025-05-30 02:47:26,442 - DEBUG - VM ctest-TestBasicPolicy-79788885-23638764 is ready for SSH connections 2025-05-30 02:47:26,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-30 02:47:26,442 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.244.78.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-05-30 02:47:26,442 - DEBUG - ping -s 56 -c 3 -W 1 2.244.78.195 2025-05-30 02:47:30,128 - DEBUG - PING 2.244.78.195 (2.244.78.195): 56 data bytes 64 bytes from 2.244.78.195: seq=0 ttl=63 time=3.761 ms 64 bytes from 2.244.78.195: seq=1 ttl=63 time=0.866 ms 64 bytes from 2.244.78.195: seq=2 ttl=63 time=0.763 ms --- 2.244.78.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.763/1.796/3.761 ms 2025-05-30 02:47:30,129 - INFO - Ping to IP 2.244.78.195 from VM ctest-TestBasicPolicy-79788885-63196623 passed 2025-05-30 02:47:30,311 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f099b5f9-df2d-4720-8cf9-f05116c0a3ac", "href": "http://10.0.0.254:8082/network-policy/f099b5f9-df2d-4720-8cf9-f05116c0a3ac"}} 2025-05-30 02:47:30,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-30 02:47:30,311 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.244.78.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-05-30 02:47:30,311 - DEBUG - ping -s 56 -c 3 -W 1 2.244.78.195 2025-05-30 02:47:33,541 - DEBUG - PING 2.244.78.195 (2.244.78.195): 56 data bytes --- 2.244.78.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-30 02:47:33,541 - WARNING - Ping to IP 2.244.78.195 from VM ctest-TestBasicPolicy-79788885-63196623 failed 2025-05-30 02:47:33,541 - INFO - Deleting VM ctest-TestBasicPolicy-79788885-23638764 2025-05-30 02:47:33,608 - INFO - Deleting VM ctest-TestBasicPolicy-79788885-63196623 2025-05-30 02:47:33,992 - INFO - Deleted policy ctest-policy-allow-all-09928586 2025-05-30 02:47:33,992 - INFO - Deleting VN ctest-vn-04749184 2025-05-30 02:47:34,028 - DEBUG - VN 1c350b92-c12b-438d-877c-e884398b8ed6 still in use: Unable to complete operation on network 1c350b92-c12b-438d-877c-e884398b8ed6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3d710eca-1b43-451e-8a89-f92613886613'] 2025-05-30 02:47:34,029 - WARNING - Deleting VN ctest-vn-04749184 failed..Will retry 2025-05-30 02:47:36,140 - DEBUG - Response for deleting network () 2025-05-30 02:47:36,140 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ba4eaa57-959b-4068-b1b2-171706acf97e 2025-05-30 02:47:36,146 - DEBUG - Response Code: 404 2025-05-30 02:47:36,146 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-30 02:47:36,151 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f89891ce-b5ab-46ba-bed4-dd5685b9bfeb 2025-05-30 02:47:36,204 - DEBUG - Requesting: http://10.0.0.254:8082/project/38fdefb1-d202-42bc-b1be-d39de53886cd 2025-05-30 02:47:36,289 - INFO - Validated that VN ctest-vn-04749184 is not found in API Server 2025-05-30 02:47:36,301 - DEBUG - VN ctest-vn-04749184 is not present in Agent 10.0.0.254 2025-05-30 02:47:36,301 - INFO - Validated that VN ctest-vn-04749184 is not in any agent 2025-05-30 02:47:36,321 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04749184 info 2025-05-30 02:47:36,321 - INFO - Deleting VN ctest-vn-68210354 2025-05-30 02:47:36,451 - DEBUG - Response for deleting network () 2025-05-30 02:47:36,451 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/96d74efa-11aa-4ea9-8243-a4e8223c01e2 2025-05-30 02:47:36,457 - DEBUG - Response Code: 404 2025-05-30 02:47:36,457 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-30 02:47:36,464 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f89891ce-b5ab-46ba-bed4-dd5685b9bfeb 2025-05-30 02:47:36,520 - DEBUG - Requesting: http://10.0.0.254:8082/project/38fdefb1-d202-42bc-b1be-d39de53886cd 2025-05-30 02:47:36,596 - INFO - Validated that VN ctest-vn-68210354 is not found in API Server 2025-05-30 02:47:36,608 - DEBUG - VN ctest-vn-68210354 is not present in Agent 10.0.0.254 2025-05-30 02:47:36,608 - INFO - Validated that VN ctest-vn-68210354 is not in any agent 2025-05-30 02:47:36,626 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68210354 info 2025-05-30 02:47:36,881 - DEBUG - No XMPP flaps were noticed during the test
2025-05-30 02:47:36,881 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-05-30 02:47:36,881 - INFO - -------------------------------------------------------------------------------- 2025-05-30 02:47:37,611 - INFO - Deleted project: ctest-TestBasicPolicy-79788885, ID : 38fdefb1-d202-42bc-b1be-d39de53886cd