2025-07-07 02:13:58,219 - INFO - Domain Default found not creating 2025-07-07 02:13:58,450 - INFO - Project ctest-TestBasicPolicy-51154815 not found, creating it 2025-07-07 02:13:58,932 - INFO - Created Project:ctest-TestBasicPolicy-51154815, ID : 5aaa6595-68a5-4575-91e2-070448580490 2025-07-07 02:14:00,480 - INFO - ================================================================================ 2025-07-07 02:14:00,480 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-07 02:14:00,480 - 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-07-07 02:14:00,744 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2025-07-07 02:14:00,744 - INFO - Initial checks done. Running the testcase now 2025-07-07 02:14:00,744 - INFO - 2025-07-07 02:14:01,307 - DEBUG - Response for create_network : {'network': {'id': '0684c66c-dc1b-4d39-b16f-7e89d4c56335', 'name': 'ctest-vn-62978889', 'tenant_id': '5aaa659568a5457591e2070448580490', 'project_id': '5aaa659568a5457591e2070448580490', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51154815', 'ctest-vn-62978889'], 'port_security_enabled': True, 'description': ''}} 2025-07-07 02:14:01,487 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d49a877-0eb4-41ab-a10d-15252c30f3e3', 'name': '', 'tenant_id': '5aaa659568a5457591e2070448580490', 'network_id': '0684c66c-dc1b-4d39-b16f-7e89d4c56335', 'ip_version': 4, 'cidr': '23.62.241.0/26', 'allocation_pools': [{'start': '23.62.241.2', 'end': '23.62.241.62'}], 'gateway_ip': '23.62.241.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.62.241.2', 'tags': [], 'project_id': '5aaa659568a5457591e2070448580490'}} 2025-07-07 02:14:01,507 - INFO - Created VN ctest-vn-62978889 2025-07-07 02:14:01,561 - DEBUG - VN ctest-vn-62978889 UUID is 0684c66c-dc1b-4d39-b16f-7e89d4c56335 2025-07-07 02:14:01,873 - DEBUG - Response for create_network : {'network': {'id': 'cc4b9866-a57a-43e4-bdbe-82aea56ec7dd', 'name': 'ctest-vn-50363870', 'tenant_id': '5aaa659568a5457591e2070448580490', 'project_id': '5aaa659568a5457591e2070448580490', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51154815', 'ctest-vn-50363870'], 'port_security_enabled': True, 'description': ''}} 2025-07-07 02:14:02,065 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be47a020-56a5-4e47-a3e7-d9853a275e87', 'name': '', 'tenant_id': '5aaa659568a5457591e2070448580490', 'network_id': 'cc4b9866-a57a-43e4-bdbe-82aea56ec7dd', 'ip_version': 4, 'cidr': '118.149.57.64/26', 'allocation_pools': [{'start': '118.149.57.66', 'end': '118.149.57.126'}], 'gateway_ip': '118.149.57.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.149.57.66', 'tags': [], 'project_id': '5aaa659568a5457591e2070448580490'}} 2025-07-07 02:14:02,087 - INFO - Created VN ctest-vn-50363870 2025-07-07 02:14:02,145 - DEBUG - VN ctest-vn-50363870 UUID is cc4b9866-a57a-43e4-bdbe-82aea56ec7dd 2025-07-07 02:14:02,263 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51154815:ctest-vn-62978889, 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-51154815:ctest-vn-50363870, 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-07-07 02:14:02,638 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0684c66c-dc1b-4d39-b16f-7e89d4c56335', 'name': 'ctest-vn-62978889', 'tenant_id': '5aaa659568a5457591e2070448580490', 'project_id': '5aaa659568a5457591e2070448580490', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9d49a877-0eb4-41ab-a10d-15252c30f3e3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51154815', 'ctest-vn-62978889'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51154815', 'ctest-policy-allow-all-73810014']], 'subnet_ipam': [{'subnet_cidr': '23.62.241.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-07 02:14:02,897 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cc4b9866-a57a-43e4-bdbe-82aea56ec7dd', 'name': 'ctest-vn-50363870', 'tenant_id': '5aaa659568a5457591e2070448580490', 'project_id': '5aaa659568a5457591e2070448580490', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['be47a020-56a5-4e47-a3e7-d9853a275e87'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51154815', 'ctest-vn-50363870'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51154815', 'ctest-policy-allow-all-73810014']], 'subnet_ipam': [{'subnet_cidr': '118.149.57.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-07 02:14:03,065 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-07-07 02:14:03,363 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-07-07 02:14:03,395 - DEBUG - Requesting: http://10.0.0.41:8082/domain/347fc7ba-1456-4b09-a628-ef0c2afb7100 2025-07-07 02:14:03,409 - DEBUG - Requesting: http://10.0.0.41:8082/project/5aaa6595-68a5-4575-91e2-070448580490 2025-07-07 02:14:03,483 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/0684c66c-dc1b-4d39-b16f-7e89d4c56335 2025-07-07 02:14:03,497 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/0684c66c-dc1b-4d39-b16f-7e89d4c56335 2025-07-07 02:14:03,509 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/42ded02f-ac13-4a9c-ac52-1413c7251698 2025-07-07 02:14:03,518 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/42ded02f-ac13-4a9c-ac52-1413c7251698 2025-07-07 02:14:03,527 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/f26c5843-5892-44c5-b8bd-5b461c93bdd5 2025-07-07 02:14:03,535 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-07 02:14:03,536 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/0684c66c-dc1b-4d39-b16f-7e89d4c56335 2025-07-07 02:14:03,546 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/42ded02f-ac13-4a9c-ac52-1413c7251698 2025-07-07 02:14:03,565 - INFO - Verified VN network id 7 for VN 0684c66c-dc1b-4d39-b16f-7e89d4c56335 2025-07-07 02:14:03,566 - INFO - Verifications in API Server for VN ctest-vn-62978889 passed 2025-07-07 02:14:03,566 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/0684c66c-dc1b-4d39-b16f-7e89d4c56335 2025-07-07 02:14:03,577 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/42ded02f-ac13-4a9c-ac52-1413c7251698 2025-07-07 02:14:03,588 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/42ded02f-ac13-4a9c-ac52-1413c7251698 2025-07-07 02:14:03,598 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/f26c5843-5892-44c5-b8bd-5b461c93bdd5 2025-07-07 02:14:03,618 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51154815:ctest-vn-62978889', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51154815', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '469718432004918585', 'uuid-lslong': '12785576997573452597'}, 'enable': 'true', 'created': '2025-07-07T02:14:01', 'last-modified': '2025-07-07T02:14:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.061144'} 2025-07-07 02:14:03,627 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-07 02:14:03,627 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62978889 passed 2025-07-07 02:14:03,627 - DEBUG - ====Verifying policy data for ctest-vn-62978889 in API_Server ====== 2025-07-07 02:14:03,627 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-07-07 02:14:03,636 - DEBUG - Requesting: http://10.0.0.41:8082/domain/347fc7ba-1456-4b09-a628-ef0c2afb7100 2025-07-07 02:14:03,649 - DEBUG - Requesting: http://10.0.0.41:8082/project/5aaa6595-68a5-4575-91e2-070448580490 2025-07-07 02:14:03,723 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/0684c66c-dc1b-4d39-b16f-7e89d4c56335 2025-07-07 02:14:03,734 - DEBUG - ==>Verifying data for policy with id: e4681611-83b5-4642-b6fe-dfb5998bfc46, fqn: ['default-domain', 'ctest-TestBasicPolicy-51154815', 'ctest-policy-allow-all-73810014'] 2025-07-07 02:14:03,734 - INFO - VN ctest-vn-62978889 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-07 02:14:03,735 - DEBUG - Verifying the vn in opserver 2025-07-07 02:14:03,735 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51154815:ctest-vn-62978889 virtual network link through opserver 10.0.0.41 2025-07-07 02:14:03,735 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-07-07 02:14:04,025 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-07-07 02:14:04,089 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51154815:ctest-vn-62978889', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51154815:ctest-vn-62978889?flat'} 2025-07-07 02:14:04,089 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51154815:ctest-vn-62978889 is found in opserver 2025-07-07 02:14:04,101 - DEBUG - Do not have enough data to verify VN in agent 2025-07-07 02:14:04,107 - DEBUG - VRF ids for VN ctest-vn-62978889: {} 2025-07-07 02:14:04,107 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-07-07 02:14:04,114 - DEBUG - Requesting: http://10.0.0.41:8082/domain/347fc7ba-1456-4b09-a628-ef0c2afb7100 2025-07-07 02:14:04,127 - DEBUG - Requesting: http://10.0.0.41:8082/project/5aaa6595-68a5-4575-91e2-070448580490 2025-07-07 02:14:04,209 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/cc4b9866-a57a-43e4-bdbe-82aea56ec7dd 2025-07-07 02:14:04,224 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/cc4b9866-a57a-43e4-bdbe-82aea56ec7dd 2025-07-07 02:14:04,236 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/35435a9b-a5a1-400f-9c06-08f88f770fd2 2025-07-07 02:14:04,244 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/35435a9b-a5a1-400f-9c06-08f88f770fd2 2025-07-07 02:14:04,253 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/ed69a02a-104c-45ea-996b-6e63c1885577 2025-07-07 02:14:04,261 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-07 02:14:04,261 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/cc4b9866-a57a-43e4-bdbe-82aea56ec7dd 2025-07-07 02:14:04,271 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/35435a9b-a5a1-400f-9c06-08f88f770fd2 2025-07-07 02:14:04,290 - INFO - Verified VN network id 8 for VN cc4b9866-a57a-43e4-bdbe-82aea56ec7dd 2025-07-07 02:14:04,290 - INFO - Verifications in API Server for VN ctest-vn-50363870 passed 2025-07-07 02:14:04,290 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/cc4b9866-a57a-43e4-bdbe-82aea56ec7dd 2025-07-07 02:14:04,302 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/35435a9b-a5a1-400f-9c06-08f88f770fd2 2025-07-07 02:14:04,312 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/35435a9b-a5a1-400f-9c06-08f88f770fd2 2025-07-07 02:14:04,319 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/ed69a02a-104c-45ea-996b-6e63c1885577 2025-07-07 02:14:04,333 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51154815:ctest-vn-50363870', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51154815', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14721027373620937700', 'uuid-lslong': '13672509205354825693'}, 'enable': 'true', 'created': '2025-07-07T02:14:01', 'last-modified': '2025-07-07T02:14:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.469343'} 2025-07-07 02:14:04,342 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-07 02:14:04,342 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50363870 passed 2025-07-07 02:14:04,342 - DEBUG - ====Verifying policy data for ctest-vn-50363870 in API_Server ====== 2025-07-07 02:14:04,342 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-07-07 02:14:04,350 - DEBUG - Requesting: http://10.0.0.41:8082/domain/347fc7ba-1456-4b09-a628-ef0c2afb7100 2025-07-07 02:14:04,363 - DEBUG - Requesting: http://10.0.0.41:8082/project/5aaa6595-68a5-4575-91e2-070448580490 2025-07-07 02:14:04,439 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/cc4b9866-a57a-43e4-bdbe-82aea56ec7dd 2025-07-07 02:14:04,451 - DEBUG - ==>Verifying data for policy with id: e4681611-83b5-4642-b6fe-dfb5998bfc46, fqn: ['default-domain', 'ctest-TestBasicPolicy-51154815', 'ctest-policy-allow-all-73810014'] 2025-07-07 02:14:04,451 - INFO - VN ctest-vn-50363870 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-07 02:14:04,451 - DEBUG - Verifying the vn in opserver 2025-07-07 02:14:04,451 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51154815:ctest-vn-50363870 virtual network link through opserver 10.0.0.41 2025-07-07 02:14:04,451 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-07-07 02:14:04,463 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51154815:ctest-vn-50363870', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51154815:ctest-vn-50363870?flat'} 2025-07-07 02:14:04,463 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51154815:ctest-vn-50363870 is found in opserver 2025-07-07 02:14:04,475 - DEBUG - Do not have enough data to verify VN in agent 2025-07-07 02:14:04,480 - DEBUG - VRF ids for VN ctest-vn-50363870: {} 2025-07-07 02:14:04,538 - DEBUG - Services list from nova: [, , ] 2025-07-07 02:14:05,572 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3602-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3602-1) 2025-07-07 02:14:06,938 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3602-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3602-1) 2025-07-07 02:14:06,938 - INFO - Waiting for VM ctest-TestBasicPolicy-51154815-00825541 to be up.. 2025-07-07 02:14:07,050 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-07 02:14:12,134 - DEBUG - VM is in ACTIVE state now 2025-07-07 02:14:12,134 - INFO - VM name : ctest-TestBasicPolicy-51154815-00825541 2025-07-07 02:14:12,213 - DEBUG - VM ctest-TestBasicPolicy-51154815-00825541 ID is 396b7ab4-2dff-4ddd-a538-c30a1056d71b 2025-07-07 02:14:12,233 - DEBUG - VM ctest-TestBasicPolicy-51154815-00825541 launched on Node cn-jenkins-deploy-platform-ansible-os-3602-1 2025-07-07 02:14:12,316 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/396b7ab4-2dff-4ddd-a538-c30a1056d71b 2025-07-07 02:14:12,328 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/61f76ffd-79b1-4673-a3f6-49413a2e80ad 2025-07-07 02:14:15,571 - 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 1002ms') 2025-07-07 02:14:15,571 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51154815-00825541 failed! 2025-07-07 02:14:15,625 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-51154815:ctest-vn-62978889 is 23.62.241.1 and allocation pool is NOT set 2025-07-07 02:14:17,691 - 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=7.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.638 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.638/3.989/7.340/3.351 ms') 2025-07-07 02:14:17,691 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51154815-00825541 passed 2025-07-07 02:14:17,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-07 02:14:17,842 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51154815-00825541, IP 23.62.241.3, Port 22 2025-07-07 02:14:17,997 - DEBUG - VM ctest-TestBasicPolicy-51154815-00825541 is ready for SSH connections 2025-07-07 02:14:17,997 - INFO - Waiting for VM ctest-TestBasicPolicy-51154815-59069619 to be up.. 2025-07-07 02:14:18,076 - DEBUG - VM is in ACTIVE state now 2025-07-07 02:14:18,076 - INFO - VM name : ctest-TestBasicPolicy-51154815-59069619 2025-07-07 02:14:18,148 - DEBUG - VM ctest-TestBasicPolicy-51154815-59069619 ID is 28de2d22-ad87-48dc-8454-f3bdf96373ee 2025-07-07 02:14:18,148 - DEBUG - VM ctest-TestBasicPolicy-51154815-59069619 launched on Node cn-jenkins-deploy-platform-ansible-os-3602-1 2025-07-07 02:14:18,226 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/28de2d22-ad87-48dc-8454-f3bdf96373ee 2025-07-07 02:14:18,236 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/4076bd24-ba68-4666-a55a-bb70b307e4d0 2025-07-07 02:14:19,480 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.468 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.468/1.679/2.890/1.211 ms') 2025-07-07 02:14:19,480 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-51154815-59069619 passed 2025-07-07 02:14:19,629 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-07 02:14:19,629 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51154815-59069619, IP 118.149.57.67, Port 22 2025-07-07 02:14:19,785 - DEBUG - VM ctest-TestBasicPolicy-51154815-59069619 is ready for SSH connections 2025-07-07 02:14:19,785 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-07 02:14:19,785 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.149.57.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-07-07 02:14:19,785 - DEBUG - ping -s 56 -c 3 -W 1 118.149.57.67 2025-07-07 02:14:23,518 - DEBUG - PING 118.149.57.67 (118.149.57.67): 56 data bytes 64 bytes from 118.149.57.67: seq=0 ttl=63 time=3.867 ms 64 bytes from 118.149.57.67: seq=1 ttl=63 time=1.145 ms 64 bytes from 118.149.57.67: seq=2 ttl=63 time=1.030 ms --- 118.149.57.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.030/2.014/3.867 ms 2025-07-07 02:14:23,518 - INFO - Ping to IP 118.149.57.67 from VM ctest-TestBasicPolicy-51154815-00825541 passed 2025-07-07 02:14:23,697 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e4681611-83b5-4642-b6fe-dfb5998bfc46", "href": "http://10.0.0.41:8082/network-policy/e4681611-83b5-4642-b6fe-dfb5998bfc46"}} 2025-07-07 02:14:23,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-07 02:14:23,697 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.149.57.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-07-07 02:14:23,698 - DEBUG - ping -s 56 -c 3 -W 1 118.149.57.67 2025-07-07 02:14:26,908 - DEBUG - PING 118.149.57.67 (118.149.57.67): 56 data bytes 64 bytes from 118.149.57.67: seq=0 ttl=63 time=1.441 ms --- 118.149.57.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.441/1.441/1.441 ms 2025-07-07 02:14:26,908 - WARNING - Ping to IP 118.149.57.67 from VM ctest-TestBasicPolicy-51154815-00825541 failed 2025-07-07 02:14:26,908 - INFO - Deleting VM ctest-TestBasicPolicy-51154815-59069619 2025-07-07 02:14:26,978 - INFO - Deleting VM ctest-TestBasicPolicy-51154815-00825541 2025-07-07 02:14:27,395 - INFO - Deleted policy ctest-policy-allow-all-73810014 2025-07-07 02:14:27,395 - INFO - Deleting VN ctest-vn-50363870 2025-07-07 02:14:27,440 - DEBUG - VN cc4b9866-a57a-43e4-bdbe-82aea56ec7dd still in use: Unable to complete operation on network cc4b9866-a57a-43e4-bdbe-82aea56ec7dd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d5c7d692-220e-4b6c-9ea1-186558172f5f'] 2025-07-07 02:14:27,440 - WARNING - Deleting VN ctest-vn-50363870 failed..Will retry 2025-07-07 02:14:29,554 - DEBUG - Response for deleting network () 2025-07-07 02:14:29,554 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/35435a9b-a5a1-400f-9c06-08f88f770fd2 2025-07-07 02:14:29,562 - DEBUG - Response Code: 404 2025-07-07 02:14:29,562 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-07-07 02:14:29,569 - DEBUG - Requesting: http://10.0.0.41:8082/domain/347fc7ba-1456-4b09-a628-ef0c2afb7100 2025-07-07 02:14:29,629 - DEBUG - Requesting: http://10.0.0.41:8082/project/5aaa6595-68a5-4575-91e2-070448580490 2025-07-07 02:14:29,709 - INFO - Validated that VN ctest-vn-50363870 is not found in API Server 2025-07-07 02:14:29,722 - DEBUG - VN ctest-vn-50363870 is not present in Agent 10.0.0.41 2025-07-07 02:14:29,722 - INFO - Validated that VN ctest-vn-50363870 is not in any agent 2025-07-07 02:14:29,738 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50363870 info 2025-07-07 02:14:29,739 - INFO - Deleting VN ctest-vn-62978889 2025-07-07 02:14:29,847 - DEBUG - Response for deleting network () 2025-07-07 02:14:29,847 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/42ded02f-ac13-4a9c-ac52-1413c7251698 2025-07-07 02:14:29,854 - DEBUG - Response Code: 404 2025-07-07 02:14:29,855 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-07-07 02:14:29,863 - DEBUG - Requesting: http://10.0.0.41:8082/domain/347fc7ba-1456-4b09-a628-ef0c2afb7100 2025-07-07 02:14:29,919 - DEBUG - Requesting: http://10.0.0.41:8082/project/5aaa6595-68a5-4575-91e2-070448580490 2025-07-07 02:14:30,005 - INFO - Validated that VN ctest-vn-62978889 is not found in API Server 2025-07-07 02:14:30,022 - DEBUG - VN ctest-vn-62978889 is not present in Agent 10.0.0.41 2025-07-07 02:14:30,022 - INFO - Validated that VN ctest-vn-62978889 is not in any agent 2025-07-07 02:14:30,040 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62978889 info 2025-07-07 02:14:30,299 - DEBUG - No XMPP flaps were noticed during the test 2025-07-07 02:14:30,299 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-07-07 02:14:30,299 - INFO - -------------------------------------------------------------------------------- 2025-07-07 02:14:30,987 - INFO - Deleted project: ctest-TestBasicPolicy-51154815, ID : 5aaa6595-68a5-4575-91e2-070448580490