2025-04-22 17:01:37,703 - INFO - Domain Default found not creating 2025-04-22 17:01:37,848 - INFO - Project ctest-TestBasicPolicy-04996032 not found, creating it 2025-04-22 17:01:38,309 - INFO - Created Project:ctest-TestBasicPolicy-04996032, ID : 469730b5-043c-4ba5-a906-5480be0cd897 2025-04-22 17:01:39,865 - INFO - ================================================================================ 2025-04-22 17:01:39,866 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-22 17:01:39,866 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-04-22 17:01:40,119 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2025-04-22 17:01:40,119 - INFO - Initial checks done. Running the testcase now 2025-04-22 17:01:40,119 - INFO - 2025-04-22 17:01:40,716 - DEBUG - Response for create_network : {'network': {'id': 'd0fb3138-0f47-4cf7-9be5-86a331a970c6', 'name': 'ctest-vn-82299307', 'tenant_id': '469730b5043c4ba5a9065480be0cd897', 'project_id': '469730b5043c4ba5a9065480be0cd897', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04996032', 'ctest-vn-82299307'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 17:01:40,922 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf5e4e60-e1db-4113-ae62-246d8a3fe318', 'name': '', 'tenant_id': '469730b5043c4ba5a9065480be0cd897', 'network_id': 'd0fb3138-0f47-4cf7-9be5-86a331a970c6', 'ip_version': 4, 'cidr': '37.46.104.0/26', 'allocation_pools': [{'start': '37.46.104.2', 'end': '37.46.104.62'}], 'gateway_ip': '37.46.104.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.46.104.2', 'tags': [], 'project_id': '469730b5043c4ba5a9065480be0cd897'}} 2025-04-22 17:01:40,943 - INFO - Created VN ctest-vn-82299307 2025-04-22 17:01:40,997 - DEBUG - VN ctest-vn-82299307 UUID is d0fb3138-0f47-4cf7-9be5-86a331a970c6 2025-04-22 17:01:41,418 - DEBUG - Response for create_network : {'network': {'id': '70366ece-b621-4160-962f-9c57b251a77d', 'name': 'ctest-vn-85933169', 'tenant_id': '469730b5043c4ba5a9065480be0cd897', 'project_id': '469730b5043c4ba5a9065480be0cd897', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04996032', 'ctest-vn-85933169'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 17:01:41,634 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e839fe0a-c25c-42e1-9ce9-e00933b0b2f1', 'name': '', 'tenant_id': '469730b5043c4ba5a9065480be0cd897', 'network_id': '70366ece-b621-4160-962f-9c57b251a77d', 'ip_version': 4, 'cidr': '113.54.124.192/26', 'allocation_pools': [{'start': '113.54.124.194', 'end': '113.54.124.254'}], 'gateway_ip': '113.54.124.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.54.124.194', 'tags': [], 'project_id': '469730b5043c4ba5a9065480be0cd897'}} 2025-04-22 17:01:41,652 - INFO - Created VN ctest-vn-85933169 2025-04-22 17:01:41,705 - DEBUG - VN ctest-vn-85933169 UUID is 70366ece-b621-4160-962f-9c57b251a77d 2025-04-22 17:01:41,828 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-04996032:ctest-vn-82299307, 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-04996032:ctest-vn-85933169, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-04-22 17:01:42,157 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd0fb3138-0f47-4cf7-9be5-86a331a970c6', 'name': 'ctest-vn-82299307', 'tenant_id': '469730b5043c4ba5a9065480be0cd897', 'project_id': '469730b5043c4ba5a9065480be0cd897', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bf5e4e60-e1db-4113-ae62-246d8a3fe318'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04996032', 'ctest-vn-82299307'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04996032', 'ctest-policy-allow-all-95739147']], 'subnet_ipam': [{'subnet_cidr': '37.46.104.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-22 17:01:42,434 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '70366ece-b621-4160-962f-9c57b251a77d', 'name': 'ctest-vn-85933169', 'tenant_id': '469730b5043c4ba5a9065480be0cd897', 'project_id': '469730b5043c4ba5a9065480be0cd897', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e839fe0a-c25c-42e1-9ce9-e00933b0b2f1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04996032', 'ctest-vn-85933169'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04996032', 'ctest-policy-allow-all-95739147']], 'subnet_ipam': [{'subnet_cidr': '113.54.124.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-22 17:01:42,585 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-04-22 17:01:42,921 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-04-22 17:01:42,949 - DEBUG - Requesting: http://10.0.0.41:8082/domain/ce874d21-acd5-4073-b105-564fb930a5a9 2025-04-22 17:01:42,964 - DEBUG - Requesting: http://10.0.0.41:8082/project/469730b5-043c-4ba5-a906-5480be0cd897 2025-04-22 17:01:43,050 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/d0fb3138-0f47-4cf7-9be5-86a331a970c6 2025-04-22 17:01:43,063 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/d0fb3138-0f47-4cf7-9be5-86a331a970c6 2025-04-22 17:01:43,075 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1eb3c2c5-0e39-4e66-bc84-149c788e185d 2025-04-22 17:01:43,085 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1eb3c2c5-0e39-4e66-bc84-149c788e185d 2025-04-22 17:01:43,092 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/d8fae55c-750a-4f63-a9a4-26b54bd95392 2025-04-22 17:01:43,100 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-22 17:01:43,100 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/d0fb3138-0f47-4cf7-9be5-86a331a970c6 2025-04-22 17:01:43,110 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1eb3c2c5-0e39-4e66-bc84-149c788e185d 2025-04-22 17:01:43,125 - INFO - Verified VN network id 8 for VN d0fb3138-0f47-4cf7-9be5-86a331a970c6 2025-04-22 17:01:43,125 - INFO - Verifications in API Server for VN ctest-vn-82299307 passed 2025-04-22 17:01:43,125 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/d0fb3138-0f47-4cf7-9be5-86a331a970c6 2025-04-22 17:01:43,135 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1eb3c2c5-0e39-4e66-bc84-149c788e185d 2025-04-22 17:01:43,143 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1eb3c2c5-0e39-4e66-bc84-149c788e185d 2025-04-22 17:01:43,151 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/d8fae55c-750a-4f63-a9a4-26b54bd95392 2025-04-22 17:01:43,164 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04996032:ctest-vn-82299307', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04996032', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15058683895887645943', 'uuid-lslong': '11233532881016549574'}, 'enable': 'true', 'created': '2025-04-22T17:01:40', 'last-modified': '2025-04-22T17:01:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.043097'} 2025-04-22 17:01:43,171 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-22 17:01:43,171 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82299307 passed 2025-04-22 17:01:43,171 - DEBUG - ====Verifying policy data for ctest-vn-82299307 in API_Server ====== 2025-04-22 17:01:43,171 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-04-22 17:01:43,177 - DEBUG - Requesting: http://10.0.0.41:8082/domain/ce874d21-acd5-4073-b105-564fb930a5a9 2025-04-22 17:01:43,190 - DEBUG - Requesting: http://10.0.0.41:8082/project/469730b5-043c-4ba5-a906-5480be0cd897 2025-04-22 17:01:43,263 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/d0fb3138-0f47-4cf7-9be5-86a331a970c6 2025-04-22 17:01:43,274 - DEBUG - ==>Verifying data for policy with id: f6267af9-38c8-4af5-ab48-2fcdf99ff1e0, fqn: ['default-domain', 'ctest-TestBasicPolicy-04996032', 'ctest-policy-allow-all-95739147'] 2025-04-22 17:01:43,274 - INFO - VN ctest-vn-82299307 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-22 17:01:43,274 - DEBUG - Verifying the vn in opserver 2025-04-22 17:01:43,274 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04996032:ctest-vn-82299307 virtual network link through opserver 10.0.0.41 2025-04-22 17:01:43,274 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-04-22 17:01:43,622 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-04-22 17:01:43,676 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04996032:ctest-vn-82299307', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04996032:ctest-vn-82299307?flat'} 2025-04-22 17:01:43,676 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04996032:ctest-vn-82299307 is found in opserver 2025-04-22 17:01:43,687 - DEBUG - Do not have enough data to verify VN in agent 2025-04-22 17:01:43,693 - DEBUG - VRF ids for VN ctest-vn-82299307: {} 2025-04-22 17:01:43,693 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-04-22 17:01:43,700 - DEBUG - Requesting: http://10.0.0.41:8082/domain/ce874d21-acd5-4073-b105-564fb930a5a9 2025-04-22 17:01:43,712 - DEBUG - Requesting: http://10.0.0.41:8082/project/469730b5-043c-4ba5-a906-5480be0cd897 2025-04-22 17:01:43,786 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/70366ece-b621-4160-962f-9c57b251a77d 2025-04-22 17:01:43,800 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/70366ece-b621-4160-962f-9c57b251a77d 2025-04-22 17:01:43,810 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f37b19e9-6e84-4e4e-a3b6-24a84ad6939f 2025-04-22 17:01:43,817 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f37b19e9-6e84-4e4e-a3b6-24a84ad6939f 2025-04-22 17:01:43,824 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/46bde978-c322-4922-ad0c-6e134f76198f 2025-04-22 17:01:43,830 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-22 17:01:43,830 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/70366ece-b621-4160-962f-9c57b251a77d 2025-04-22 17:01:43,840 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f37b19e9-6e84-4e4e-a3b6-24a84ad6939f 2025-04-22 17:01:43,854 - INFO - Verified VN network id 9 for VN 70366ece-b621-4160-962f-9c57b251a77d 2025-04-22 17:01:43,854 - INFO - Verifications in API Server for VN ctest-vn-85933169 passed 2025-04-22 17:01:43,854 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/70366ece-b621-4160-962f-9c57b251a77d 2025-04-22 17:01:43,864 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f37b19e9-6e84-4e4e-a3b6-24a84ad6939f 2025-04-22 17:01:43,872 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f37b19e9-6e84-4e4e-a3b6-24a84ad6939f 2025-04-22 17:01:43,880 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/46bde978-c322-4922-ad0c-6e134f76198f 2025-04-22 17:01:43,894 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04996032:ctest-vn-85933169', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04996032', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8085772015088255328', 'uuid-lslong': '10822040330062374781'}, 'enable': 'true', 'created': '2025-04-22T17:01:41', 'last-modified': '2025-04-22T17:01:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.528538'} 2025-04-22 17:01:43,900 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-22 17:01:43,900 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85933169 passed 2025-04-22 17:01:43,901 - DEBUG - ====Verifying policy data for ctest-vn-85933169 in API_Server ====== 2025-04-22 17:01:43,901 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-04-22 17:01:43,907 - DEBUG - Requesting: http://10.0.0.41:8082/domain/ce874d21-acd5-4073-b105-564fb930a5a9 2025-04-22 17:01:43,922 - DEBUG - Requesting: http://10.0.0.41:8082/project/469730b5-043c-4ba5-a906-5480be0cd897 2025-04-22 17:01:44,000 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/70366ece-b621-4160-962f-9c57b251a77d 2025-04-22 17:01:44,011 - DEBUG - ==>Verifying data for policy with id: f6267af9-38c8-4af5-ab48-2fcdf99ff1e0, fqn: ['default-domain', 'ctest-TestBasicPolicy-04996032', 'ctest-policy-allow-all-95739147'] 2025-04-22 17:01:44,011 - INFO - VN ctest-vn-85933169 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-22 17:01:44,011 - DEBUG - Verifying the vn in opserver 2025-04-22 17:01:44,011 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04996032:ctest-vn-85933169 virtual network link through opserver 10.0.0.41 2025-04-22 17:01:44,011 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-04-22 17:01:44,022 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04996032:ctest-vn-85933169', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04996032:ctest-vn-85933169?flat'} 2025-04-22 17:01:44,022 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04996032:ctest-vn-85933169 is found in opserver 2025-04-22 17:01:44,033 - DEBUG - Do not have enough data to verify VN in agent 2025-04-22 17:01:44,039 - DEBUG - VRF ids for VN ctest-vn-85933169: {} 2025-04-22 17:01:44,099 - DEBUG - Services list from nova: [, , ] 2025-04-22 17:01:45,191 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3167-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3167-1) 2025-04-22 17:01:46,478 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3167-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3167-1) 2025-04-22 17:01:46,478 - INFO - Waiting for VM ctest-TestBasicPolicy-04996032-00378422 to be up.. 2025-04-22 17:01:46,558 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-22 17:01:51,635 - DEBUG - VM is in ACTIVE state now 2025-04-22 17:01:51,635 - INFO - VM name : ctest-TestBasicPolicy-04996032-00378422 2025-04-22 17:01:51,710 - DEBUG - VM ctest-TestBasicPolicy-04996032-00378422 ID is 5db39972-b72b-42ab-a693-c088c8cae749 2025-04-22 17:01:51,728 - DEBUG - VM ctest-TestBasicPolicy-04996032-00378422 launched on Node cn-jenkins-deploy-platform-ansible-os-3167-1 2025-04-22 17:01:51,802 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/5db39972-b72b-42ab-a693-c088c8cae749 2025-04-22 17:01:51,811 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/a55507e5-7c36-4d3a-ad64-1000b48fb2c7 2025-04-22 17:01:55,092 - 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 1019ms') 2025-04-22 17:01:55,093 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04996032-00378422 failed! 2025-04-22 17:01:55,153 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-04996032:ctest-vn-82299307 is 37.46.104.1 and allocation pool is NOT set 2025-04-22 17:01:57,214 - 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=5.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.424 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.424/2.948/5.472/2.524 ms') 2025-04-22 17:01:57,214 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04996032-00378422 passed 2025-04-22 17:01:57,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 17:01:57,369 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04996032-00378422, IP 37.46.104.3, Port 22 2025-04-22 17:01:57,529 - DEBUG - VM ctest-TestBasicPolicy-04996032-00378422 is ready for SSH connections 2025-04-22 17:01:57,529 - INFO - Waiting for VM ctest-TestBasicPolicy-04996032-65211758 to be up.. 2025-04-22 17:01:57,605 - DEBUG - VM is in ACTIVE state now 2025-04-22 17:01:57,605 - INFO - VM name : ctest-TestBasicPolicy-04996032-65211758 2025-04-22 17:01:57,680 - DEBUG - VM ctest-TestBasicPolicy-04996032-65211758 ID is 1c54575c-7543-404b-84d2-6faa5a6a7296 2025-04-22 17:01:57,681 - DEBUG - VM ctest-TestBasicPolicy-04996032-65211758 launched on Node cn-jenkins-deploy-platform-ansible-os-3167-1 2025-04-22 17:01:57,758 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/1c54575c-7543-404b-84d2-6faa5a6a7296 2025-04-22 17:01:57,768 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/e9cf86d1-95d8-49fb-9300-508aebfe5280 2025-04-22 17:01:59,023 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.17 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 = 1.171/2.891/4.611/1.720 ms') 2025-04-22 17:01:59,024 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-04996032-65211758 passed 2025-04-22 17:01:59,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 17:01:59,173 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04996032-65211758, IP 113.54.124.195, Port 22 2025-04-22 17:01:59,329 - DEBUG - VM ctest-TestBasicPolicy-04996032-65211758 is ready for SSH connections 2025-04-22 17:01:59,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 17:01:59,329 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.54.124.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-04-22 17:01:59,329 - DEBUG - ping -s 56 -c 3 -W 1 113.54.124.195 2025-04-22 17:02:03,377 - DEBUG - PING 113.54.124.195 (113.54.124.195): 56 data bytes 64 bytes from 113.54.124.195: seq=0 ttl=63 time=3.833 ms 64 bytes from 113.54.124.195: seq=1 ttl=63 time=0.894 ms 64 bytes from 113.54.124.195: seq=2 ttl=63 time=0.783 ms --- 113.54.124.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.783/1.836/3.833 ms 2025-04-22 17:02:03,377 - INFO - Ping to IP 113.54.124.195 from VM ctest-TestBasicPolicy-04996032-00378422 passed 2025-04-22 17:02:03,557 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f6267af9-38c8-4af5-ab48-2fcdf99ff1e0", "href": "http://10.0.0.41:8082/network-policy/f6267af9-38c8-4af5-ab48-2fcdf99ff1e0"}} 2025-04-22 17:02:03,557 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 17:02:03,558 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.54.124.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-04-22 17:02:03,558 - DEBUG - ping -s 56 -c 3 -W 1 113.54.124.195 2025-04-22 17:02:06,778 - DEBUG - PING 113.54.124.195 (113.54.124.195): 56 data bytes 64 bytes from 113.54.124.195: seq=0 ttl=63 time=1.467 ms --- 113.54.124.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.467/1.467/1.467 ms 2025-04-22 17:02:06,778 - WARNING - Ping to IP 113.54.124.195 from VM ctest-TestBasicPolicy-04996032-00378422 failed 2025-04-22 17:02:06,778 - INFO - Deleting VM ctest-TestBasicPolicy-04996032-65211758 2025-04-22 17:02:06,844 - INFO - Deleting VM ctest-TestBasicPolicy-04996032-00378422 2025-04-22 17:02:07,342 - INFO - Deleted policy ctest-policy-allow-all-95739147 2025-04-22 17:02:07,342 - INFO - Deleting VN ctest-vn-85933169 2025-04-22 17:02:07,380 - DEBUG - VN 70366ece-b621-4160-962f-9c57b251a77d still in use: Unable to complete operation on network 70366ece-b621-4160-962f-9c57b251a77d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0ee2d417-1956-49bb-b44c-6e822f519f51'] 2025-04-22 17:02:07,380 - WARNING - Deleting VN ctest-vn-85933169 failed..Will retry 2025-04-22 17:02:09,495 - DEBUG - Response for deleting network () 2025-04-22 17:02:09,495 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f37b19e9-6e84-4e4e-a3b6-24a84ad6939f 2025-04-22 17:02:09,502 - DEBUG - Response Code: 404 2025-04-22 17:02:09,502 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-04-22 17:02:09,508 - DEBUG - Requesting: http://10.0.0.41:8082/domain/ce874d21-acd5-4073-b105-564fb930a5a9 2025-04-22 17:02:09,568 - DEBUG - Requesting: http://10.0.0.41:8082/project/469730b5-043c-4ba5-a906-5480be0cd897 2025-04-22 17:02:09,642 - INFO - Validated that VN ctest-vn-85933169 is not found in API Server 2025-04-22 17:02:09,655 - DEBUG - VN ctest-vn-85933169 is not present in Agent 10.0.0.41 2025-04-22 17:02:09,655 - INFO - Validated that VN ctest-vn-85933169 is not in any agent 2025-04-22 17:02:09,671 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85933169 info 2025-04-22 17:02:09,671 - INFO - Deleting VN ctest-vn-82299307 2025-04-22 17:02:09,782 - DEBUG - Response for deleting network () 2025-04-22 17:02:09,782 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1eb3c2c5-0e39-4e66-bc84-149c788e185d 2025-04-22 17:02:09,788 - DEBUG - Response Code: 404 2025-04-22 17:02:09,788 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-04-22 17:02:09,795 - DEBUG - Requesting: http://10.0.0.41:8082/domain/ce874d21-acd5-4073-b105-564fb930a5a9 2025-04-22 17:02:09,852 - DEBUG - Requesting: http://10.0.0.41:8082/project/469730b5-043c-4ba5-a906-5480be0cd897 2025-04-22 17:02:09,926 - INFO - Validated that VN ctest-vn-82299307 is not found in API Server 2025-04-22 17:02:09,940 - DEBUG - VN ctest-vn-82299307 is not present in Agent 10.0.0.41 2025-04-22 17:02:09,940 - INFO - Validated that VN ctest-vn-82299307 is not in any agent 2025-04-22 17:02:09,959 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82299307 info 2025-04-22 17:02:10,220 - DEBUG - No XMPP flaps were noticed during the test 2025-04-22 17:02:10,220 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-04-22 17:02:10,220 - INFO - -------------------------------------------------------------------------------- 2025-04-22 17:02:11,027 - INFO - Deleted project: ctest-TestBasicPolicy-04996032, ID : 469730b5-043c-4ba5-a906-5480be0cd897