2025-05-22 02:01:46,079 - INFO - Domain Default found not creating 2025-05-22 02:01:46,237 - INFO - Project ctest-TestBasicPolicy-29921572 not found, creating it 2025-05-22 02:01:46,690 - INFO - Created Project:ctest-TestBasicPolicy-29921572, ID : 03c53176-aec8-4e41-b9fb-0bd1532e9ee9 2025-05-22 02:01:48,624 - INFO - ================================================================================ 2025-05-22 02:01:48,624 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-22 02:01:48,624 - 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-22 02:01:48,881 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.192': '0'}} with 2025-05-22 02:01:48,882 - INFO - Initial checks done. Running the testcase now 2025-05-22 02:01:48,882 - INFO - 2025-05-22 02:01:49,420 - DEBUG - Response for create_network : {'network': {'id': '2c06a33c-b98c-445f-84f1-3ccf43b217ae', 'name': 'ctest-vn-75489772', 'tenant_id': '03c53176aec84e41b9fb0bd1532e9ee9', 'project_id': '03c53176aec84e41b9fb0bd1532e9ee9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29921572', 'ctest-vn-75489772'], 'port_security_enabled': True, 'description': ''}} 2025-05-22 02:01:49,572 - DEBUG - Response for create_subnet : {'subnet': {'id': '008207c1-0885-429c-9006-2f144f918039', 'name': '', 'tenant_id': '03c53176aec84e41b9fb0bd1532e9ee9', 'network_id': '2c06a33c-b98c-445f-84f1-3ccf43b217ae', 'ip_version': 4, 'cidr': '204.141.201.64/26', 'allocation_pools': [{'start': '204.141.201.66', 'end': '204.141.201.126'}], 'gateway_ip': '204.141.201.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.141.201.66', 'tags': [], 'project_id': '03c53176aec84e41b9fb0bd1532e9ee9'}} 2025-05-22 02:01:49,591 - INFO - Created VN ctest-vn-75489772 2025-05-22 02:01:49,648 - DEBUG - VN ctest-vn-75489772 UUID is 2c06a33c-b98c-445f-84f1-3ccf43b217ae 2025-05-22 02:01:49,981 - DEBUG - Response for create_network : {'network': {'id': '0ca80f2b-be5d-4780-b4d1-27e13e836d11', 'name': 'ctest-vn-97474385', 'tenant_id': '03c53176aec84e41b9fb0bd1532e9ee9', 'project_id': '03c53176aec84e41b9fb0bd1532e9ee9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29921572', 'ctest-vn-97474385'], 'port_security_enabled': True, 'description': ''}} 2025-05-22 02:01:50,160 - DEBUG - Response for create_subnet : {'subnet': {'id': '8baeb7b0-caa5-4f08-8564-45782c09c542', 'name': '', 'tenant_id': '03c53176aec84e41b9fb0bd1532e9ee9', 'network_id': '0ca80f2b-be5d-4780-b4d1-27e13e836d11', 'ip_version': 4, 'cidr': '187.243.136.192/26', 'allocation_pools': [{'start': '187.243.136.194', 'end': '187.243.136.254'}], 'gateway_ip': '187.243.136.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.243.136.194', 'tags': [], 'project_id': '03c53176aec84e41b9fb0bd1532e9ee9'}} 2025-05-22 02:01:50,177 - INFO - Created VN ctest-vn-97474385 2025-05-22 02:01:50,228 - DEBUG - VN ctest-vn-97474385 UUID is 0ca80f2b-be5d-4780-b4d1-27e13e836d11 2025-05-22 02:01:50,392 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29921572:ctest-vn-75489772, 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-29921572:ctest-vn-97474385, 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-22 02:01:50,687 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2c06a33c-b98c-445f-84f1-3ccf43b217ae', 'name': 'ctest-vn-75489772', 'tenant_id': '03c53176aec84e41b9fb0bd1532e9ee9', 'project_id': '03c53176aec84e41b9fb0bd1532e9ee9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['008207c1-0885-429c-9006-2f144f918039'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29921572', 'ctest-vn-75489772'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29921572', 'ctest-policy-allow-all-77284463']], 'subnet_ipam': [{'subnet_cidr': '204.141.201.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-22 02:01:50,918 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0ca80f2b-be5d-4780-b4d1-27e13e836d11', 'name': 'ctest-vn-97474385', 'tenant_id': '03c53176aec84e41b9fb0bd1532e9ee9', 'project_id': '03c53176aec84e41b9fb0bd1532e9ee9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8baeb7b0-caa5-4f08-8564-45782c09c542'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29921572', 'ctest-vn-97474385'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29921572', 'ctest-policy-allow-all-77284463']], 'subnet_ipam': [{'subnet_cidr': '187.243.136.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-22 02:01:51,084 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-05-22 02:01:51,372 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-05-22 02:01:51,399 - DEBUG - Requesting: http://10.0.0.27:8082/domain/d3cc741d-7aa3-42d4-a842-22d10b57c327 2025-05-22 02:01:51,412 - DEBUG - Requesting: http://10.0.0.27:8082/project/03c53176-aec8-4e41-b9fb-0bd1532e9ee9 2025-05-22 02:01:51,484 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2c06a33c-b98c-445f-84f1-3ccf43b217ae 2025-05-22 02:01:51,494 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2c06a33c-b98c-445f-84f1-3ccf43b217ae 2025-05-22 02:01:51,504 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2242d171-9dc8-4448-ab61-85d16433bd78 2025-05-22 02:01:51,512 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2242d171-9dc8-4448-ab61-85d16433bd78 2025-05-22 02:01:51,519 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/c9b59301-4a65-40b1-a2ca-df92dd54dbba 2025-05-22 02:01:51,526 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-22 02:01:51,526 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2c06a33c-b98c-445f-84f1-3ccf43b217ae 2025-05-22 02:01:51,536 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2242d171-9dc8-4448-ab61-85d16433bd78 2025-05-22 02:01:51,549 - INFO - Verified VN network id 8 for VN 2c06a33c-b98c-445f-84f1-3ccf43b217ae 2025-05-22 02:01:51,549 - INFO - Verifications in API Server for VN ctest-vn-75489772 passed 2025-05-22 02:01:51,549 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2c06a33c-b98c-445f-84f1-3ccf43b217ae 2025-05-22 02:01:51,559 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2242d171-9dc8-4448-ab61-85d16433bd78 2025-05-22 02:01:51,566 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2242d171-9dc8-4448-ab61-85d16433bd78 2025-05-22 02:01:51,573 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/c9b59301-4a65-40b1-a2ca-df92dd54dbba 2025-05-22 02:01:51,585 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29921572:ctest-vn-75489772', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29921572', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3172402468735435871', 'uuid-lslong': '9579504743285397422'}, 'enable': 'true', 'created': '2025-05-22T02:01:49', 'last-modified': '2025-05-22T02:01:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.920237'} 2025-05-22 02:01:51,591 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-22 02:01:51,592 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75489772 passed 2025-05-22 02:01:51,592 - DEBUG - ====Verifying policy data for ctest-vn-75489772 in API_Server ====== 2025-05-22 02:01:51,592 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-05-22 02:01:51,597 - DEBUG - Requesting: http://10.0.0.27:8082/domain/d3cc741d-7aa3-42d4-a842-22d10b57c327 2025-05-22 02:01:51,607 - DEBUG - Requesting: http://10.0.0.27:8082/project/03c53176-aec8-4e41-b9fb-0bd1532e9ee9 2025-05-22 02:01:51,677 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2c06a33c-b98c-445f-84f1-3ccf43b217ae 2025-05-22 02:01:51,686 - DEBUG - ==>Verifying data for policy with id: bd48b637-bf22-4e72-a8b9-28651f83a91b, fqn: ['default-domain', 'ctest-TestBasicPolicy-29921572', 'ctest-policy-allow-all-77284463'] 2025-05-22 02:01:51,686 - INFO - VN ctest-vn-75489772 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-22 02:01:51,686 - DEBUG - Verifying the vn in opserver 2025-05-22 02:01:51,686 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29921572:ctest-vn-75489772 virtual network link through opserver 10.0.0.27 2025-05-22 02:01:51,687 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-05-22 02:01:51,974 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-05-22 02:01:52,027 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29921572:ctest-vn-75489772', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29921572:ctest-vn-75489772?flat'} 2025-05-22 02:01:52,027 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29921572:ctest-vn-75489772 is found in opserver 2025-05-22 02:01:52,039 - DEBUG - Do not have enough data to verify VN in agent 2025-05-22 02:01:52,045 - DEBUG - VRF ids for VN ctest-vn-75489772: {} 2025-05-22 02:01:52,045 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-05-22 02:01:52,050 - DEBUG - Requesting: http://10.0.0.27:8082/domain/d3cc741d-7aa3-42d4-a842-22d10b57c327 2025-05-22 02:01:52,061 - DEBUG - Requesting: http://10.0.0.27:8082/project/03c53176-aec8-4e41-b9fb-0bd1532e9ee9 2025-05-22 02:01:52,133 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/0ca80f2b-be5d-4780-b4d1-27e13e836d11 2025-05-22 02:01:52,145 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/0ca80f2b-be5d-4780-b4d1-27e13e836d11 2025-05-22 02:01:52,154 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/581c1f71-d572-492d-b16e-f2afb188c803 2025-05-22 02:01:52,161 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/581c1f71-d572-492d-b16e-f2afb188c803 2025-05-22 02:01:52,168 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/17da32b6-e0cc-4017-9314-70bc046d1f16 2025-05-22 02:01:52,174 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-22 02:01:52,174 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/0ca80f2b-be5d-4780-b4d1-27e13e836d11 2025-05-22 02:01:52,183 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/581c1f71-d572-492d-b16e-f2afb188c803 2025-05-22 02:01:52,197 - INFO - Verified VN network id 9 for VN 0ca80f2b-be5d-4780-b4d1-27e13e836d11 2025-05-22 02:01:52,197 - INFO - Verifications in API Server for VN ctest-vn-97474385 passed 2025-05-22 02:01:52,197 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/0ca80f2b-be5d-4780-b4d1-27e13e836d11 2025-05-22 02:01:52,206 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/581c1f71-d572-492d-b16e-f2afb188c803 2025-05-22 02:01:52,213 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/581c1f71-d572-492d-b16e-f2afb188c803 2025-05-22 02:01:52,219 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/17da32b6-e0cc-4017-9314-70bc046d1f16 2025-05-22 02:01:52,230 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29921572:ctest-vn-97474385', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29921572', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '911995605094320000', 'uuid-lslong': '13029239045329480977'}, 'enable': 'true', 'created': '2025-05-22T02:01:49', 'last-modified': '2025-05-22T02:01:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.337293'} 2025-05-22 02:01:52,236 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-22 02:01:52,236 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97474385 passed 2025-05-22 02:01:52,236 - DEBUG - ====Verifying policy data for ctest-vn-97474385 in API_Server ====== 2025-05-22 02:01:52,236 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-05-22 02:01:52,241 - DEBUG - Requesting: http://10.0.0.27:8082/domain/d3cc741d-7aa3-42d4-a842-22d10b57c327 2025-05-22 02:01:52,251 - DEBUG - Requesting: http://10.0.0.27:8082/project/03c53176-aec8-4e41-b9fb-0bd1532e9ee9 2025-05-22 02:01:52,321 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/0ca80f2b-be5d-4780-b4d1-27e13e836d11 2025-05-22 02:01:52,331 - DEBUG - ==>Verifying data for policy with id: bd48b637-bf22-4e72-a8b9-28651f83a91b, fqn: ['default-domain', 'ctest-TestBasicPolicy-29921572', 'ctest-policy-allow-all-77284463'] 2025-05-22 02:01:52,331 - INFO - VN ctest-vn-97474385 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-22 02:01:52,331 - DEBUG - Verifying the vn in opserver 2025-05-22 02:01:52,331 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29921572:ctest-vn-97474385 virtual network link through opserver 10.0.0.27 2025-05-22 02:01:52,331 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-05-22 02:01:52,341 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29921572:ctest-vn-97474385', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29921572:ctest-vn-97474385?flat'} 2025-05-22 02:01:52,341 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29921572:ctest-vn-97474385 is found in opserver 2025-05-22 02:01:52,352 - DEBUG - Do not have enough data to verify VN in agent 2025-05-22 02:01:52,357 - DEBUG - VRF ids for VN ctest-vn-97474385: {} 2025-05-22 02:01:52,410 - DEBUG - Services list from nova: [, , ] 2025-05-22 02:01:53,387 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3332-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3332-1) 2025-05-22 02:01:54,527 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3332-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3332-1) 2025-05-22 02:01:54,527 - INFO - Waiting for VM ctest-TestBasicPolicy-29921572-26102489 to be up.. 2025-05-22 02:01:54,610 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-22 02:01:59,681 - DEBUG - VM is in ACTIVE state now 2025-05-22 02:01:59,681 - INFO - VM name : ctest-TestBasicPolicy-29921572-26102489 2025-05-22 02:01:59,751 - DEBUG - VM ctest-TestBasicPolicy-29921572-26102489 ID is 307df897-7ade-4e1d-bb22-dfb5d055fa72 2025-05-22 02:01:59,769 - DEBUG - VM ctest-TestBasicPolicy-29921572-26102489 launched on Node cn-jenkins-deploy-platform-ansible-os-3332-1 2025-05-22 02:01:59,841 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/307df897-7ade-4e1d-bb22-dfb5d055fa72 2025-05-22 02:01:59,850 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/c714e830-7379-495a-b180-60a34e9a87ea 2025-05-22 02:02:03,113 - 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 1023ms') 2025-05-22 02:02:03,113 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29921572-26102489 failed! 2025-05-22 02:02:03,168 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-29921572:ctest-vn-75489772 is 204.141.201.65 and allocation pool is NOT set 2025-05-22 02:02:05,232 - 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=3.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.407 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.407/1.910/3.414/1.503 ms') 2025-05-22 02:02:05,232 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29921572-26102489 passed 2025-05-22 02:02:05,380 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-22 02:02:05,380 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29921572-26102489, IP 204.141.201.67, Port 22 2025-05-22 02:02:05,543 - DEBUG - VM ctest-TestBasicPolicy-29921572-26102489 is ready for SSH connections 2025-05-22 02:02:05,543 - INFO - Waiting for VM ctest-TestBasicPolicy-29921572-06594002 to be up.. 2025-05-22 02:02:05,619 - DEBUG - VM is in ACTIVE state now 2025-05-22 02:02:05,619 - INFO - VM name : ctest-TestBasicPolicy-29921572-06594002 2025-05-22 02:02:05,695 - DEBUG - VM ctest-TestBasicPolicy-29921572-06594002 ID is 4d240579-16b3-4785-819a-ab3e82fff184 2025-05-22 02:02:05,695 - DEBUG - VM ctest-TestBasicPolicy-29921572-06594002 launched on Node cn-jenkins-deploy-platform-ansible-os-3332-1 2025-05-22 02:02:05,767 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/4d240579-16b3-4785-819a-ab3e82fff184 2025-05-22 02:02:05,776 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/fb92a073-bdb9-4c8a-890b-de7b5482a03a 2025-05-22 02:02:07,011 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.390 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.390/1.744/3.099/1.354 ms') 2025-05-22 02:02:07,011 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29921572-06594002 passed 2025-05-22 02:02:07,168 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-22 02:02:07,168 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29921572-06594002, IP 187.243.136.195, Port 22 2025-05-22 02:02:07,319 - DEBUG - VM ctest-TestBasicPolicy-29921572-06594002 is ready for SSH connections 2025-05-22 02:02:07,319 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-22 02:02:07,320 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.243.136.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-05-22 02:02:07,320 - DEBUG - ping -s 56 -c 3 -W 1 187.243.136.195 2025-05-22 02:02:11,274 - DEBUG - PING 187.243.136.195 (187.243.136.195): 56 data bytes 64 bytes from 187.243.136.195: seq=0 ttl=63 time=3.142 ms 64 bytes from 187.243.136.195: seq=1 ttl=63 time=0.768 ms 64 bytes from 187.243.136.195: seq=2 ttl=63 time=0.801 ms --- 187.243.136.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.768/1.570/3.142 ms 2025-05-22 02:02:11,274 - INFO - Ping to IP 187.243.136.195 from VM ctest-TestBasicPolicy-29921572-26102489 passed 2025-05-22 02:02:11,452 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bd48b637-bf22-4e72-a8b9-28651f83a91b", "href": "http://10.0.0.27:8082/network-policy/bd48b637-bf22-4e72-a8b9-28651f83a91b"}} 2025-05-22 02:02:11,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-22 02:02:11,452 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.243.136.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-05-22 02:02:11,452 - DEBUG - ping -s 56 -c 3 -W 1 187.243.136.195 2025-05-22 02:02:14,653 - DEBUG - PING 187.243.136.195 (187.243.136.195): 56 data bytes --- 187.243.136.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-22 02:02:14,653 - WARNING - Ping to IP 187.243.136.195 from VM ctest-TestBasicPolicy-29921572-26102489 failed 2025-05-22 02:02:14,653 - INFO - Deleting VM ctest-TestBasicPolicy-29921572-06594002 2025-05-22 02:02:14,713 - INFO - Deleting VM ctest-TestBasicPolicy-29921572-26102489 2025-05-22 02:02:15,084 - INFO - Deleted policy ctest-policy-allow-all-77284463 2025-05-22 02:02:15,085 - INFO - Deleting VN ctest-vn-97474385 2025-05-22 02:02:15,122 - DEBUG - VN 0ca80f2b-be5d-4780-b4d1-27e13e836d11 still in use: Unable to complete operation on network 0ca80f2b-be5d-4780-b4d1-27e13e836d11. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-18c20a06-42e1-49e8-a1b5-dc871f820392'] 2025-05-22 02:02:15,122 - WARNING - Deleting VN ctest-vn-97474385 failed..Will retry 2025-05-22 02:02:17,222 - DEBUG - Response for deleting network () 2025-05-22 02:02:17,222 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/581c1f71-d572-492d-b16e-f2afb188c803 2025-05-22 02:02:17,228 - DEBUG - Response Code: 404 2025-05-22 02:02:17,228 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-05-22 02:02:17,233 - DEBUG - Requesting: http://10.0.0.27:8082/domain/d3cc741d-7aa3-42d4-a842-22d10b57c327 2025-05-22 02:02:17,285 - DEBUG - Requesting: http://10.0.0.27:8082/project/03c53176-aec8-4e41-b9fb-0bd1532e9ee9 2025-05-22 02:02:17,359 - INFO - Validated that VN ctest-vn-97474385 is not found in API Server 2025-05-22 02:02:17,370 - DEBUG - VN ctest-vn-97474385 is not present in Agent 10.0.0.27 2025-05-22 02:02:17,370 - INFO - Validated that VN ctest-vn-97474385 is not in any agent 2025-05-22 02:02:17,385 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97474385 info 2025-05-22 02:02:17,385 - INFO - Deleting VN ctest-vn-75489772 2025-05-22 02:02:17,480 - DEBUG - Response for deleting network () 2025-05-22 02:02:17,480 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2242d171-9dc8-4448-ab61-85d16433bd78 2025-05-22 02:02:17,485 - DEBUG - Response Code: 404 2025-05-22 02:02:17,486 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-05-22 02:02:17,491 - DEBUG - Requesting: http://10.0.0.27:8082/domain/d3cc741d-7aa3-42d4-a842-22d10b57c327 2025-05-22 02:02:17,545 - DEBUG - Requesting: http://10.0.0.27:8082/project/03c53176-aec8-4e41-b9fb-0bd1532e9ee9 2025-05-22 02:02:17,613 - INFO - Validated that VN ctest-vn-75489772 is not found in API Server 2025-05-22 02:02:17,627 - DEBUG - VN ctest-vn-75489772 is not present in Agent 10.0.0.27 2025-05-22 02:02:17,627 - INFO - Validated that VN ctest-vn-75489772 is not in any agent 2025-05-22 02:02:17,644 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75489772 info 2025-05-22 02:02:17,897 - DEBUG - No XMPP flaps were noticed during the test 2025-05-22 02:02:17,898 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-05-22 02:02:17,898 - INFO - -------------------------------------------------------------------------------- 2025-05-22 02:02:18,548 - INFO - Deleted project: ctest-TestBasicPolicy-29921572, ID : 03c53176-aec8-4e41-b9fb-0bd1532e9ee9