2025-08-12 01:43:55,780 - INFO - Domain Default found not creating 2025-08-12 01:43:55,914 - INFO - Project ctest-TestBasicPolicy-42978538 not found, creating it 2025-08-12 01:43:56,366 - INFO - Created Project:ctest-TestBasicPolicy-42978538, ID : 6c710e6e-38d0-4baf-9722-6231c1fe6046 2025-08-12 01:43:57,758 - INFO - ================================================================================ 2025-08-12 01:43:57,758 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-12 01:43:57,758 - 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-08-12 01:43:58,020 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.17': '0'}} with 2025-08-12 01:43:58,020 - INFO - Initial checks done. Running the testcase now 2025-08-12 01:43:58,020 - INFO - 2025-08-12 01:43:58,511 - DEBUG - Response for create_network : {'network': {'id': '4a9a499f-f779-46f0-b41f-51aeaa3d4cd0', 'name': 'ctest-vn-86503008', 'tenant_id': '6c710e6e38d04baf97226231c1fe6046', 'project_id': '6c710e6e38d04baf97226231c1fe6046', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42978538', 'ctest-vn-86503008'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 01:43:58,678 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9707195-8c70-4d7f-acde-0f9091593f5b', 'name': '', 'tenant_id': '6c710e6e38d04baf97226231c1fe6046', 'network_id': '4a9a499f-f779-46f0-b41f-51aeaa3d4cd0', 'ip_version': 4, 'cidr': '2.13.235.192/26', 'allocation_pools': [{'start': '2.13.235.194', 'end': '2.13.235.254'}], 'gateway_ip': '2.13.235.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.13.235.194', 'tags': [], 'project_id': '6c710e6e38d04baf97226231c1fe6046'}} 2025-08-12 01:43:58,696 - INFO - Created VN ctest-vn-86503008 2025-08-12 01:43:58,749 - DEBUG - VN ctest-vn-86503008 UUID is 4a9a499f-f779-46f0-b41f-51aeaa3d4cd0 2025-08-12 01:43:59,039 - DEBUG - Response for create_network : {'network': {'id': 'd97b022d-d31b-43ff-b6d0-73303307a07f', 'name': 'ctest-vn-45445136', 'tenant_id': '6c710e6e38d04baf97226231c1fe6046', 'project_id': '6c710e6e38d04baf97226231c1fe6046', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42978538', 'ctest-vn-45445136'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 01:43:59,212 - DEBUG - Response for create_subnet : {'subnet': {'id': '524532cd-16b0-456a-9ce3-eab8df6847c2', 'name': '', 'tenant_id': '6c710e6e38d04baf97226231c1fe6046', 'network_id': 'd97b022d-d31b-43ff-b6d0-73303307a07f', 'ip_version': 4, 'cidr': '124.156.187.128/26', 'allocation_pools': [{'start': '124.156.187.130', 'end': '124.156.187.190'}], 'gateway_ip': '124.156.187.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.156.187.130', 'tags': [], 'project_id': '6c710e6e38d04baf97226231c1fe6046'}} 2025-08-12 01:43:59,235 - INFO - Created VN ctest-vn-45445136 2025-08-12 01:43:59,285 - DEBUG - VN ctest-vn-45445136 UUID is d97b022d-d31b-43ff-b6d0-73303307a07f 2025-08-12 01:43:59,437 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-42978538:ctest-vn-86503008, 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-42978538:ctest-vn-45445136, 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-08-12 01:43:59,729 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4a9a499f-f779-46f0-b41f-51aeaa3d4cd0', 'name': 'ctest-vn-86503008', 'tenant_id': '6c710e6e38d04baf97226231c1fe6046', 'project_id': '6c710e6e38d04baf97226231c1fe6046', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c9707195-8c70-4d7f-acde-0f9091593f5b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42978538', 'ctest-vn-86503008'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-42978538', 'ctest-policy-allow-all-53434082']], 'subnet_ipam': [{'subnet_cidr': '2.13.235.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-12 01:44:00,010 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd97b022d-d31b-43ff-b6d0-73303307a07f', 'name': 'ctest-vn-45445136', 'tenant_id': '6c710e6e38d04baf97226231c1fe6046', 'project_id': '6c710e6e38d04baf97226231c1fe6046', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['524532cd-16b0-456a-9ce3-eab8df6847c2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42978538', 'ctest-vn-45445136'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-42978538', 'ctest-policy-allow-all-53434082']], 'subnet_ipam': [{'subnet_cidr': '124.156.187.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-12 01:44:00,161 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-08-12 01:44:00,427 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-08-12 01:44:00,460 - DEBUG - Requesting: http://10.0.0.241:8082/domain/e722a47c-c3f6-467c-ad31-33f2a019a107 2025-08-12 01:44:00,475 - DEBUG - Requesting: http://10.0.0.241:8082/project/6c710e6e-38d0-4baf-9722-6231c1fe6046 2025-08-12 01:44:00,555 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/4a9a499f-f779-46f0-b41f-51aeaa3d4cd0 2025-08-12 01:44:00,569 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/4a9a499f-f779-46f0-b41f-51aeaa3d4cd0 2025-08-12 01:44:00,581 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/6fd2210d-8a99-4802-bf4e-e2efe6428e35 2025-08-12 01:44:00,592 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/6fd2210d-8a99-4802-bf4e-e2efe6428e35 2025-08-12 01:44:00,600 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/9fbd5481-c6b4-4720-8a5b-9d618b33b989 2025-08-12 01:44:00,608 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-12 01:44:00,608 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/4a9a499f-f779-46f0-b41f-51aeaa3d4cd0 2025-08-12 01:44:00,617 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/6fd2210d-8a99-4802-bf4e-e2efe6428e35 2025-08-12 01:44:00,631 - INFO - Verified VN network id 12 for VN 4a9a499f-f779-46f0-b41f-51aeaa3d4cd0 2025-08-12 01:44:00,632 - INFO - Verifications in API Server for VN ctest-vn-86503008 passed 2025-08-12 01:44:00,632 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/4a9a499f-f779-46f0-b41f-51aeaa3d4cd0 2025-08-12 01:44:00,641 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/6fd2210d-8a99-4802-bf4e-e2efe6428e35 2025-08-12 01:44:00,648 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/6fd2210d-8a99-4802-bf4e-e2efe6428e35 2025-08-12 01:44:00,656 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/9fbd5481-c6b4-4720-8a5b-9d618b33b989 2025-08-12 01:44:00,672 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-42978538:ctest-vn-86503008', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-42978538', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5375690056620656368', 'uuid-lslong': '12979182461727362256'}, 'enable': 'true', 'created': '2025-08-12T01:43:58', 'last-modified': '2025-08-12T01:43:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.966395'} 2025-08-12 01:44:00,678 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-12 01:44:00,678 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86503008 passed 2025-08-12 01:44:00,679 - DEBUG - ====Verifying policy data for ctest-vn-86503008 in API_Server ====== 2025-08-12 01:44:00,679 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-08-12 01:44:00,687 - DEBUG - Requesting: http://10.0.0.241:8082/domain/e722a47c-c3f6-467c-ad31-33f2a019a107 2025-08-12 01:44:00,704 - DEBUG - Requesting: http://10.0.0.241:8082/project/6c710e6e-38d0-4baf-9722-6231c1fe6046 2025-08-12 01:44:00,780 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/4a9a499f-f779-46f0-b41f-51aeaa3d4cd0 2025-08-12 01:44:00,790 - DEBUG - ==>Verifying data for policy with id: fd344dde-be0e-457e-b80e-5600f5130e6f, fqn: ['default-domain', 'ctest-TestBasicPolicy-42978538', 'ctest-policy-allow-all-53434082'] 2025-08-12 01:44:00,790 - INFO - VN ctest-vn-86503008 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-12 01:44:00,790 - DEBUG - Verifying the vn in opserver 2025-08-12 01:44:00,790 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-42978538:ctest-vn-86503008 virtual network link through opserver 10.0.0.241 2025-08-12 01:44:00,790 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-08-12 01:44:01,075 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-08-12 01:44:01,152 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-42978538:ctest-vn-86503008', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-42978538:ctest-vn-86503008?flat'} 2025-08-12 01:44:01,152 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-42978538:ctest-vn-86503008 is found in opserver 2025-08-12 01:44:01,165 - DEBUG - Do not have enough data to verify VN in agent 2025-08-12 01:44:01,170 - DEBUG - VRF ids for VN ctest-vn-86503008: {} 2025-08-12 01:44:01,170 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-08-12 01:44:01,178 - DEBUG - Requesting: http://10.0.0.241:8082/domain/e722a47c-c3f6-467c-ad31-33f2a019a107 2025-08-12 01:44:01,194 - DEBUG - Requesting: http://10.0.0.241:8082/project/6c710e6e-38d0-4baf-9722-6231c1fe6046 2025-08-12 01:44:01,271 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d97b022d-d31b-43ff-b6d0-73303307a07f 2025-08-12 01:44:01,286 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d97b022d-d31b-43ff-b6d0-73303307a07f 2025-08-12 01:44:01,297 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/43c26317-013c-49f1-ad70-c7a3958bc9dd 2025-08-12 01:44:01,306 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/43c26317-013c-49f1-ad70-c7a3958bc9dd 2025-08-12 01:44:01,315 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/7696d969-da5a-4d8d-ad42-c1e191366652 2025-08-12 01:44:01,323 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-12 01:44:01,323 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d97b022d-d31b-43ff-b6d0-73303307a07f 2025-08-12 01:44:01,335 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/43c26317-013c-49f1-ad70-c7a3958bc9dd 2025-08-12 01:44:01,350 - INFO - Verified VN network id 13 for VN d97b022d-d31b-43ff-b6d0-73303307a07f 2025-08-12 01:44:01,350 - INFO - Verifications in API Server for VN ctest-vn-45445136 passed 2025-08-12 01:44:01,350 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d97b022d-d31b-43ff-b6d0-73303307a07f 2025-08-12 01:44:01,360 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/43c26317-013c-49f1-ad70-c7a3958bc9dd 2025-08-12 01:44:01,369 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/43c26317-013c-49f1-ad70-c7a3958bc9dd 2025-08-12 01:44:01,378 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/7696d969-da5a-4d8d-ad42-c1e191366652 2025-08-12 01:44:01,393 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-42978538:ctest-vn-45445136', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-42978538', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15671121724204336127', 'uuid-lslong': '13173155560910463103'}, 'enable': 'true', 'created': '2025-08-12T01:43:59', 'last-modified': '2025-08-12T01:43:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.455792'} 2025-08-12 01:44:01,400 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-12 01:44:01,400 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45445136 passed 2025-08-12 01:44:01,400 - DEBUG - ====Verifying policy data for ctest-vn-45445136 in API_Server ====== 2025-08-12 01:44:01,400 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-08-12 01:44:01,408 - DEBUG - Requesting: http://10.0.0.241:8082/domain/e722a47c-c3f6-467c-ad31-33f2a019a107 2025-08-12 01:44:01,422 - DEBUG - Requesting: http://10.0.0.241:8082/project/6c710e6e-38d0-4baf-9722-6231c1fe6046 2025-08-12 01:44:01,497 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d97b022d-d31b-43ff-b6d0-73303307a07f 2025-08-12 01:44:01,506 - DEBUG - ==>Verifying data for policy with id: fd344dde-be0e-457e-b80e-5600f5130e6f, fqn: ['default-domain', 'ctest-TestBasicPolicy-42978538', 'ctest-policy-allow-all-53434082'] 2025-08-12 01:44:01,506 - INFO - VN ctest-vn-45445136 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-12 01:44:01,507 - DEBUG - Verifying the vn in opserver 2025-08-12 01:44:01,507 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-42978538:ctest-vn-45445136 virtual network link through opserver 10.0.0.241 2025-08-12 01:44:01,507 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-08-12 01:44:01,518 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-42978538:ctest-vn-45445136', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-42978538:ctest-vn-45445136?flat'} 2025-08-12 01:44:01,519 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-42978538:ctest-vn-45445136 is found in opserver 2025-08-12 01:44:01,530 - DEBUG - Do not have enough data to verify VN in agent 2025-08-12 01:44:01,536 - DEBUG - VRF ids for VN ctest-vn-45445136: {} 2025-08-12 01:44:01,601 - DEBUG - Services list from nova: [, , ] 2025-08-12 01:44:02,620 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3827-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3827-1) 2025-08-12 01:44:03,763 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3827-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3827-1) 2025-08-12 01:44:03,764 - INFO - Waiting for VM ctest-TestBasicPolicy-42978538-34957801 to be up.. 2025-08-12 01:44:03,845 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-12 01:44:08,920 - DEBUG - VM is in ACTIVE state now 2025-08-12 01:44:08,921 - INFO - VM name : ctest-TestBasicPolicy-42978538-34957801 2025-08-12 01:44:08,989 - DEBUG - VM ctest-TestBasicPolicy-42978538-34957801 ID is 21fa964a-7057-4ea8-a2af-fd6af863587c 2025-08-12 01:44:09,015 - DEBUG - VM ctest-TestBasicPolicy-42978538-34957801 launched on Node cn-jenkins-deploy-platform-ansible-os-3827-1 2025-08-12 01:44:09,096 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/21fa964a-7057-4ea8-a2af-fd6af863587c 2025-08-12 01:44:09,106 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/77c75afe-ee93-4c35-955b-34e106c6634b 2025-08-12 01:44:12,365 - 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-08-12 01:44:12,365 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-42978538-34957801 failed! 2025-08-12 01:44:12,421 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-42978538:ctest-vn-86503008 is 2.13.235.193 and allocation pool is NOT set 2025-08-12 01:44:14,483 - 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=2.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.507 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.507/1.641/2.776/1.134 ms') 2025-08-12 01:44:14,483 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-42978538-34957801 passed 2025-08-12 01:44:14,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 01:44:14,638 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-42978538-34957801, IP 2.13.235.195, Port 22 2025-08-12 01:44:14,794 - DEBUG - VM ctest-TestBasicPolicy-42978538-34957801 is ready for SSH connections 2025-08-12 01:44:14,794 - INFO - Waiting for VM ctest-TestBasicPolicy-42978538-57675852 to be up.. 2025-08-12 01:44:14,874 - DEBUG - VM is in ACTIVE state now 2025-08-12 01:44:14,874 - INFO - VM name : ctest-TestBasicPolicy-42978538-57675852 2025-08-12 01:44:14,947 - DEBUG - VM ctest-TestBasicPolicy-42978538-57675852 ID is f2ea4210-24ad-4d61-85a5-c0fefbde4042 2025-08-12 01:44:14,947 - DEBUG - VM ctest-TestBasicPolicy-42978538-57675852 launched on Node cn-jenkins-deploy-platform-ansible-os-3827-1 2025-08-12 01:44:15,030 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/f2ea4210-24ad-4d61-85a5-c0fefbde4042 2025-08-12 01:44:15,042 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/bc06f03a-2c9c-4aa1-bbfa-88d1b50b9419 2025-08-12 01:44:16,290 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.606 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.606/2.185/3.764/1.579 ms') 2025-08-12 01:44:16,290 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-42978538-57675852 passed 2025-08-12 01:44:16,441 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 01:44:16,442 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-42978538-57675852, IP 124.156.187.131, Port 22 2025-08-12 01:44:16,593 - DEBUG - VM ctest-TestBasicPolicy-42978538-57675852 is ready for SSH connections 2025-08-12 01:44:16,593 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 01:44:16,593 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.156.187.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-08-12 01:44:16,594 - DEBUG - ping -s 56 -c 3 -W 1 124.156.187.131 2025-08-12 01:44:20,269 - DEBUG - PING 124.156.187.131 (124.156.187.131): 56 data bytes 64 bytes from 124.156.187.131: seq=0 ttl=63 time=3.590 ms 64 bytes from 124.156.187.131: seq=1 ttl=63 time=0.953 ms 64 bytes from 124.156.187.131: seq=2 ttl=63 time=0.977 ms --- 124.156.187.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.953/1.840/3.590 ms 2025-08-12 01:44:20,269 - INFO - Ping to IP 124.156.187.131 from VM ctest-TestBasicPolicy-42978538-34957801 passed 2025-08-12 01:44:20,445 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fd344dde-be0e-457e-b80e-5600f5130e6f", "href": "http://10.0.0.241:8082/network-policy/fd344dde-be0e-457e-b80e-5600f5130e6f"}} 2025-08-12 01:44:20,445 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 01:44:20,445 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.156.187.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-08-12 01:44:20,446 - DEBUG - ping -s 56 -c 3 -W 1 124.156.187.131 2025-08-12 01:44:23,646 - DEBUG - PING 124.156.187.131 (124.156.187.131): 56 data bytes --- 124.156.187.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-12 01:44:23,646 - WARNING - Ping to IP 124.156.187.131 from VM ctest-TestBasicPolicy-42978538-34957801 failed 2025-08-12 01:44:23,647 - INFO - Deleting VM ctest-TestBasicPolicy-42978538-57675852 2025-08-12 01:44:23,714 - INFO - Deleting VM ctest-TestBasicPolicy-42978538-34957801 2025-08-12 01:44:24,108 - INFO - Deleted policy ctest-policy-allow-all-53434082 2025-08-12 01:44:24,108 - INFO - Deleting VN ctest-vn-45445136 2025-08-12 01:44:24,145 - DEBUG - VN d97b022d-d31b-43ff-b6d0-73303307a07f still in use: Unable to complete operation on network d97b022d-d31b-43ff-b6d0-73303307a07f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-27528f47-503a-4191-a588-830209b0e57c'] 2025-08-12 01:44:24,146 - WARNING - Deleting VN ctest-vn-45445136 failed..Will retry 2025-08-12 01:44:26,247 - DEBUG - Response for deleting network () 2025-08-12 01:44:26,247 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/43c26317-013c-49f1-ad70-c7a3958bc9dd 2025-08-12 01:44:26,253 - DEBUG - Response Code: 404 2025-08-12 01:44:26,253 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-08-12 01:44:26,259 - DEBUG - Requesting: http://10.0.0.241:8082/domain/e722a47c-c3f6-467c-ad31-33f2a019a107 2025-08-12 01:44:26,313 - DEBUG - Requesting: http://10.0.0.241:8082/project/6c710e6e-38d0-4baf-9722-6231c1fe6046 2025-08-12 01:44:26,392 - INFO - Validated that VN ctest-vn-45445136 is not found in API Server 2025-08-12 01:44:26,405 - DEBUG - VN ctest-vn-45445136 is not present in Agent 10.0.0.241 2025-08-12 01:44:26,405 - INFO - Validated that VN ctest-vn-45445136 is not in any agent 2025-08-12 01:44:26,423 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45445136 info 2025-08-12 01:44:26,423 - INFO - Deleting VN ctest-vn-86503008 2025-08-12 01:44:26,523 - DEBUG - Response for deleting network () 2025-08-12 01:44:26,523 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/6fd2210d-8a99-4802-bf4e-e2efe6428e35 2025-08-12 01:44:26,530 - DEBUG - Response Code: 404 2025-08-12 01:44:26,530 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-08-12 01:44:26,535 - DEBUG - Requesting: http://10.0.0.241:8082/domain/e722a47c-c3f6-467c-ad31-33f2a019a107 2025-08-12 01:44:26,591 - DEBUG - Requesting: http://10.0.0.241:8082/project/6c710e6e-38d0-4baf-9722-6231c1fe6046 2025-08-12 01:44:26,683 - INFO - Validated that VN ctest-vn-86503008 is not found in API Server 2025-08-12 01:44:26,693 - DEBUG - VN ctest-vn-86503008 is not present in Agent 10.0.0.241 2025-08-12 01:44:26,693 - INFO - Validated that VN ctest-vn-86503008 is not in any agent 2025-08-12 01:44:26,711 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86503008 info 2025-08-12 01:44:26,967 - DEBUG - No XMPP flaps were noticed during the test
2025-08-12 01:44:26,967 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-08-12 01:44:26,968 - INFO - -------------------------------------------------------------------------------- 2025-08-12 01:44:27,590 - INFO - Deleted project: ctest-TestBasicPolicy-42978538, ID : 6c710e6e-38d0-4baf-9722-6231c1fe6046