2025-10-09 20:29:53,966 - INFO - Domain Default found not creating 2025-10-09 20:29:54,219 - INFO - Project ctest-TestBasicPolicy-87949921 not found, creating it 2025-10-09 20:29:54,932 - INFO - Created Project:ctest-TestBasicPolicy-87949921, ID : 5146d3bb-63ff-45a1-9112-f5c7803fd85f 2025-10-09 20:29:57,117 - INFO - ================================================================================ 2025-10-09 20:29:57,117 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-09 20:29:57,117 - 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-10-09 20:29:57,450 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-09 20:29:57,450 - INFO - Initial checks done. Running the testcase now 2025-10-09 20:29:57,450 - INFO - 2025-10-09 20:29:58,150 - DEBUG - Response for create_network : {'network': {'id': 'cac27ceb-aa25-4035-98aa-aae35638fd25', 'name': 'ctest-vn-93349061', 'tenant_id': '5146d3bb63ff45a19112f5c7803fd85f', 'project_id': '5146d3bb63ff45a19112f5c7803fd85f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87949921', 'ctest-vn-93349061'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:29:58,461 - DEBUG - Response for create_subnet : {'subnet': {'id': '72d1c68d-9304-4b3d-8dae-4f284cff3e77', 'name': '', 'tenant_id': '5146d3bb63ff45a19112f5c7803fd85f', 'network_id': 'cac27ceb-aa25-4035-98aa-aae35638fd25', 'ip_version': 4, 'cidr': '205.161.154.128/26', 'allocation_pools': [{'start': '205.161.154.130', 'end': '205.161.154.190'}], 'gateway_ip': '205.161.154.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.161.154.130', 'tags': [], 'project_id': '5146d3bb63ff45a19112f5c7803fd85f'}} 2025-10-09 20:29:58,493 - INFO - Created VN ctest-vn-93349061 2025-10-09 20:29:58,558 - DEBUG - VN ctest-vn-93349061 UUID is cac27ceb-aa25-4035-98aa-aae35638fd25 2025-10-09 20:29:58,988 - DEBUG - Response for create_network : {'network': {'id': 'ac312049-c199-4da3-a2af-de881dcd4ba6', 'name': 'ctest-vn-96639108', 'tenant_id': '5146d3bb63ff45a19112f5c7803fd85f', 'project_id': '5146d3bb63ff45a19112f5c7803fd85f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87949921', 'ctest-vn-96639108'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:29:59,268 - DEBUG - Response for create_subnet : {'subnet': {'id': '893beb72-6625-49da-8e0a-959a8eef5d74', 'name': '', 'tenant_id': '5146d3bb63ff45a19112f5c7803fd85f', 'network_id': 'ac312049-c199-4da3-a2af-de881dcd4ba6', 'ip_version': 4, 'cidr': '76.206.249.128/26', 'allocation_pools': [{'start': '76.206.249.130', 'end': '76.206.249.190'}], 'gateway_ip': '76.206.249.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.206.249.130', 'tags': [], 'project_id': '5146d3bb63ff45a19112f5c7803fd85f'}} 2025-10-09 20:29:59,297 - INFO - Created VN ctest-vn-96639108 2025-10-09 20:29:59,355 - DEBUG - VN ctest-vn-96639108 UUID is ac312049-c199-4da3-a2af-de881dcd4ba6 2025-10-09 20:29:59,544 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-87949921:ctest-vn-93349061, 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-87949921:ctest-vn-96639108, 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-10-09 20:29:59,990 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cac27ceb-aa25-4035-98aa-aae35638fd25', 'name': 'ctest-vn-93349061', 'tenant_id': '5146d3bb63ff45a19112f5c7803fd85f', 'project_id': '5146d3bb63ff45a19112f5c7803fd85f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['72d1c68d-9304-4b3d-8dae-4f284cff3e77'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87949921', 'ctest-vn-93349061'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87949921', 'ctest-policy-allow-all-87398815']], 'subnet_ipam': [{'subnet_cidr': '205.161.154.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:30:00,328 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ac312049-c199-4da3-a2af-de881dcd4ba6', 'name': 'ctest-vn-96639108', 'tenant_id': '5146d3bb63ff45a19112f5c7803fd85f', 'project_id': '5146d3bb63ff45a19112f5c7803fd85f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['893beb72-6625-49da-8e0a-959a8eef5d74'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87949921', 'ctest-vn-96639108'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87949921', 'ctest-policy-allow-all-87398815']], 'subnet_ipam': [{'subnet_cidr': '76.206.249.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:30:00,487 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-09 20:30:00,822 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-09 20:30:00,859 - DEBUG - Requesting: http://10.0.0.242:8082/domain/1befc058-2c75-4bcf-9ec9-7295b33c2dc3 2025-10-09 20:30:00,874 - DEBUG - Requesting: http://10.0.0.242:8082/project/5146d3bb-63ff-45a1-9112-f5c7803fd85f 2025-10-09 20:30:00,960 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cac27ceb-aa25-4035-98aa-aae35638fd25 2025-10-09 20:30:00,976 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cac27ceb-aa25-4035-98aa-aae35638fd25 2025-10-09 20:30:00,987 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4c8ccc41-1f91-4493-b0dc-afecb70d6584 2025-10-09 20:30:00,996 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4c8ccc41-1f91-4493-b0dc-afecb70d6584 2025-10-09 20:30:01,006 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/3f71157f-c1be-46ec-b400-2c71d4765551 2025-10-09 20:30:01,016 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 20:30:01,016 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cac27ceb-aa25-4035-98aa-aae35638fd25 2025-10-09 20:30:01,027 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4c8ccc41-1f91-4493-b0dc-afecb70d6584 2025-10-09 20:30:01,044 - INFO - Verified VN network id 10 for VN cac27ceb-aa25-4035-98aa-aae35638fd25 2025-10-09 20:30:01,044 - INFO - Verifications in API Server for VN ctest-vn-93349061 passed 2025-10-09 20:30:01,044 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cac27ceb-aa25-4035-98aa-aae35638fd25 2025-10-09 20:30:01,062 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4c8ccc41-1f91-4493-b0dc-afecb70d6584 2025-10-09 20:30:01,073 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4c8ccc41-1f91-4493-b0dc-afecb70d6584 2025-10-09 20:30:01,083 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/3f71157f-c1be-46ec-b400-2c71d4765551 2025-10-09 20:30:01,099 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87949921:ctest-vn-93349061', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87949921', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14610377492757037109', 'uuid-lslong': '11000792933186731301'}, 'enable': 'true', 'created': '2025-10-09T20:29:58', 'last-modified': '2025-10-09T20:29:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.149365'} 2025-10-09 20:30:01,107 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 20:30:01,107 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93349061 passed 2025-10-09 20:30:01,108 - DEBUG - ====Verifying policy data for ctest-vn-93349061 in API_Server ====== 2025-10-09 20:30:01,108 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-09 20:30:01,116 - DEBUG - Requesting: http://10.0.0.242:8082/domain/1befc058-2c75-4bcf-9ec9-7295b33c2dc3 2025-10-09 20:30:01,135 - DEBUG - Requesting: http://10.0.0.242:8082/project/5146d3bb-63ff-45a1-9112-f5c7803fd85f 2025-10-09 20:30:01,249 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cac27ceb-aa25-4035-98aa-aae35638fd25 2025-10-09 20:30:01,262 - DEBUG - ==>Verifying data for policy with id: 24914228-0be6-437a-acee-7bf30e6bb08e, fqn: ['default-domain', 'ctest-TestBasicPolicy-87949921', 'ctest-policy-allow-all-87398815'] 2025-10-09 20:30:01,262 - INFO - VN ctest-vn-93349061 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 20:30:01,262 - DEBUG - Verifying the vn in opserver 2025-10-09 20:30:01,262 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87949921:ctest-vn-93349061 virtual network link through opserver 10.0.0.242 2025-10-09 20:30:01,263 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-09 20:30:01,574 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-09 20:30:01,681 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87949921:ctest-vn-93349061', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87949921:ctest-vn-93349061?flat'} 2025-10-09 20:30:01,681 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87949921:ctest-vn-93349061 is found in opserver 2025-10-09 20:30:01,695 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 20:30:01,701 - DEBUG - VRF ids for VN ctest-vn-93349061: {} 2025-10-09 20:30:01,701 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-09 20:30:01,708 - DEBUG - Requesting: http://10.0.0.242:8082/domain/1befc058-2c75-4bcf-9ec9-7295b33c2dc3 2025-10-09 20:30:01,724 - DEBUG - Requesting: http://10.0.0.242:8082/project/5146d3bb-63ff-45a1-9112-f5c7803fd85f 2025-10-09 20:30:01,822 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ac312049-c199-4da3-a2af-de881dcd4ba6 2025-10-09 20:30:01,845 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ac312049-c199-4da3-a2af-de881dcd4ba6 2025-10-09 20:30:01,859 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fd121ca7-43bf-4c4d-b8b5-bd6602305e34 2025-10-09 20:30:01,869 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fd121ca7-43bf-4c4d-b8b5-bd6602305e34 2025-10-09 20:30:01,878 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/b8ded5fe-bb36-4ef6-a20c-07cd88b14edc 2025-10-09 20:30:01,885 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 20:30:01,886 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ac312049-c199-4da3-a2af-de881dcd4ba6 2025-10-09 20:30:01,895 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fd121ca7-43bf-4c4d-b8b5-bd6602305e34 2025-10-09 20:30:01,910 - INFO - Verified VN network id 11 for VN ac312049-c199-4da3-a2af-de881dcd4ba6 2025-10-09 20:30:01,910 - INFO - Verifications in API Server for VN ctest-vn-96639108 passed 2025-10-09 20:30:01,911 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ac312049-c199-4da3-a2af-de881dcd4ba6 2025-10-09 20:30:01,920 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fd121ca7-43bf-4c4d-b8b5-bd6602305e34 2025-10-09 20:30:01,926 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fd121ca7-43bf-4c4d-b8b5-bd6602305e34 2025-10-09 20:30:01,933 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/b8ded5fe-bb36-4ef6-a20c-07cd88b14edc 2025-10-09 20:30:01,946 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87949921:ctest-vn-96639108', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87949921', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12407733949535178147', 'uuid-lslong': '11722833031265602470'}, 'enable': 'true', 'created': '2025-10-09T20:29:58', 'last-modified': '2025-10-09T20:30:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.700800'} 2025-10-09 20:30:01,952 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 20:30:01,952 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96639108 passed 2025-10-09 20:30:01,952 - DEBUG - ====Verifying policy data for ctest-vn-96639108 in API_Server ====== 2025-10-09 20:30:01,952 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-09 20:30:01,962 - DEBUG - Requesting: http://10.0.0.242:8082/domain/1befc058-2c75-4bcf-9ec9-7295b33c2dc3 2025-10-09 20:30:01,978 - DEBUG - Requesting: http://10.0.0.242:8082/project/5146d3bb-63ff-45a1-9112-f5c7803fd85f 2025-10-09 20:30:02,068 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ac312049-c199-4da3-a2af-de881dcd4ba6 2025-10-09 20:30:02,078 - DEBUG - ==>Verifying data for policy with id: 24914228-0be6-437a-acee-7bf30e6bb08e, fqn: ['default-domain', 'ctest-TestBasicPolicy-87949921', 'ctest-policy-allow-all-87398815'] 2025-10-09 20:30:02,078 - INFO - VN ctest-vn-96639108 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 20:30:02,079 - DEBUG - Verifying the vn in opserver 2025-10-09 20:30:02,079 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87949921:ctest-vn-96639108 virtual network link through opserver 10.0.0.242 2025-10-09 20:30:02,079 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-09 20:30:02,094 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87949921:ctest-vn-96639108', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87949921:ctest-vn-96639108?flat'} 2025-10-09 20:30:02,094 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87949921:ctest-vn-96639108 is found in opserver 2025-10-09 20:30:02,105 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 20:30:02,109 - DEBUG - VRF ids for VN ctest-vn-96639108: {} 2025-10-09 20:30:02,181 - DEBUG - Services list from nova: [, , ] 2025-10-09 20:30:03,484 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4277-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4277-1) 2025-10-09 20:30:04,836 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4277-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4277-1) 2025-10-09 20:30:04,836 - INFO - Waiting for VM ctest-TestBasicPolicy-87949921-36847396 to be up.. 2025-10-09 20:30:04,922 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 20:30:10,087 - DEBUG - VM is in ACTIVE state now 2025-10-09 20:30:10,087 - INFO - VM name : ctest-TestBasicPolicy-87949921-36847396 2025-10-09 20:30:10,219 - DEBUG - VM ctest-TestBasicPolicy-87949921-36847396 ID is bed9a17c-2849-437e-b263-9e89c6e17153 2025-10-09 20:30:10,256 - DEBUG - VM ctest-TestBasicPolicy-87949921-36847396 launched on Node cn-jenkins-deploy-platform-ansible-os-4277-1 2025-10-09 20:30:10,362 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/bed9a17c-2849-437e-b263-9e89c6e17153 2025-10-09 20:30:10,379 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/aae8493d-49b5-4fb1-9da2-e5cb58303a87 2025-10-09 20:30:13,677 - 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 1015ms') 2025-10-09 20:30:13,677 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87949921-36847396 failed! 2025-10-09 20:30:13,751 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-87949921:ctest-vn-93349061 is 205.161.154.129 and allocation pool is NOT set 2025-10-09 20:30:15,847 - 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=9.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.05 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 = 4.053/6.650/9.247/2.597 ms') 2025-10-09 20:30:15,848 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87949921-36847396 passed 2025-10-09 20:30:16,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:30:16,015 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87949921-36847396, IP 205.161.154.131, Port 22 2025-10-09 20:30:16,185 - DEBUG - VM ctest-TestBasicPolicy-87949921-36847396 is ready for SSH connections 2025-10-09 20:30:16,185 - INFO - Waiting for VM ctest-TestBasicPolicy-87949921-92349075 to be up.. 2025-10-09 20:30:16,334 - DEBUG - VM is in ACTIVE state now 2025-10-09 20:30:16,334 - INFO - VM name : ctest-TestBasicPolicy-87949921-92349075 2025-10-09 20:30:16,439 - DEBUG - VM ctest-TestBasicPolicy-87949921-92349075 ID is a923fe6a-4016-45e6-ab7c-67d83505561e 2025-10-09 20:30:16,439 - DEBUG - VM ctest-TestBasicPolicy-87949921-92349075 launched on Node cn-jenkins-deploy-platform-ansible-os-4277-1 2025-10-09 20:30:16,576 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/a923fe6a-4016-45e6-ab7c-67d83505561e 2025-10-09 20:30:16,586 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/af645b78-ef64-4c66-b6f9-db4f3da09db0 2025-10-09 20:30:17,845 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.641 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.641/1.994/3.347/1.353 ms') 2025-10-09 20:30:17,845 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-87949921-92349075 passed 2025-10-09 20:30:17,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:30:17,998 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87949921-92349075, IP 76.206.249.131, Port 22 2025-10-09 20:30:18,174 - DEBUG - VM ctest-TestBasicPolicy-87949921-92349075 is ready for SSH connections 2025-10-09 20:30:18,174 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:30:18,174 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.206.249.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-09 20:30:18,175 - DEBUG - ping -s 56 -c 3 -W 1 76.206.249.131 2025-10-09 20:30:22,596 - DEBUG - PING 76.206.249.131 (76.206.249.131): 56 data bytes 64 bytes from 76.206.249.131: seq=0 ttl=63 time=5.033 ms 64 bytes from 76.206.249.131: seq=1 ttl=63 time=1.783 ms 64 bytes from 76.206.249.131: seq=2 ttl=63 time=1.544 ms --- 76.206.249.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.544/2.786/5.033 ms 2025-10-09 20:30:22,597 - INFO - Ping to IP 76.206.249.131 from VM ctest-TestBasicPolicy-87949921-36847396 passed 2025-10-09 20:30:22,842 - DEBUG - Policy Update Response {"network-policy": {"uuid": "24914228-0be6-437a-acee-7bf30e6bb08e", "href": "http://10.0.0.242:8082/network-policy/24914228-0be6-437a-acee-7bf30e6bb08e"}} 2025-10-09 20:30:22,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:30:22,843 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.206.249.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-09 20:30:22,843 - DEBUG - ping -s 56 -c 3 -W 1 76.206.249.131 2025-10-09 20:30:26,121 - DEBUG - PING 76.206.249.131 (76.206.249.131): 56 data bytes --- 76.206.249.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 20:30:26,121 - WARNING - Ping to IP 76.206.249.131 from VM ctest-TestBasicPolicy-87949921-36847396 failed 2025-10-09 20:30:26,121 - INFO - Deleting VM ctest-TestBasicPolicy-87949921-92349075 2025-10-09 20:30:26,233 - INFO - Deleting VM ctest-TestBasicPolicy-87949921-36847396 2025-10-09 20:30:26,624 - INFO - Deleted policy ctest-policy-allow-all-87398815 2025-10-09 20:30:26,625 - INFO - Deleting VN ctest-vn-96639108 2025-10-09 20:30:26,659 - DEBUG - VN ac312049-c199-4da3-a2af-de881dcd4ba6 still in use: Unable to complete operation on network ac312049-c199-4da3-a2af-de881dcd4ba6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-41fa03e7-a900-46f4-bb4e-45f3f53cb3e0'] 2025-10-09 20:30:26,660 - WARNING - Deleting VN ctest-vn-96639108 failed..Will retry 2025-10-09 20:30:28,871 - DEBUG - Response for deleting network () 2025-10-09 20:30:28,871 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fd121ca7-43bf-4c4d-b8b5-bd6602305e34 2025-10-09 20:30:28,884 - DEBUG - Response Code: 404 2025-10-09 20:30:28,884 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-09 20:30:28,891 - DEBUG - Requesting: http://10.0.0.242:8082/domain/1befc058-2c75-4bcf-9ec9-7295b33c2dc3 2025-10-09 20:30:28,947 - DEBUG - Requesting: http://10.0.0.242:8082/project/5146d3bb-63ff-45a1-9112-f5c7803fd85f 2025-10-09 20:30:29,045 - INFO - Validated that VN ctest-vn-96639108 is not found in API Server 2025-10-09 20:30:29,055 - DEBUG - VN ctest-vn-96639108 is not present in Agent 10.0.0.242 2025-10-09 20:30:29,055 - INFO - Validated that VN ctest-vn-96639108 is not in any agent 2025-10-09 20:30:29,076 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96639108 info 2025-10-09 20:30:29,076 - INFO - Deleting VN ctest-vn-93349061 2025-10-09 20:30:29,185 - DEBUG - Response for deleting network () 2025-10-09 20:30:29,185 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4c8ccc41-1f91-4493-b0dc-afecb70d6584 2025-10-09 20:30:29,193 - DEBUG - Response Code: 404 2025-10-09 20:30:29,193 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-09 20:30:29,200 - DEBUG - Requesting: http://10.0.0.242:8082/domain/1befc058-2c75-4bcf-9ec9-7295b33c2dc3 2025-10-09 20:30:29,258 - DEBUG - Requesting: http://10.0.0.242:8082/project/5146d3bb-63ff-45a1-9112-f5c7803fd85f 2025-10-09 20:30:29,345 - INFO - Validated that VN ctest-vn-93349061 is not found in API Server 2025-10-09 20:30:29,359 - DEBUG - VN ctest-vn-93349061 is not present in Agent 10.0.0.242 2025-10-09 20:30:29,359 - INFO - Validated that VN ctest-vn-93349061 is not in any agent 2025-10-09 20:30:29,383 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93349061 info 2025-10-09 20:30:29,707 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 20:30:29,707 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:32]
2025-10-09 20:30:29,707 - INFO - -------------------------------------------------------------------------------- 2025-10-09 20:30:30,534 - INFO - Deleted project: ctest-TestBasicPolicy-87949921, ID : 5146d3bb-63ff-45a1-9112-f5c7803fd85f