2025-06-19 02:08:17,997 - INFO - Domain Default found not creating 2025-06-19 02:08:18,155 - INFO - Project ctest-TestBasicPolicy-46003076 not found, creating it 2025-06-19 02:08:18,613 - INFO - Created Project:ctest-TestBasicPolicy-46003076, ID : 1fc05439-1171-484e-86dc-f86129cc87d4 2025-06-19 02:08:20,042 - INFO - ================================================================================ 2025-06-19 02:08:20,042 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-19 02:08:20,042 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-06-19 02:08:20,299 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.18': '0'}} with 2025-06-19 02:08:20,299 - INFO - Initial checks done. Running the testcase now 2025-06-19 02:08:20,299 - INFO - 2025-06-19 02:08:20,854 - DEBUG - Response for create_network : {'network': {'id': '5877e05c-0c02-4874-80f5-4445032eeb0b', 'name': 'ctest-vn-91530910', 'tenant_id': '1fc054391171484e86dcf86129cc87d4', 'project_id': '1fc054391171484e86dcf86129cc87d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46003076', 'ctest-vn-91530910'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 02:08:21,024 - DEBUG - Response for create_subnet : {'subnet': {'id': '769beaab-55bd-467d-a09a-6405624ef485', 'name': '', 'tenant_id': '1fc054391171484e86dcf86129cc87d4', 'network_id': '5877e05c-0c02-4874-80f5-4445032eeb0b', 'ip_version': 4, 'cidr': '31.132.150.0/26', 'allocation_pools': [{'start': '31.132.150.2', 'end': '31.132.150.62'}], 'gateway_ip': '31.132.150.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.132.150.2', 'tags': [], 'project_id': '1fc054391171484e86dcf86129cc87d4'}} 2025-06-19 02:08:21,040 - INFO - Created VN ctest-vn-91530910 2025-06-19 02:08:21,094 - DEBUG - VN ctest-vn-91530910 UUID is 5877e05c-0c02-4874-80f5-4445032eeb0b 2025-06-19 02:08:21,392 - DEBUG - Response for create_network : {'network': {'id': '4b925ab5-857c-4d83-a7d7-14ab3ac9b682', 'name': 'ctest-vn-78031074', 'tenant_id': '1fc054391171484e86dcf86129cc87d4', 'project_id': '1fc054391171484e86dcf86129cc87d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46003076', 'ctest-vn-78031074'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 02:08:21,594 - DEBUG - Response for create_subnet : {'subnet': {'id': '67b4c8f9-9f8d-4ddf-b420-387dcfcc5bbe', 'name': '', 'tenant_id': '1fc054391171484e86dcf86129cc87d4', 'network_id': '4b925ab5-857c-4d83-a7d7-14ab3ac9b682', 'ip_version': 4, 'cidr': '191.212.223.0/26', 'allocation_pools': [{'start': '191.212.223.2', 'end': '191.212.223.62'}], 'gateway_ip': '191.212.223.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.212.223.2', 'tags': [], 'project_id': '1fc054391171484e86dcf86129cc87d4'}} 2025-06-19 02:08:21,611 - INFO - Created VN ctest-vn-78031074 2025-06-19 02:08:21,661 - DEBUG - VN ctest-vn-78031074 UUID is 4b925ab5-857c-4d83-a7d7-14ab3ac9b682 2025-06-19 02:08:21,813 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-46003076:ctest-vn-91530910, 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-46003076:ctest-vn-78031074, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-06-19 02:08:22,120 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5877e05c-0c02-4874-80f5-4445032eeb0b', 'name': 'ctest-vn-91530910', 'tenant_id': '1fc054391171484e86dcf86129cc87d4', 'project_id': '1fc054391171484e86dcf86129cc87d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['769beaab-55bd-467d-a09a-6405624ef485'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46003076', 'ctest-vn-91530910'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46003076', 'ctest-policy-allow-all-73460815']], 'subnet_ipam': [{'subnet_cidr': '31.132.150.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-19 02:08:22,362 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4b925ab5-857c-4d83-a7d7-14ab3ac9b682', 'name': 'ctest-vn-78031074', 'tenant_id': '1fc054391171484e86dcf86129cc87d4', 'project_id': '1fc054391171484e86dcf86129cc87d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['67b4c8f9-9f8d-4ddf-b420-387dcfcc5bbe'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46003076', 'ctest-vn-78031074'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46003076', 'ctest-policy-allow-all-73460815']], 'subnet_ipam': [{'subnet_cidr': '191.212.223.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-19 02:08:22,538 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-06-19 02:08:22,829 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-06-19 02:08:22,863 - DEBUG - Requesting: http://10.0.0.130:8082/domain/ae56ab44-fe87-4d4e-94a6-b512d26d4631 2025-06-19 02:08:22,880 - DEBUG - Requesting: http://10.0.0.130:8082/project/1fc05439-1171-484e-86dc-f86129cc87d4 2025-06-19 02:08:22,951 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5877e05c-0c02-4874-80f5-4445032eeb0b 2025-06-19 02:08:22,966 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5877e05c-0c02-4874-80f5-4445032eeb0b 2025-06-19 02:08:22,979 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/08bbfdad-a1c9-4871-b0ff-c64e6bf1665c 2025-06-19 02:08:22,987 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/08bbfdad-a1c9-4871-b0ff-c64e6bf1665c 2025-06-19 02:08:22,996 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/5fdc807c-245e-4257-941d-72716cc205b8 2025-06-19 02:08:23,005 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-19 02:08:23,005 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5877e05c-0c02-4874-80f5-4445032eeb0b 2025-06-19 02:08:23,018 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/08bbfdad-a1c9-4871-b0ff-c64e6bf1665c 2025-06-19 02:08:23,034 - INFO - Verified VN network id 8 for VN 5877e05c-0c02-4874-80f5-4445032eeb0b 2025-06-19 02:08:23,034 - INFO - Verifications in API Server for VN ctest-vn-91530910 passed 2025-06-19 02:08:23,034 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5877e05c-0c02-4874-80f5-4445032eeb0b 2025-06-19 02:08:23,044 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/08bbfdad-a1c9-4871-b0ff-c64e6bf1665c 2025-06-19 02:08:23,052 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/08bbfdad-a1c9-4871-b0ff-c64e6bf1665c 2025-06-19 02:08:23,059 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/5fdc807c-245e-4257-941d-72716cc205b8 2025-06-19 02:08:23,070 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46003076:ctest-vn-91530910', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46003076', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6374810483509315700', 'uuid-lslong': '9292408469345725195'}, 'enable': 'true', 'created': '2025-06-19T02:08:20', 'last-modified': '2025-06-19T02:08:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.972901'} 2025-06-19 02:08:23,077 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-19 02:08:23,077 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91530910 passed 2025-06-19 02:08:23,077 - DEBUG - ====Verifying policy data for ctest-vn-91530910 in API_Server ====== 2025-06-19 02:08:23,077 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-06-19 02:08:23,083 - DEBUG - Requesting: http://10.0.0.130:8082/domain/ae56ab44-fe87-4d4e-94a6-b512d26d4631 2025-06-19 02:08:23,096 - DEBUG - Requesting: http://10.0.0.130:8082/project/1fc05439-1171-484e-86dc-f86129cc87d4 2025-06-19 02:08:23,171 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5877e05c-0c02-4874-80f5-4445032eeb0b 2025-06-19 02:08:23,181 - DEBUG - ==>Verifying data for policy with id: e16b5045-9ef1-4734-b673-053530587b95, fqn: ['default-domain', 'ctest-TestBasicPolicy-46003076', 'ctest-policy-allow-all-73460815'] 2025-06-19 02:08:23,181 - INFO - VN ctest-vn-91530910 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-19 02:08:23,181 - DEBUG - Verifying the vn in opserver 2025-06-19 02:08:23,181 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46003076:ctest-vn-91530910 virtual network link through opserver 10.0.0.130 2025-06-19 02:08:23,181 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-06-19 02:08:23,470 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-06-19 02:08:23,525 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46003076:ctest-vn-91530910', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46003076:ctest-vn-91530910?flat'} 2025-06-19 02:08:23,525 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46003076:ctest-vn-91530910 is found in opserver 2025-06-19 02:08:23,536 - DEBUG - Do not have enough data to verify VN in agent 2025-06-19 02:08:23,541 - DEBUG - VRF ids for VN ctest-vn-91530910: {} 2025-06-19 02:08:23,541 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-06-19 02:08:23,548 - DEBUG - Requesting: http://10.0.0.130:8082/domain/ae56ab44-fe87-4d4e-94a6-b512d26d4631 2025-06-19 02:08:23,563 - DEBUG - Requesting: http://10.0.0.130:8082/project/1fc05439-1171-484e-86dc-f86129cc87d4 2025-06-19 02:08:23,637 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/4b925ab5-857c-4d83-a7d7-14ab3ac9b682 2025-06-19 02:08:23,650 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/4b925ab5-857c-4d83-a7d7-14ab3ac9b682 2025-06-19 02:08:23,660 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e6c75653-0087-4f6a-a91e-0a9fae1a3f15 2025-06-19 02:08:23,668 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e6c75653-0087-4f6a-a91e-0a9fae1a3f15 2025-06-19 02:08:23,675 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/a710f81b-0996-4efe-93d7-f419733c18da 2025-06-19 02:08:23,682 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-19 02:08:23,682 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/4b925ab5-857c-4d83-a7d7-14ab3ac9b682 2025-06-19 02:08:23,693 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e6c75653-0087-4f6a-a91e-0a9fae1a3f15 2025-06-19 02:08:23,707 - INFO - Verified VN network id 9 for VN 4b925ab5-857c-4d83-a7d7-14ab3ac9b682 2025-06-19 02:08:23,708 - INFO - Verifications in API Server for VN ctest-vn-78031074 passed 2025-06-19 02:08:23,708 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/4b925ab5-857c-4d83-a7d7-14ab3ac9b682 2025-06-19 02:08:23,717 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e6c75653-0087-4f6a-a91e-0a9fae1a3f15 2025-06-19 02:08:23,725 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e6c75653-0087-4f6a-a91e-0a9fae1a3f15 2025-06-19 02:08:23,732 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/a710f81b-0996-4efe-93d7-f419733c18da 2025-06-19 02:08:23,744 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46003076:ctest-vn-78031074', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46003076', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5445514635119447427', 'uuid-lslong': '12094158049985017474'}, 'enable': 'true', 'created': '2025-06-19T02:08:21', 'last-modified': '2025-06-19T02:08:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.406767'} 2025-06-19 02:08:23,750 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-19 02:08:23,750 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78031074 passed 2025-06-19 02:08:23,750 - DEBUG - ====Verifying policy data for ctest-vn-78031074 in API_Server ====== 2025-06-19 02:08:23,750 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-06-19 02:08:23,756 - DEBUG - Requesting: http://10.0.0.130:8082/domain/ae56ab44-fe87-4d4e-94a6-b512d26d4631 2025-06-19 02:08:23,769 - DEBUG - Requesting: http://10.0.0.130:8082/project/1fc05439-1171-484e-86dc-f86129cc87d4 2025-06-19 02:08:23,839 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/4b925ab5-857c-4d83-a7d7-14ab3ac9b682 2025-06-19 02:08:23,849 - DEBUG - ==>Verifying data for policy with id: e16b5045-9ef1-4734-b673-053530587b95, fqn: ['default-domain', 'ctest-TestBasicPolicy-46003076', 'ctest-policy-allow-all-73460815'] 2025-06-19 02:08:23,849 - INFO - VN ctest-vn-78031074 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-19 02:08:23,849 - DEBUG - Verifying the vn in opserver 2025-06-19 02:08:23,849 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46003076:ctest-vn-78031074 virtual network link through opserver 10.0.0.130 2025-06-19 02:08:23,849 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-06-19 02:08:23,860 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46003076:ctest-vn-78031074', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46003076:ctest-vn-78031074?flat'} 2025-06-19 02:08:23,860 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46003076:ctest-vn-78031074 is found in opserver 2025-06-19 02:08:23,870 - DEBUG - Do not have enough data to verify VN in agent 2025-06-19 02:08:23,875 - DEBUG - VRF ids for VN ctest-vn-78031074: {} 2025-06-19 02:08:23,929 - DEBUG - Services list from nova: [, , ] 2025-06-19 02:08:24,955 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3481-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3481-1) 2025-06-19 02:08:26,170 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3481-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3481-1) 2025-06-19 02:08:26,170 - INFO - Waiting for VM ctest-TestBasicPolicy-46003076-03526635 to be up.. 2025-06-19 02:08:26,250 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-19 02:08:31,357 - DEBUG - VM is in ACTIVE state now 2025-06-19 02:08:31,357 - INFO - VM name : ctest-TestBasicPolicy-46003076-03526635 2025-06-19 02:08:31,432 - DEBUG - VM ctest-TestBasicPolicy-46003076-03526635 ID is 2b73e88e-212f-4bf0-9158-1280c103a755 2025-06-19 02:08:31,450 - DEBUG - VM ctest-TestBasicPolicy-46003076-03526635 launched on Node cn-jenkins-deploy-platform-ansible-os-3481-1 2025-06-19 02:08:31,518 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/2b73e88e-212f-4bf0-9158-1280c103a755 2025-06-19 02:08:31,528 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/f97a1171-2789-41ff-b2a7-836c57afaa7e 2025-06-19 02:08:34,793 - 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-06-19 02:08:34,793 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46003076-03526635 failed! 2025-06-19 02:08:34,850 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-46003076:ctest-vn-91530910 is 31.132.150.1 and allocation pool is NOT set 2025-06-19 02:08:36,909 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.921 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.921/2.252/3.583/1.331 ms') 2025-06-19 02:08:36,909 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46003076-03526635 passed 2025-06-19 02:08:37,069 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 02:08:37,070 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46003076-03526635, IP 31.132.150.3, Port 22 2025-06-19 02:08:37,225 - DEBUG - VM ctest-TestBasicPolicy-46003076-03526635 is ready for SSH connections 2025-06-19 02:08:37,225 - INFO - Waiting for VM ctest-TestBasicPolicy-46003076-04869303 to be up.. 2025-06-19 02:08:37,309 - DEBUG - VM is in ACTIVE state now 2025-06-19 02:08:37,309 - INFO - VM name : ctest-TestBasicPolicy-46003076-04869303 2025-06-19 02:08:37,382 - DEBUG - VM ctest-TestBasicPolicy-46003076-04869303 ID is e4efe488-6ca1-46e0-8abb-ffee64d91cb9 2025-06-19 02:08:37,382 - DEBUG - VM ctest-TestBasicPolicy-46003076-04869303 launched on Node cn-jenkins-deploy-platform-ansible-os-3481-1 2025-06-19 02:08:37,457 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/e4efe488-6ca1-46e0-8abb-ffee64d91cb9 2025-06-19 02:08:37,466 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/eb762a49-ab44-4afb-af7d-c0abdad80049 2025-06-19 02:08:38,705 - 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=2.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.463 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 = 0.463/1.593/2.723/1.130 ms') 2025-06-19 02:08:38,705 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-46003076-04869303 passed 2025-06-19 02:08:38,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 02:08:38,858 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46003076-04869303, IP 191.212.223.3, Port 22 2025-06-19 02:08:39,013 - DEBUG - VM ctest-TestBasicPolicy-46003076-04869303 is ready for SSH connections 2025-06-19 02:08:39,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 02:08:39,013 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.212.223.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-06-19 02:08:39,013 - DEBUG - ping -s 56 -c 3 -W 1 191.212.223.3 2025-06-19 02:08:42,730 - DEBUG - PING 191.212.223.3 (191.212.223.3): 56 data bytes 64 bytes from 191.212.223.3: seq=0 ttl=63 time=4.271 ms 64 bytes from 191.212.223.3: seq=1 ttl=63 time=0.919 ms 64 bytes from 191.212.223.3: seq=2 ttl=63 time=0.904 ms --- 191.212.223.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.904/2.031/4.271 ms 2025-06-19 02:08:42,730 - INFO - Ping to IP 191.212.223.3 from VM ctest-TestBasicPolicy-46003076-03526635 passed 2025-06-19 02:08:42,917 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e16b5045-9ef1-4734-b673-053530587b95", "href": "http://10.0.0.130:8082/network-policy/e16b5045-9ef1-4734-b673-053530587b95"}} 2025-06-19 02:08:42,918 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 02:08:42,918 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.212.223.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-06-19 02:08:42,918 - DEBUG - ping -s 56 -c 3 -W 1 191.212.223.3 2025-06-19 02:08:46,133 - DEBUG - PING 191.212.223.3 (191.212.223.3): 56 data bytes --- 191.212.223.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-19 02:08:46,133 - WARNING - Ping to IP 191.212.223.3 from VM ctest-TestBasicPolicy-46003076-03526635 failed 2025-06-19 02:08:46,133 - INFO - Deleting VM ctest-TestBasicPolicy-46003076-04869303 2025-06-19 02:08:46,196 - INFO - Deleting VM ctest-TestBasicPolicy-46003076-03526635 2025-06-19 02:08:46,583 - INFO - Deleted policy ctest-policy-allow-all-73460815 2025-06-19 02:08:46,583 - INFO - Deleting VN ctest-vn-78031074 2025-06-19 02:08:46,617 - DEBUG - VN 4b925ab5-857c-4d83-a7d7-14ab3ac9b682 still in use: Unable to complete operation on network 4b925ab5-857c-4d83-a7d7-14ab3ac9b682. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-798d9153-3388-4159-b04c-340bc89a0105'] 2025-06-19 02:08:46,617 - WARNING - Deleting VN ctest-vn-78031074 failed..Will retry 2025-06-19 02:08:48,723 - DEBUG - Response for deleting network () 2025-06-19 02:08:48,723 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e6c75653-0087-4f6a-a91e-0a9fae1a3f15 2025-06-19 02:08:48,729 - DEBUG - Response Code: 404 2025-06-19 02:08:48,729 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-06-19 02:08:48,736 - DEBUG - Requesting: http://10.0.0.130:8082/domain/ae56ab44-fe87-4d4e-94a6-b512d26d4631 2025-06-19 02:08:48,792 - DEBUG - Requesting: http://10.0.0.130:8082/project/1fc05439-1171-484e-86dc-f86129cc87d4 2025-06-19 02:08:48,864 - INFO - Validated that VN ctest-vn-78031074 is not found in API Server 2025-06-19 02:08:48,874 - DEBUG - VN ctest-vn-78031074 is not present in Agent 10.0.0.130 2025-06-19 02:08:48,875 - INFO - Validated that VN ctest-vn-78031074 is not in any agent 2025-06-19 02:08:48,893 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78031074 info 2025-06-19 02:08:48,893 - INFO - Deleting VN ctest-vn-91530910 2025-06-19 02:08:48,998 - DEBUG - Response for deleting network () 2025-06-19 02:08:48,998 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/08bbfdad-a1c9-4871-b0ff-c64e6bf1665c 2025-06-19 02:08:49,005 - DEBUG - Response Code: 404 2025-06-19 02:08:49,005 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-06-19 02:08:49,015 - DEBUG - Requesting: http://10.0.0.130:8082/domain/ae56ab44-fe87-4d4e-94a6-b512d26d4631 2025-06-19 02:08:49,071 - DEBUG - Requesting: http://10.0.0.130:8082/project/1fc05439-1171-484e-86dc-f86129cc87d4 2025-06-19 02:08:49,148 - INFO - Validated that VN ctest-vn-91530910 is not found in API Server 2025-06-19 02:08:49,159 - DEBUG - VN ctest-vn-91530910 is not present in Agent 10.0.0.130 2025-06-19 02:08:49,159 - INFO - Validated that VN ctest-vn-91530910 is not in any agent 2025-06-19 02:08:49,175 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91530910 info 2025-06-19 02:08:49,427 - DEBUG - No XMPP flaps were noticed during the test 2025-06-19 02:08:49,427 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-06-19 02:08:49,427 - INFO - -------------------------------------------------------------------------------- 2025-06-19 02:08:50,080 - INFO - Deleted project: ctest-TestBasicPolicy-46003076, ID : 1fc05439-1171-484e-86dc-f86129cc87d4