2025-06-24 13:40:57,821 - INFO - Domain Default found not creating 2025-06-24 13:40:57,966 - INFO - Project ctest-TestBasicPolicy-24180529 not found, creating it 2025-06-24 13:40:58,423 - INFO - Created Project:ctest-TestBasicPolicy-24180529, ID : f6b97340-fa25-42d5-b7ca-2991231dd646 2025-06-24 13:40:59,884 - INFO - ================================================================================ 2025-06-24 13:40:59,884 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-24 13:40:59,884 - 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-24 13:41:00,142 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.25': '0'}} with 2025-06-24 13:41:00,142 - INFO - Initial checks done. Running the testcase now 2025-06-24 13:41:00,142 - INFO - 2025-06-24 13:41:00,730 - DEBUG - Response for create_network : {'network': {'id': 'ffc85314-8f7f-4b7f-9013-476598d75f2f', 'name': 'ctest-vn-98011414', 'tenant_id': 'f6b97340fa2542d5b7ca2991231dd646', 'project_id': 'f6b97340fa2542d5b7ca2991231dd646', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24180529', 'ctest-vn-98011414'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 13:41:00,921 - DEBUG - Response for create_subnet : {'subnet': {'id': '983dc29c-104a-4155-9a33-b7b569d78945', 'name': '', 'tenant_id': 'f6b97340fa2542d5b7ca2991231dd646', 'network_id': 'ffc85314-8f7f-4b7f-9013-476598d75f2f', 'ip_version': 4, 'cidr': '135.72.248.0/26', 'allocation_pools': [{'start': '135.72.248.2', 'end': '135.72.248.62'}], 'gateway_ip': '135.72.248.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.72.248.2', 'tags': [], 'project_id': 'f6b97340fa2542d5b7ca2991231dd646'}} 2025-06-24 13:41:00,940 - INFO - Created VN ctest-vn-98011414 2025-06-24 13:41:00,993 - DEBUG - VN ctest-vn-98011414 UUID is ffc85314-8f7f-4b7f-9013-476598d75f2f 2025-06-24 13:41:01,300 - DEBUG - Response for create_network : {'network': {'id': '6a613699-f423-4f71-a93e-e688a9595ce3', 'name': 'ctest-vn-36822491', 'tenant_id': 'f6b97340fa2542d5b7ca2991231dd646', 'project_id': 'f6b97340fa2542d5b7ca2991231dd646', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24180529', 'ctest-vn-36822491'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 13:41:01,483 - DEBUG - Response for create_subnet : {'subnet': {'id': '08c65cbe-8bfc-4f35-be94-416b0fe57822', 'name': '', 'tenant_id': 'f6b97340fa2542d5b7ca2991231dd646', 'network_id': '6a613699-f423-4f71-a93e-e688a9595ce3', 'ip_version': 4, 'cidr': '138.65.228.64/26', 'allocation_pools': [{'start': '138.65.228.66', 'end': '138.65.228.126'}], 'gateway_ip': '138.65.228.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.65.228.66', 'tags': [], 'project_id': 'f6b97340fa2542d5b7ca2991231dd646'}} 2025-06-24 13:41:01,502 - INFO - Created VN ctest-vn-36822491 2025-06-24 13:41:01,561 - DEBUG - VN ctest-vn-36822491 UUID is 6a613699-f423-4f71-a93e-e688a9595ce3 2025-06-24 13:41:01,676 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24180529:ctest-vn-98011414, 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-24180529:ctest-vn-36822491, 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-24 13:41:02,014 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ffc85314-8f7f-4b7f-9013-476598d75f2f', 'name': 'ctest-vn-98011414', 'tenant_id': 'f6b97340fa2542d5b7ca2991231dd646', 'project_id': 'f6b97340fa2542d5b7ca2991231dd646', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['983dc29c-104a-4155-9a33-b7b569d78945'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24180529', 'ctest-vn-98011414'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24180529', 'ctest-policy-allow-all-21749218']], 'subnet_ipam': [{'subnet_cidr': '135.72.248.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-24 13:41:02,243 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6a613699-f423-4f71-a93e-e688a9595ce3', 'name': 'ctest-vn-36822491', 'tenant_id': 'f6b97340fa2542d5b7ca2991231dd646', 'project_id': 'f6b97340fa2542d5b7ca2991231dd646', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['08c65cbe-8bfc-4f35-be94-416b0fe57822'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24180529', 'ctest-vn-36822491'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24180529', 'ctest-policy-allow-all-21749218']], 'subnet_ipam': [{'subnet_cidr': '138.65.228.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-24 13:41:02,405 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-24 13:41:02,707 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-24 13:41:02,737 - DEBUG - Requesting: http://10.0.0.242:8082/domain/21fa690b-2526-431e-ae8c-cdbf55743838 2025-06-24 13:41:02,752 - DEBUG - Requesting: http://10.0.0.242:8082/project/f6b97340-fa25-42d5-b7ca-2991231dd646 2025-06-24 13:41:02,834 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ffc85314-8f7f-4b7f-9013-476598d75f2f 2025-06-24 13:41:02,846 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ffc85314-8f7f-4b7f-9013-476598d75f2f 2025-06-24 13:41:02,859 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/0eb561b9-5045-45e4-aa80-cc8c4cd172c4 2025-06-24 13:41:02,868 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/0eb561b9-5045-45e4-aa80-cc8c4cd172c4 2025-06-24 13:41:02,876 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/ac2f05d1-9ca1-4ccc-8130-fb054b5f8c67 2025-06-24 13:41:02,883 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-24 13:41:02,883 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ffc85314-8f7f-4b7f-9013-476598d75f2f 2025-06-24 13:41:02,894 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/0eb561b9-5045-45e4-aa80-cc8c4cd172c4 2025-06-24 13:41:02,911 - INFO - Verified VN network id 8 for VN ffc85314-8f7f-4b7f-9013-476598d75f2f 2025-06-24 13:41:02,911 - INFO - Verifications in API Server for VN ctest-vn-98011414 passed 2025-06-24 13:41:02,911 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ffc85314-8f7f-4b7f-9013-476598d75f2f 2025-06-24 13:41:02,922 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/0eb561b9-5045-45e4-aa80-cc8c4cd172c4 2025-06-24 13:41:02,932 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/0eb561b9-5045-45e4-aa80-cc8c4cd172c4 2025-06-24 13:41:02,941 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/ac2f05d1-9ca1-4ccc-8130-fb054b5f8c67 2025-06-24 13:41:02,957 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24180529:ctest-vn-98011414', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24180529', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18431072822785690495', 'uuid-lslong': '10381720067700645679'}, 'enable': 'true', 'created': '2025-06-24T13:41:00', 'last-modified': '2025-06-24T13:41:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.978289'} 2025-06-24 13:41:02,965 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-24 13:41:02,965 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98011414 passed 2025-06-24 13:41:02,966 - DEBUG - ====Verifying policy data for ctest-vn-98011414 in API_Server ====== 2025-06-24 13:41:02,966 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-24 13:41:02,972 - DEBUG - Requesting: http://10.0.0.242:8082/domain/21fa690b-2526-431e-ae8c-cdbf55743838 2025-06-24 13:41:02,986 - DEBUG - Requesting: http://10.0.0.242:8082/project/f6b97340-fa25-42d5-b7ca-2991231dd646 2025-06-24 13:41:03,061 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ffc85314-8f7f-4b7f-9013-476598d75f2f 2025-06-24 13:41:03,072 - DEBUG - ==>Verifying data for policy with id: a2cf6956-3cd7-456a-9990-29092b5c08d6, fqn: ['default-domain', 'ctest-TestBasicPolicy-24180529', 'ctest-policy-allow-all-21749218'] 2025-06-24 13:41:03,072 - INFO - VN ctest-vn-98011414 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-24 13:41:03,072 - DEBUG - Verifying the vn in opserver 2025-06-24 13:41:03,072 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24180529:ctest-vn-98011414 virtual network link through opserver 10.0.0.242 2025-06-24 13:41:03,072 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-06-24 13:41:03,367 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-06-24 13:41:03,431 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24180529:ctest-vn-98011414', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24180529:ctest-vn-98011414?flat'} 2025-06-24 13:41:03,431 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24180529:ctest-vn-98011414 is found in opserver 2025-06-24 13:41:03,443 - DEBUG - Do not have enough data to verify VN in agent 2025-06-24 13:41:03,449 - DEBUG - VRF ids for VN ctest-vn-98011414: {} 2025-06-24 13:41:03,449 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-24 13:41:03,455 - DEBUG - Requesting: http://10.0.0.242:8082/domain/21fa690b-2526-431e-ae8c-cdbf55743838 2025-06-24 13:41:03,468 - DEBUG - Requesting: http://10.0.0.242:8082/project/f6b97340-fa25-42d5-b7ca-2991231dd646 2025-06-24 13:41:03,543 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6a613699-f423-4f71-a93e-e688a9595ce3 2025-06-24 13:41:03,556 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6a613699-f423-4f71-a93e-e688a9595ce3 2025-06-24 13:41:03,566 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b9d1affa-db9e-40e6-97c9-59806aec5dbd 2025-06-24 13:41:03,574 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b9d1affa-db9e-40e6-97c9-59806aec5dbd 2025-06-24 13:41:03,583 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/13ff4b72-bf97-4c5e-ab0d-105fcb6f7a73 2025-06-24 13:41:03,592 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-24 13:41:03,593 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6a613699-f423-4f71-a93e-e688a9595ce3 2025-06-24 13:41:03,603 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b9d1affa-db9e-40e6-97c9-59806aec5dbd 2025-06-24 13:41:03,619 - INFO - Verified VN network id 9 for VN 6a613699-f423-4f71-a93e-e688a9595ce3 2025-06-24 13:41:03,619 - INFO - Verifications in API Server for VN ctest-vn-36822491 passed 2025-06-24 13:41:03,619 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6a613699-f423-4f71-a93e-e688a9595ce3 2025-06-24 13:41:03,630 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b9d1affa-db9e-40e6-97c9-59806aec5dbd 2025-06-24 13:41:03,640 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b9d1affa-db9e-40e6-97c9-59806aec5dbd 2025-06-24 13:41:03,648 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/13ff4b72-bf97-4c5e-ab0d-105fcb6f7a73 2025-06-24 13:41:03,662 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24180529:ctest-vn-36822491', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24180529', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7665468075615145841', 'uuid-lslong': '12195438315597028579'}, 'enable': 'true', 'created': '2025-06-24T13:41:01', 'last-modified': '2025-06-24T13:41:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.448424'} 2025-06-24 13:41:03,670 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-24 13:41:03,670 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36822491 passed 2025-06-24 13:41:03,670 - DEBUG - ====Verifying policy data for ctest-vn-36822491 in API_Server ====== 2025-06-24 13:41:03,671 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-24 13:41:03,678 - DEBUG - Requesting: http://10.0.0.242:8082/domain/21fa690b-2526-431e-ae8c-cdbf55743838 2025-06-24 13:41:03,692 - DEBUG - Requesting: http://10.0.0.242:8082/project/f6b97340-fa25-42d5-b7ca-2991231dd646 2025-06-24 13:41:03,765 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6a613699-f423-4f71-a93e-e688a9595ce3 2025-06-24 13:41:03,776 - DEBUG - ==>Verifying data for policy with id: a2cf6956-3cd7-456a-9990-29092b5c08d6, fqn: ['default-domain', 'ctest-TestBasicPolicy-24180529', 'ctest-policy-allow-all-21749218'] 2025-06-24 13:41:03,776 - INFO - VN ctest-vn-36822491 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-24 13:41:03,776 - DEBUG - Verifying the vn in opserver 2025-06-24 13:41:03,776 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24180529:ctest-vn-36822491 virtual network link through opserver 10.0.0.242 2025-06-24 13:41:03,776 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-06-24 13:41:03,788 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24180529:ctest-vn-36822491', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24180529:ctest-vn-36822491?flat'} 2025-06-24 13:41:03,788 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24180529:ctest-vn-36822491 is found in opserver 2025-06-24 13:41:03,800 - DEBUG - Do not have enough data to verify VN in agent 2025-06-24 13:41:03,806 - DEBUG - VRF ids for VN ctest-vn-36822491: {} 2025-06-24 13:41:03,863 - DEBUG - Services list from nova: [, , ] 2025-06-24 13:41:04,870 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3536-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3536-1) 2025-06-24 13:41:06,153 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3536-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3536-1) 2025-06-24 13:41:06,154 - INFO - Waiting for VM ctest-TestBasicPolicy-24180529-70303838 to be up.. 2025-06-24 13:41:06,246 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-24 13:41:11,334 - DEBUG - VM is in ACTIVE state now 2025-06-24 13:41:11,335 - INFO - VM name : ctest-TestBasicPolicy-24180529-70303838 2025-06-24 13:41:11,408 - DEBUG - VM ctest-TestBasicPolicy-24180529-70303838 ID is 95533860-216c-4b18-a2e3-5400d42ecacf 2025-06-24 13:41:11,430 - DEBUG - VM ctest-TestBasicPolicy-24180529-70303838 launched on Node cn-jenkins-deploy-platform-ansible-os-3536-1 2025-06-24 13:41:11,509 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/95533860-216c-4b18-a2e3-5400d42ecacf 2025-06-24 13:41:11,518 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/484be70f-b347-428d-ae8e-68fe035189ab 2025-06-24 13:41:14,783 - 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-06-24 13:41:14,783 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24180529-70303838 failed! 2025-06-24 13:41:14,841 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24180529:ctest-vn-98011414 is 135.72.248.1 and allocation pool is NOT set 2025-06-24 13:41:16,899 - 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.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.86 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 = 1.864/3.638/5.413/1.774 ms') 2025-06-24 13:41:16,899 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24180529-70303838 passed 2025-06-24 13:41:17,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 13:41:17,053 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24180529-70303838, IP 135.72.248.3, Port 22 2025-06-24 13:41:17,222 - DEBUG - VM ctest-TestBasicPolicy-24180529-70303838 is ready for SSH connections 2025-06-24 13:41:17,222 - INFO - Waiting for VM ctest-TestBasicPolicy-24180529-11402311 to be up.. 2025-06-24 13:41:17,309 - DEBUG - VM is in ACTIVE state now 2025-06-24 13:41:17,310 - INFO - VM name : ctest-TestBasicPolicy-24180529-11402311 2025-06-24 13:41:17,399 - DEBUG - VM ctest-TestBasicPolicy-24180529-11402311 ID is ed96804d-b782-4596-b4ac-54ae738bf553 2025-06-24 13:41:17,399 - DEBUG - VM ctest-TestBasicPolicy-24180529-11402311 launched on Node cn-jenkins-deploy-platform-ansible-os-3536-1 2025-06-24 13:41:17,488 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/ed96804d-b782-4596-b4ac-54ae738bf553 2025-06-24 13:41:17,498 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/2ae69b2a-8cd5-42e1-81b2-53153508b7bd 2025-06-24 13:41:18,750 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.842 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.842/2.603/4.364/1.761 ms') 2025-06-24 13:41:18,750 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-24180529-11402311 passed 2025-06-24 13:41:18,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 13:41:18,909 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24180529-11402311, IP 138.65.228.67, Port 22 2025-06-24 13:41:19,064 - DEBUG - VM ctest-TestBasicPolicy-24180529-11402311 is ready for SSH connections 2025-06-24 13:41:19,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 13:41:19,064 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.65.228.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-06-24 13:41:19,065 - DEBUG - ping -s 56 -c 3 -W 1 138.65.228.67 2025-06-24 13:41:23,044 - DEBUG - PING 138.65.228.67 (138.65.228.67): 56 data bytes 64 bytes from 138.65.228.67: seq=0 ttl=63 time=3.377 ms 64 bytes from 138.65.228.67: seq=1 ttl=63 time=0.772 ms 64 bytes from 138.65.228.67: seq=2 ttl=63 time=1.063 ms --- 138.65.228.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.772/1.737/3.377 ms 2025-06-24 13:41:23,044 - INFO - Ping to IP 138.65.228.67 from VM ctest-TestBasicPolicy-24180529-70303838 passed 2025-06-24 13:41:23,228 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a2cf6956-3cd7-456a-9990-29092b5c08d6", "href": "http://10.0.0.242:8082/network-policy/a2cf6956-3cd7-456a-9990-29092b5c08d6"}} 2025-06-24 13:41:23,228 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 13:41:23,229 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.65.228.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-06-24 13:41:23,229 - DEBUG - ping -s 56 -c 3 -W 1 138.65.228.67 2025-06-24 13:41:26,440 - DEBUG - PING 138.65.228.67 (138.65.228.67): 56 data bytes --- 138.65.228.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-24 13:41:26,440 - WARNING - Ping to IP 138.65.228.67 from VM ctest-TestBasicPolicy-24180529-70303838 failed 2025-06-24 13:41:26,441 - INFO - Deleting VM ctest-TestBasicPolicy-24180529-11402311 2025-06-24 13:41:26,511 - INFO - Deleting VM ctest-TestBasicPolicy-24180529-70303838 2025-06-24 13:41:26,875 - INFO - Deleted policy ctest-policy-allow-all-21749218 2025-06-24 13:41:26,875 - INFO - Deleting VN ctest-vn-36822491 2025-06-24 13:41:26,909 - DEBUG - VN 6a613699-f423-4f71-a93e-e688a9595ce3 still in use: Unable to complete operation on network 6a613699-f423-4f71-a93e-e688a9595ce3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e29956aa-c490-427d-a8f8-e79727fa434a'] 2025-06-24 13:41:26,909 - WARNING - Deleting VN ctest-vn-36822491 failed..Will retry 2025-06-24 13:41:29,024 - DEBUG - Response for deleting network () 2025-06-24 13:41:29,025 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b9d1affa-db9e-40e6-97c9-59806aec5dbd 2025-06-24 13:41:29,032 - DEBUG - Response Code: 404 2025-06-24 13:41:29,032 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-24 13:41:29,039 - DEBUG - Requesting: http://10.0.0.242:8082/domain/21fa690b-2526-431e-ae8c-cdbf55743838 2025-06-24 13:41:29,096 - DEBUG - Requesting: http://10.0.0.242:8082/project/f6b97340-fa25-42d5-b7ca-2991231dd646 2025-06-24 13:41:29,177 - INFO - Validated that VN ctest-vn-36822491 is not found in API Server 2025-06-24 13:41:29,189 - DEBUG - VN ctest-vn-36822491 is not present in Agent 10.0.0.242 2025-06-24 13:41:29,189 - INFO - Validated that VN ctest-vn-36822491 is not in any agent 2025-06-24 13:41:29,205 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36822491 info 2025-06-24 13:41:29,205 - INFO - Deleting VN ctest-vn-98011414 2025-06-24 13:41:29,309 - DEBUG - Response for deleting network () 2025-06-24 13:41:29,309 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/0eb561b9-5045-45e4-aa80-cc8c4cd172c4 2025-06-24 13:41:29,317 - DEBUG - Response Code: 404 2025-06-24 13:41:29,317 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-06-24 13:41:29,322 - DEBUG - Requesting: http://10.0.0.242:8082/domain/21fa690b-2526-431e-ae8c-cdbf55743838 2025-06-24 13:41:29,378 - DEBUG - Requesting: http://10.0.0.242:8082/project/f6b97340-fa25-42d5-b7ca-2991231dd646 2025-06-24 13:41:29,455 - INFO - Validated that VN ctest-vn-98011414 is not found in API Server 2025-06-24 13:41:29,465 - DEBUG - VN ctest-vn-98011414 is not present in Agent 10.0.0.242 2025-06-24 13:41:29,466 - INFO - Validated that VN ctest-vn-98011414 is not in any agent 2025-06-24 13:41:29,482 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-98011414 info 2025-06-24 13:41:29,740 - DEBUG - No XMPP flaps were noticed during the test 2025-06-24 13:41:29,740 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-24 13:41:29,740 - INFO - -------------------------------------------------------------------------------- 2025-06-24 13:41:30,410 - INFO - Deleted project: ctest-TestBasicPolicy-24180529, ID : f6b97340-fa25-42d5-b7ca-2991231dd646