2025-10-17 10:19:56,840 - INFO - Domain Default found not creating 2025-10-17 10:19:57,014 - INFO - Project ctest-TestBasicPolicy-09315804 not found, creating it 2025-10-17 10:19:57,685 - INFO - Created Project:ctest-TestBasicPolicy-09315804, ID : 88f0df83-097c-47a2-82ee-e84c4ea1bbb2 2025-10-17 10:19:59,060 - INFO - ================================================================================ 2025-10-17 10:19:59,060 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-17 10:19:59,060 - 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-17 10:19:59,316 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.17': '0'}} with 2025-10-17 10:19:59,316 - INFO - Initial checks done. Running the testcase now 2025-10-17 10:19:59,316 - INFO - 2025-10-17 10:19:59,839 - DEBUG - Response for create_network : {'network': {'id': 'dba42d7e-e30a-4184-b8f6-7688d6d7d383', 'name': 'ctest-vn-38902364', 'tenant_id': '88f0df83097c47a282eee84c4ea1bbb2', 'project_id': '88f0df83097c47a282eee84c4ea1bbb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09315804', 'ctest-vn-38902364'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 10:20:00,041 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc3a12e9-cc69-4c6b-8a72-b2b4c7c3a58c', 'name': '', 'tenant_id': '88f0df83097c47a282eee84c4ea1bbb2', 'network_id': 'dba42d7e-e30a-4184-b8f6-7688d6d7d383', 'ip_version': 4, 'cidr': '143.95.255.192/26', 'allocation_pools': [{'start': '143.95.255.194', 'end': '143.95.255.254'}], 'gateway_ip': '143.95.255.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.95.255.194', 'tags': [], 'project_id': '88f0df83097c47a282eee84c4ea1bbb2'}} 2025-10-17 10:20:00,056 - INFO - Created VN ctest-vn-38902364 2025-10-17 10:20:00,106 - DEBUG - VN ctest-vn-38902364 UUID is dba42d7e-e30a-4184-b8f6-7688d6d7d383 2025-10-17 10:20:00,413 - DEBUG - Response for create_network : {'network': {'id': '6df5b916-873f-4c04-895b-c2b3f5a3952a', 'name': 'ctest-vn-06049887', 'tenant_id': '88f0df83097c47a282eee84c4ea1bbb2', 'project_id': '88f0df83097c47a282eee84c4ea1bbb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09315804', 'ctest-vn-06049887'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 10:20:00,563 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b91ab0b6-8f4a-452e-add5-d7520f51fa0c', 'name': '', 'tenant_id': '88f0df83097c47a282eee84c4ea1bbb2', 'network_id': '6df5b916-873f-4c04-895b-c2b3f5a3952a', 'ip_version': 4, 'cidr': '14.119.221.64/26', 'allocation_pools': [{'start': '14.119.221.66', 'end': '14.119.221.126'}], 'gateway_ip': '14.119.221.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.119.221.66', 'tags': [], 'project_id': '88f0df83097c47a282eee84c4ea1bbb2'}} 2025-10-17 10:20:00,577 - INFO - Created VN ctest-vn-06049887 2025-10-17 10:20:00,630 - DEBUG - VN ctest-vn-06049887 UUID is 6df5b916-873f-4c04-895b-c2b3f5a3952a 2025-10-17 10:20:00,774 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09315804:ctest-vn-38902364, 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-09315804:ctest-vn-06049887, 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-17 10:20:01,069 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dba42d7e-e30a-4184-b8f6-7688d6d7d383', 'name': 'ctest-vn-38902364', 'tenant_id': '88f0df83097c47a282eee84c4ea1bbb2', 'project_id': '88f0df83097c47a282eee84c4ea1bbb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fc3a12e9-cc69-4c6b-8a72-b2b4c7c3a58c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09315804', 'ctest-vn-38902364'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09315804', 'ctest-policy-allow-all-18490006']], 'subnet_ipam': [{'subnet_cidr': '143.95.255.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-17 10:20:01,317 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6df5b916-873f-4c04-895b-c2b3f5a3952a', 'name': 'ctest-vn-06049887', 'tenant_id': '88f0df83097c47a282eee84c4ea1bbb2', 'project_id': '88f0df83097c47a282eee84c4ea1bbb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b91ab0b6-8f4a-452e-add5-d7520f51fa0c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09315804', 'ctest-vn-06049887'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09315804', 'ctest-policy-allow-all-18490006']], 'subnet_ipam': [{'subnet_cidr': '14.119.221.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-17 10:20:01,483 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-17 10:20:01,779 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-17 10:20:01,814 - DEBUG - Requesting: http://10.0.0.131:8082/domain/83eb82ac-987f-4bee-bba3-1761b9cd7855 2025-10-17 10:20:01,825 - DEBUG - Requesting: http://10.0.0.131:8082/project/88f0df83-097c-47a2-82ee-e84c4ea1bbb2 2025-10-17 10:20:01,901 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/dba42d7e-e30a-4184-b8f6-7688d6d7d383 2025-10-17 10:20:01,911 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/dba42d7e-e30a-4184-b8f6-7688d6d7d383 2025-10-17 10:20:01,920 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/7b020041-d3b8-4204-aa57-5070bf35c292 2025-10-17 10:20:01,927 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/7b020041-d3b8-4204-aa57-5070bf35c292 2025-10-17 10:20:01,934 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/cdbb8ac6-3ae0-428d-85a3-7e80141a53e9 2025-10-17 10:20:01,940 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-17 10:20:01,940 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/dba42d7e-e30a-4184-b8f6-7688d6d7d383 2025-10-17 10:20:01,951 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/7b020041-d3b8-4204-aa57-5070bf35c292 2025-10-17 10:20:01,966 - INFO - Verified VN network id 9 for VN dba42d7e-e30a-4184-b8f6-7688d6d7d383 2025-10-17 10:20:01,967 - INFO - Verifications in API Server for VN ctest-vn-38902364 passed 2025-10-17 10:20:01,967 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/dba42d7e-e30a-4184-b8f6-7688d6d7d383 2025-10-17 10:20:01,977 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/7b020041-d3b8-4204-aa57-5070bf35c292 2025-10-17 10:20:01,985 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/7b020041-d3b8-4204-aa57-5070bf35c292 2025-10-17 10:20:01,992 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/cdbb8ac6-3ae0-428d-85a3-7e80141a53e9 2025-10-17 10:20:02,003 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09315804:ctest-vn-38902364', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09315804', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15826825013484994948', 'uuid-lslong': '13327970477341660035'}, 'enable': 'true', 'created': '2025-10-17T10:19:59', 'last-modified': '2025-10-17T10:20:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.953168'} 2025-10-17 10:20:02,009 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-17 10:20:02,009 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38902364 passed 2025-10-17 10:20:02,009 - DEBUG - ====Verifying policy data for ctest-vn-38902364 in API_Server ====== 2025-10-17 10:20:02,009 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-17 10:20:02,014 - DEBUG - Requesting: http://10.0.0.131:8082/domain/83eb82ac-987f-4bee-bba3-1761b9cd7855 2025-10-17 10:20:02,027 - DEBUG - Requesting: http://10.0.0.131:8082/project/88f0df83-097c-47a2-82ee-e84c4ea1bbb2 2025-10-17 10:20:02,095 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/dba42d7e-e30a-4184-b8f6-7688d6d7d383 2025-10-17 10:20:02,105 - DEBUG - ==>Verifying data for policy with id: 1ecaf4dc-b84b-41b8-854a-e17026dcc492, fqn: ['default-domain', 'ctest-TestBasicPolicy-09315804', 'ctest-policy-allow-all-18490006'] 2025-10-17 10:20:02,105 - INFO - VN ctest-vn-38902364 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-17 10:20:02,105 - DEBUG - Verifying the vn in opserver 2025-10-17 10:20:02,105 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09315804:ctest-vn-38902364 virtual network link through opserver 10.0.0.131 2025-10-17 10:20:02,106 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-10-17 10:20:02,411 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-10-17 10:20:02,466 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09315804:ctest-vn-38902364', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09315804:ctest-vn-38902364?flat'} 2025-10-17 10:20:02,466 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09315804:ctest-vn-38902364 is found in opserver 2025-10-17 10:20:02,475 - DEBUG - Do not have enough data to verify VN in agent 2025-10-17 10:20:02,479 - DEBUG - VRF ids for VN ctest-vn-38902364: {} 2025-10-17 10:20:02,479 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-17 10:20:02,485 - DEBUG - Requesting: http://10.0.0.131:8082/domain/83eb82ac-987f-4bee-bba3-1761b9cd7855 2025-10-17 10:20:02,498 - DEBUG - Requesting: http://10.0.0.131:8082/project/88f0df83-097c-47a2-82ee-e84c4ea1bbb2 2025-10-17 10:20:02,568 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/6df5b916-873f-4c04-895b-c2b3f5a3952a 2025-10-17 10:20:02,579 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/6df5b916-873f-4c04-895b-c2b3f5a3952a 2025-10-17 10:20:02,588 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5e753523-dc09-4dd1-a9d2-1875d9a16331 2025-10-17 10:20:02,595 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5e753523-dc09-4dd1-a9d2-1875d9a16331 2025-10-17 10:20:02,602 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/5ac2894c-f283-47ba-b4c6-8e8dd7b6d2a7 2025-10-17 10:20:02,608 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-17 10:20:02,608 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/6df5b916-873f-4c04-895b-c2b3f5a3952a 2025-10-17 10:20:02,617 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5e753523-dc09-4dd1-a9d2-1875d9a16331 2025-10-17 10:20:02,631 - INFO - Verified VN network id 10 for VN 6df5b916-873f-4c04-895b-c2b3f5a3952a 2025-10-17 10:20:02,631 - INFO - Verifications in API Server for VN ctest-vn-06049887 passed 2025-10-17 10:20:02,631 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/6df5b916-873f-4c04-895b-c2b3f5a3952a 2025-10-17 10:20:02,640 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5e753523-dc09-4dd1-a9d2-1875d9a16331 2025-10-17 10:20:02,648 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5e753523-dc09-4dd1-a9d2-1875d9a16331 2025-10-17 10:20:02,655 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/5ac2894c-f283-47ba-b4c6-8e8dd7b6d2a7 2025-10-17 10:20:02,668 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09315804:ctest-vn-06049887', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09315804', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7923442625837747204', 'uuid-lslong': '9897718684252869930'}, 'enable': 'true', 'created': '2025-10-17T10:20:00', 'last-modified': '2025-10-17T10:20:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.390886'} 2025-10-17 10:20:02,675 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-17 10:20:02,675 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06049887 passed 2025-10-17 10:20:02,675 - DEBUG - ====Verifying policy data for ctest-vn-06049887 in API_Server ====== 2025-10-17 10:20:02,675 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-17 10:20:02,682 - DEBUG - Requesting: http://10.0.0.131:8082/domain/83eb82ac-987f-4bee-bba3-1761b9cd7855 2025-10-17 10:20:02,694 - DEBUG - Requesting: http://10.0.0.131:8082/project/88f0df83-097c-47a2-82ee-e84c4ea1bbb2 2025-10-17 10:20:02,766 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/6df5b916-873f-4c04-895b-c2b3f5a3952a 2025-10-17 10:20:02,777 - DEBUG - ==>Verifying data for policy with id: 1ecaf4dc-b84b-41b8-854a-e17026dcc492, fqn: ['default-domain', 'ctest-TestBasicPolicy-09315804', 'ctest-policy-allow-all-18490006'] 2025-10-17 10:20:02,777 - INFO - VN ctest-vn-06049887 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-17 10:20:02,777 - DEBUG - Verifying the vn in opserver 2025-10-17 10:20:02,777 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09315804:ctest-vn-06049887 virtual network link through opserver 10.0.0.131 2025-10-17 10:20:02,777 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-10-17 10:20:02,787 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09315804:ctest-vn-06049887', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09315804:ctest-vn-06049887?flat'} 2025-10-17 10:20:02,787 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09315804:ctest-vn-06049887 is found in opserver 2025-10-17 10:20:02,796 - DEBUG - Do not have enough data to verify VN in agent 2025-10-17 10:20:02,801 - DEBUG - VRF ids for VN ctest-vn-06049887: {} 2025-10-17 10:20:02,858 - DEBUG - Services list from nova: [, , ] 2025-10-17 10:20:03,901 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4354-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4354-1) 2025-10-17 10:20:05,070 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4354-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4354-1) 2025-10-17 10:20:05,071 - INFO - Waiting for VM ctest-TestBasicPolicy-09315804-44150057 to be up.. 2025-10-17 10:20:05,157 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-17 10:20:10,231 - DEBUG - VM is in ACTIVE state now 2025-10-17 10:20:10,231 - INFO - VM name : ctest-TestBasicPolicy-09315804-44150057 2025-10-17 10:20:10,305 - DEBUG - VM ctest-TestBasicPolicy-09315804-44150057 ID is 35f56057-5d12-426d-9e04-336419c57ee5 2025-10-17 10:20:10,324 - DEBUG - VM ctest-TestBasicPolicy-09315804-44150057 launched on Node cn-jenkins-deploy-platform-ansible-os-4354-1 2025-10-17 10:20:10,401 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/35f56057-5d12-426d-9e04-336419c57ee5 2025-10-17 10:20:10,411 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/583a8064-c6bf-4da7-9ab4-062925a2cb2d 2025-10-17 10:20:13,673 - 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-10-17 10:20:13,673 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09315804-44150057 failed! 2025-10-17 10:20:13,730 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-09315804:ctest-vn-38902364 is 143.95.255.193 and allocation pool is NOT set 2025-10-17 10:20:15,793 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.572 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.572/4.193/7.814/3.621 ms') 2025-10-17 10:20:15,793 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09315804-44150057 passed 2025-10-17 10:20:15,942 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 10:20:15,943 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09315804-44150057, IP 143.95.255.195, Port 22 2025-10-17 10:20:16,098 - DEBUG - VM ctest-TestBasicPolicy-09315804-44150057 is ready for SSH connections 2025-10-17 10:20:16,098 - INFO - Waiting for VM ctest-TestBasicPolicy-09315804-91783165 to be up.. 2025-10-17 10:20:16,168 - DEBUG - VM is in ACTIVE state now 2025-10-17 10:20:16,168 - INFO - VM name : ctest-TestBasicPolicy-09315804-91783165 2025-10-17 10:20:16,241 - DEBUG - VM ctest-TestBasicPolicy-09315804-91783165 ID is 7e27e11a-f1bb-4d5a-9b28-c87ed5676b54 2025-10-17 10:20:16,242 - DEBUG - VM ctest-TestBasicPolicy-09315804-91783165 launched on Node cn-jenkins-deploy-platform-ansible-os-4354-1 2025-10-17 10:20:16,317 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/7e27e11a-f1bb-4d5a-9b28-c87ed5676b54 2025-10-17 10:20:16,325 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/84435984-6357-4018-96db-ac5bd9ef644e 2025-10-17 10:20:17,563 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.548 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.548/1.619/2.691/1.071 ms') 2025-10-17 10:20:17,564 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-09315804-91783165 passed 2025-10-17 10:20:17,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 10:20:17,714 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09315804-91783165, IP 14.119.221.67, Port 22 2025-10-17 10:20:17,870 - DEBUG - VM ctest-TestBasicPolicy-09315804-91783165 is ready for SSH connections 2025-10-17 10:20:17,870 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 10:20:17,871 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.119.221.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-17 10:20:17,871 - DEBUG - ping -s 56 -c 3 -W 1 14.119.221.67 2025-10-17 10:20:21,562 - DEBUG - PING 14.119.221.67 (14.119.221.67): 56 data bytes 64 bytes from 14.119.221.67: seq=0 ttl=63 time=3.276 ms 64 bytes from 14.119.221.67: seq=1 ttl=63 time=0.792 ms 64 bytes from 14.119.221.67: seq=2 ttl=63 time=0.755 ms --- 14.119.221.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.755/1.607/3.276 ms 2025-10-17 10:20:21,563 - INFO - Ping to IP 14.119.221.67 from VM ctest-TestBasicPolicy-09315804-44150057 passed 2025-10-17 10:20:21,734 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1ecaf4dc-b84b-41b8-854a-e17026dcc492", "href": "http://10.0.0.131:8082/network-policy/1ecaf4dc-b84b-41b8-854a-e17026dcc492"}} 2025-10-17 10:20:21,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 10:20:21,734 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.119.221.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-17 10:20:21,735 - DEBUG - ping -s 56 -c 3 -W 1 14.119.221.67 2025-10-17 10:20:24,945 - DEBUG - PING 14.119.221.67 (14.119.221.67): 56 data bytes --- 14.119.221.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-17 10:20:24,945 - WARNING - Ping to IP 14.119.221.67 from VM ctest-TestBasicPolicy-09315804-44150057 failed 2025-10-17 10:20:24,946 - INFO - Deleting VM ctest-TestBasicPolicy-09315804-91783165 2025-10-17 10:20:25,004 - INFO - Deleting VM ctest-TestBasicPolicy-09315804-44150057 2025-10-17 10:20:25,338 - INFO - Deleted policy ctest-policy-allow-all-18490006 2025-10-17 10:20:25,338 - INFO - Deleting VN ctest-vn-06049887 2025-10-17 10:20:25,370 - DEBUG - VN 6df5b916-873f-4c04-895b-c2b3f5a3952a still in use: Unable to complete operation on network 6df5b916-873f-4c04-895b-c2b3f5a3952a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5f2470cc-cef9-43e7-9383-55ffc9509e48'] 2025-10-17 10:20:25,370 - WARNING - Deleting VN ctest-vn-06049887 failed..Will retry 2025-10-17 10:20:27,458 - DEBUG - Response for deleting network () 2025-10-17 10:20:27,458 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5e753523-dc09-4dd1-a9d2-1875d9a16331 2025-10-17 10:20:27,464 - DEBUG - Response Code: 404 2025-10-17 10:20:27,464 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-17 10:20:27,469 - DEBUG - Requesting: http://10.0.0.131:8082/domain/83eb82ac-987f-4bee-bba3-1761b9cd7855 2025-10-17 10:20:27,523 - DEBUG - Requesting: http://10.0.0.131:8082/project/88f0df83-097c-47a2-82ee-e84c4ea1bbb2 2025-10-17 10:20:27,588 - INFO - Validated that VN ctest-vn-06049887 is not found in API Server 2025-10-17 10:20:27,597 - DEBUG - VN ctest-vn-06049887 is not present in Agent 10.0.0.131 2025-10-17 10:20:27,597 - INFO - Validated that VN ctest-vn-06049887 is not in any agent 2025-10-17 10:20:27,609 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06049887 info 2025-10-17 10:20:27,609 - INFO - Deleting VN ctest-vn-38902364 2025-10-17 10:20:27,694 - DEBUG - Response for deleting network () 2025-10-17 10:20:27,694 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/7b020041-d3b8-4204-aa57-5070bf35c292 2025-10-17 10:20:27,699 - DEBUG - Response Code: 404 2025-10-17 10:20:27,700 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-10-17 10:20:27,705 - DEBUG - Requesting: http://10.0.0.131:8082/domain/83eb82ac-987f-4bee-bba3-1761b9cd7855 2025-10-17 10:20:27,755 - DEBUG - Requesting: http://10.0.0.131:8082/project/88f0df83-097c-47a2-82ee-e84c4ea1bbb2 2025-10-17 10:20:27,823 - INFO - Validated that VN ctest-vn-38902364 is not found in API Server 2025-10-17 10:20:27,832 - DEBUG - VN ctest-vn-38902364 is not present in Agent 10.0.0.131 2025-10-17 10:20:27,832 - INFO - Validated that VN ctest-vn-38902364 is not in any agent 2025-10-17 10:20:27,845 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38902364 info 2025-10-17 10:20:28,099 - DEBUG - No XMPP flaps were noticed during the test
2025-10-17 10:20:28,099 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-17 10:20:28,099 - INFO - -------------------------------------------------------------------------------- 2025-10-17 10:20:28,743 - INFO - Deleted project: ctest-TestBasicPolicy-09315804, ID : 88f0df83-097c-47a2-82ee-e84c4ea1bbb2