2025-10-30 14:04:52,486 - INFO - Domain Default found not creating 2025-10-30 14:04:52,655 - INFO - Project ctest-TestBasicPolicy-89110056 not found, creating it 2025-10-30 14:04:53,127 - INFO - Created Project:ctest-TestBasicPolicy-89110056, ID : a026931e-0b54-46a6-be5c-d26f12cdffb4 2025-10-30 14:04:54,637 - INFO - ================================================================================ 2025-10-30 14:04:54,637 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-30 14:04:54,637 - 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-30 14:04:54,890 - DEBUG - Nothing to compare xmpp stats {'10.0.0.128': {'10.20.0.14': '0'}} with 2025-10-30 14:04:54,890 - INFO - Initial checks done. Running the testcase now 2025-10-30 14:04:54,890 - INFO - 2025-10-30 14:04:55,460 - DEBUG - Response for create_network : {'network': {'id': 'f2d9961b-6180-4a12-a47e-4d86de3daba7', 'name': 'ctest-vn-20250673', 'tenant_id': 'a026931e0b5446a6be5cd26f12cdffb4', 'project_id': 'a026931e0b5446a6be5cd26f12cdffb4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89110056', 'ctest-vn-20250673'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 14:04:55,696 - DEBUG - Response for create_subnet : {'subnet': {'id': '2fed1a33-f25a-4882-b897-2a8321c64ccd', 'name': '', 'tenant_id': 'a026931e0b5446a6be5cd26f12cdffb4', 'network_id': 'f2d9961b-6180-4a12-a47e-4d86de3daba7', 'ip_version': 4, 'cidr': '117.157.9.0/26', 'allocation_pools': [{'start': '117.157.9.2', 'end': '117.157.9.62'}], 'gateway_ip': '117.157.9.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.157.9.2', 'tags': [], 'project_id': 'a026931e0b5446a6be5cd26f12cdffb4'}} 2025-10-30 14:04:55,716 - INFO - Created VN ctest-vn-20250673 2025-10-30 14:04:55,772 - DEBUG - VN ctest-vn-20250673 UUID is f2d9961b-6180-4a12-a47e-4d86de3daba7 2025-10-30 14:04:56,076 - DEBUG - Response for create_network : {'network': {'id': 'fd6eb5dc-5fe8-43cf-a5a1-779a9f33b894', 'name': 'ctest-vn-31474694', 'tenant_id': 'a026931e0b5446a6be5cd26f12cdffb4', 'project_id': 'a026931e0b5446a6be5cd26f12cdffb4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89110056', 'ctest-vn-31474694'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 14:04:56,268 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf898cae-cdd1-4361-a01f-9c23455923b7', 'name': '', 'tenant_id': 'a026931e0b5446a6be5cd26f12cdffb4', 'network_id': 'fd6eb5dc-5fe8-43cf-a5a1-779a9f33b894', 'ip_version': 4, 'cidr': '18.252.88.64/26', 'allocation_pools': [{'start': '18.252.88.66', 'end': '18.252.88.126'}], 'gateway_ip': '18.252.88.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.252.88.66', 'tags': [], 'project_id': 'a026931e0b5446a6be5cd26f12cdffb4'}} 2025-10-30 14:04:56,290 - INFO - Created VN ctest-vn-31474694 2025-10-30 14:04:56,344 - DEBUG - VN ctest-vn-31474694 UUID is fd6eb5dc-5fe8-43cf-a5a1-779a9f33b894 2025-10-30 14:04:56,496 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-89110056:ctest-vn-20250673, 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-89110056:ctest-vn-31474694, 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-30 14:04:56,788 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f2d9961b-6180-4a12-a47e-4d86de3daba7', 'name': 'ctest-vn-20250673', 'tenant_id': 'a026931e0b5446a6be5cd26f12cdffb4', 'project_id': 'a026931e0b5446a6be5cd26f12cdffb4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2fed1a33-f25a-4882-b897-2a8321c64ccd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89110056', 'ctest-vn-20250673'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89110056', 'ctest-policy-allow-all-88696133']], 'subnet_ipam': [{'subnet_cidr': '117.157.9.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 14:04:57,055 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fd6eb5dc-5fe8-43cf-a5a1-779a9f33b894', 'name': 'ctest-vn-31474694', 'tenant_id': 'a026931e0b5446a6be5cd26f12cdffb4', 'project_id': 'a026931e0b5446a6be5cd26f12cdffb4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bf898cae-cdd1-4361-a01f-9c23455923b7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89110056', 'ctest-vn-31474694'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89110056', 'ctest-policy-allow-all-88696133']], 'subnet_ipam': [{'subnet_cidr': '18.252.88.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 14:04:57,200 - DEBUG - Requesting: http://10.0.0.128:8082/domains 2025-10-30 14:04:57,501 - DEBUG - Requesting: http://10.0.0.128:8082/domains 2025-10-30 14:04:57,529 - DEBUG - Requesting: http://10.0.0.128:8082/domain/7b0167b2-e3c6-4936-b536-d7af9649390b 2025-10-30 14:04:57,545 - DEBUG - Requesting: http://10.0.0.128:8082/project/a026931e-0b54-46a6-be5c-d26f12cdffb4 2025-10-30 14:04:57,619 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/f2d9961b-6180-4a12-a47e-4d86de3daba7 2025-10-30 14:04:57,630 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/f2d9961b-6180-4a12-a47e-4d86de3daba7 2025-10-30 14:04:57,639 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/20140390-b39b-4970-b20b-fd15f592db82 2025-10-30 14:04:57,646 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/20140390-b39b-4970-b20b-fd15f592db82 2025-10-30 14:04:57,652 - DEBUG - Requesting: http://10.0.0.128:8082/route-target/cce4cbc5-e674-41fc-9497-09c3ae55c05b 2025-10-30 14:04:57,657 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 14:04:57,658 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/f2d9961b-6180-4a12-a47e-4d86de3daba7 2025-10-30 14:04:57,665 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/20140390-b39b-4970-b20b-fd15f592db82 2025-10-30 14:04:57,679 - INFO - Verified VN network id 11 for VN f2d9961b-6180-4a12-a47e-4d86de3daba7 2025-10-30 14:04:57,679 - INFO - Verifications in API Server for VN ctest-vn-20250673 passed 2025-10-30 14:04:57,679 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/f2d9961b-6180-4a12-a47e-4d86de3daba7 2025-10-30 14:04:57,688 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/20140390-b39b-4970-b20b-fd15f592db82 2025-10-30 14:04:57,695 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/20140390-b39b-4970-b20b-fd15f592db82 2025-10-30 14:04:57,702 - DEBUG - Requesting: http://10.0.0.128:8082/route-target/cce4cbc5-e674-41fc-9497-09c3ae55c05b 2025-10-30 14:04:57,713 - DEBUG - Control-node 10.0.0.128 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89110056:ctest-vn-20250673', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89110056', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17499182871468853778', 'uuid-lslong': '11852996510935264167'}, 'enable': 'true', 'created': '2025-10-30T14:04:55', 'last-modified': '2025-10-30T14:04:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.944635'} 2025-10-30 14:04:57,720 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 14:04:57,720 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20250673 passed 2025-10-30 14:04:57,720 - DEBUG - ====Verifying policy data for ctest-vn-20250673 in API_Server ====== 2025-10-30 14:04:57,720 - DEBUG - Requesting: http://10.0.0.128:8082/domains 2025-10-30 14:04:57,725 - DEBUG - Requesting: http://10.0.0.128:8082/domain/7b0167b2-e3c6-4936-b536-d7af9649390b 2025-10-30 14:04:57,734 - DEBUG - Requesting: http://10.0.0.128:8082/project/a026931e-0b54-46a6-be5c-d26f12cdffb4 2025-10-30 14:04:57,799 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/f2d9961b-6180-4a12-a47e-4d86de3daba7 2025-10-30 14:04:57,808 - DEBUG - ==>Verifying data for policy with id: 2ddc95dd-cebd-47c4-b73b-0ed8cece8fbf, fqn: ['default-domain', 'ctest-TestBasicPolicy-89110056', 'ctest-policy-allow-all-88696133'] 2025-10-30 14:04:57,808 - INFO - VN ctest-vn-20250673 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 14:04:57,808 - DEBUG - Verifying the vn in opserver 2025-10-30 14:04:57,808 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89110056:ctest-vn-20250673 virtual network link through opserver 10.0.0.128 2025-10-30 14:04:57,809 - DEBUG - Requesting: http://10.0.0.128:8081/analytics/uves/virtual-networks 2025-10-30 14:04:58,099 - DEBUG - Requesting: http://10.0.0.128:8081/analytics/uves/virtual-networks 2025-10-30 14:04:58,154 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89110056:ctest-vn-20250673', 'href': 'http://10.0.0.128:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89110056:ctest-vn-20250673?flat'} 2025-10-30 14:04:58,154 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89110056:ctest-vn-20250673 is found in opserver 2025-10-30 14:04:58,163 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 14:04:58,167 - DEBUG - VRF ids for VN ctest-vn-20250673: {} 2025-10-30 14:04:58,167 - DEBUG - Requesting: http://10.0.0.128:8082/domains 2025-10-30 14:04:58,173 - DEBUG - Requesting: http://10.0.0.128:8082/domain/7b0167b2-e3c6-4936-b536-d7af9649390b 2025-10-30 14:04:58,184 - DEBUG - Requesting: http://10.0.0.128:8082/project/a026931e-0b54-46a6-be5c-d26f12cdffb4 2025-10-30 14:04:58,256 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/fd6eb5dc-5fe8-43cf-a5a1-779a9f33b894 2025-10-30 14:04:58,271 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/fd6eb5dc-5fe8-43cf-a5a1-779a9f33b894 2025-10-30 14:04:58,281 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/b697d2cd-8ef8-4750-8c1a-8bb6ab9b0ea7 2025-10-30 14:04:58,290 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/b697d2cd-8ef8-4750-8c1a-8bb6ab9b0ea7 2025-10-30 14:04:58,298 - DEBUG - Requesting: http://10.0.0.128:8082/route-target/7e4885a6-1d21-4f52-af20-32e241f37832 2025-10-30 14:04:58,305 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 14:04:58,305 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/fd6eb5dc-5fe8-43cf-a5a1-779a9f33b894 2025-10-30 14:04:58,316 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/b697d2cd-8ef8-4750-8c1a-8bb6ab9b0ea7 2025-10-30 14:04:58,335 - INFO - Verified VN network id 12 for VN fd6eb5dc-5fe8-43cf-a5a1-779a9f33b894 2025-10-30 14:04:58,335 - INFO - Verifications in API Server for VN ctest-vn-31474694 passed 2025-10-30 14:04:58,335 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/fd6eb5dc-5fe8-43cf-a5a1-779a9f33b894 2025-10-30 14:04:58,345 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/b697d2cd-8ef8-4750-8c1a-8bb6ab9b0ea7 2025-10-30 14:04:58,354 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/b697d2cd-8ef8-4750-8c1a-8bb6ab9b0ea7 2025-10-30 14:04:58,362 - DEBUG - Requesting: http://10.0.0.128:8082/route-target/7e4885a6-1d21-4f52-af20-32e241f37832 2025-10-30 14:04:58,375 - DEBUG - Control-node 10.0.0.128 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89110056:ctest-vn-31474694', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89110056', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18261733497140429775', 'uuid-lslong': '11934951993488160916'}, 'enable': 'true', 'created': '2025-10-30T14:04:56', 'last-modified': '2025-10-30T14:04:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.384988'} 2025-10-30 14:04:58,382 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 14:04:58,382 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31474694 passed 2025-10-30 14:04:58,382 - DEBUG - ====Verifying policy data for ctest-vn-31474694 in API_Server ====== 2025-10-30 14:04:58,382 - DEBUG - Requesting: http://10.0.0.128:8082/domains 2025-10-30 14:04:58,388 - DEBUG - Requesting: http://10.0.0.128:8082/domain/7b0167b2-e3c6-4936-b536-d7af9649390b 2025-10-30 14:04:58,400 - DEBUG - Requesting: http://10.0.0.128:8082/project/a026931e-0b54-46a6-be5c-d26f12cdffb4 2025-10-30 14:04:58,473 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/fd6eb5dc-5fe8-43cf-a5a1-779a9f33b894 2025-10-30 14:04:58,486 - DEBUG - ==>Verifying data for policy with id: 2ddc95dd-cebd-47c4-b73b-0ed8cece8fbf, fqn: ['default-domain', 'ctest-TestBasicPolicy-89110056', 'ctest-policy-allow-all-88696133'] 2025-10-30 14:04:58,486 - INFO - VN ctest-vn-31474694 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 14:04:58,486 - DEBUG - Verifying the vn in opserver 2025-10-30 14:04:58,486 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89110056:ctest-vn-31474694 virtual network link through opserver 10.0.0.128 2025-10-30 14:04:58,486 - DEBUG - Requesting: http://10.0.0.128:8081/analytics/uves/virtual-networks 2025-10-30 14:04:58,497 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89110056:ctest-vn-31474694', 'href': 'http://10.0.0.128:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89110056:ctest-vn-31474694?flat'} 2025-10-30 14:04:58,498 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89110056:ctest-vn-31474694 is found in opserver 2025-10-30 14:04:58,508 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 14:04:58,513 - DEBUG - VRF ids for VN ctest-vn-31474694: {} 2025-10-30 14:04:58,590 - DEBUG - Services list from nova: [, , ] 2025-10-30 14:04:59,668 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4544-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4544-1) 2025-10-30 14:05:00,888 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4544-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4544-1) 2025-10-30 14:05:00,889 - INFO - Waiting for VM ctest-TestBasicPolicy-89110056-79958072 to be up.. 2025-10-30 14:05:00,996 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 14:05:06,070 - DEBUG - VM is in ACTIVE state now 2025-10-30 14:05:06,070 - INFO - VM name : ctest-TestBasicPolicy-89110056-79958072 2025-10-30 14:05:06,147 - DEBUG - VM ctest-TestBasicPolicy-89110056-79958072 ID is 6ee629df-dd8a-4ab1-b139-50c8cfc3399a 2025-10-30 14:05:06,166 - DEBUG - VM ctest-TestBasicPolicy-89110056-79958072 launched on Node cn-jenkins-deploy-platform-ansible-os-4544-1 2025-10-30 14:05:06,241 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine/6ee629df-dd8a-4ab1-b139-50c8cfc3399a 2025-10-30 14:05:06,249 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine-interface/8cf0c8de-30d5-4444-a681-1596f91d3b09 2025-10-30 14:05:09,509 - 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 1026ms') 2025-10-30 14:05:09,509 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89110056-79958072 failed! 2025-10-30 14:05:09,564 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-89110056:ctest-vn-20250673 is 117.157.9.1 and allocation pool is NOT set 2025-10-30 14:05:11,625 - 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=10.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.54 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 = 2.544/6.571/10.598/4.027 ms') 2025-10-30 14:05:11,625 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89110056-79958072 passed 2025-10-30 14:05:11,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:05:11,777 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89110056-79958072, IP 117.157.9.3, Port 22 2025-10-30 14:05:11,835 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-30 14:05:11,905 - DEBUG - VM ctest-TestBasicPolicy-89110056-79958072 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 14:05:16,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:05:16,905 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89110056-79958072, IP 117.157.9.3, Port 22 2025-10-30 14:05:17,060 - DEBUG - VM ctest-TestBasicPolicy-89110056-79958072 is ready for SSH connections 2025-10-30 14:05:17,060 - INFO - Waiting for VM ctest-TestBasicPolicy-89110056-38312569 to be up.. 2025-10-30 14:05:17,140 - DEBUG - VM is in ACTIVE state now 2025-10-30 14:05:17,140 - INFO - VM name : ctest-TestBasicPolicy-89110056-38312569 2025-10-30 14:05:17,222 - DEBUG - VM ctest-TestBasicPolicy-89110056-38312569 ID is 77cb6217-3953-4de0-9045-e610543aaf7f 2025-10-30 14:05:17,222 - DEBUG - VM ctest-TestBasicPolicy-89110056-38312569 launched on Node cn-jenkins-deploy-platform-ansible-os-4544-1 2025-10-30 14:05:17,295 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine/77cb6217-3953-4de0-9045-e610543aaf7f 2025-10-30 14:05:17,304 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine-interface/fae3165d-b674-47da-9b5b-ec23ec579e90 2025-10-30 14:05:18,549 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.380 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.380/1.600/2.820/1.220 ms') 2025-10-30 14:05:18,550 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-89110056-38312569 passed 2025-10-30 14:05:18,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:05:18,700 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89110056-38312569, IP 18.252.88.67, Port 22 2025-10-30 14:05:18,856 - DEBUG - VM ctest-TestBasicPolicy-89110056-38312569 is ready for SSH connections 2025-10-30 14:05:18,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:05:18,856 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.252.88.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.128, gateway password: c0ntrail123 2025-10-30 14:05:18,857 - DEBUG - ping -s 56 -c 3 -W 1 18.252.88.67 2025-10-30 14:05:22,972 - DEBUG - PING 18.252.88.67 (18.252.88.67): 56 data bytes 64 bytes from 18.252.88.67: seq=0 ttl=63 time=4.560 ms 64 bytes from 18.252.88.67: seq=1 ttl=63 time=1.029 ms 64 bytes from 18.252.88.67: seq=2 ttl=63 time=0.932 ms --- 18.252.88.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.932/2.173/4.560 ms 2025-10-30 14:05:22,972 - INFO - Ping to IP 18.252.88.67 from VM ctest-TestBasicPolicy-89110056-79958072 passed 2025-10-30 14:05:23,156 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2ddc95dd-cebd-47c4-b73b-0ed8cece8fbf", "href": "http://10.0.0.128:8082/network-policy/2ddc95dd-cebd-47c4-b73b-0ed8cece8fbf"}} 2025-10-30 14:05:23,156 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:05:23,156 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.252.88.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.128, gateway password: c0ntrail123 2025-10-30 14:05:23,156 - DEBUG - ping -s 56 -c 3 -W 1 18.252.88.67 2025-10-30 14:05:26,366 - DEBUG - PING 18.252.88.67 (18.252.88.67): 56 data bytes --- 18.252.88.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 14:05:26,366 - WARNING - Ping to IP 18.252.88.67 from VM ctest-TestBasicPolicy-89110056-79958072 failed 2025-10-30 14:05:26,367 - INFO - Deleting VM ctest-TestBasicPolicy-89110056-38312569 2025-10-30 14:05:26,439 - INFO - Deleting VM ctest-TestBasicPolicy-89110056-79958072 2025-10-30 14:05:26,823 - INFO - Deleted policy ctest-policy-allow-all-88696133 2025-10-30 14:05:26,823 - INFO - Deleting VN ctest-vn-31474694 2025-10-30 14:05:26,866 - DEBUG - VN fd6eb5dc-5fe8-43cf-a5a1-779a9f33b894 still in use: Unable to complete operation on network fd6eb5dc-5fe8-43cf-a5a1-779a9f33b894. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-66e44a9c-f3eb-41bf-85ee-a9246eb9a7bf'] 2025-10-30 14:05:26,866 - WARNING - Deleting VN ctest-vn-31474694 failed..Will retry 2025-10-30 14:05:28,963 - DEBUG - Response for deleting network () 2025-10-30 14:05:28,963 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/b697d2cd-8ef8-4750-8c1a-8bb6ab9b0ea7 2025-10-30 14:05:28,969 - DEBUG - Response Code: 404 2025-10-30 14:05:28,969 - DEBUG - Requesting: http://10.0.0.128:8082/domains 2025-10-30 14:05:28,975 - DEBUG - Requesting: http://10.0.0.128:8082/domain/7b0167b2-e3c6-4936-b536-d7af9649390b 2025-10-30 14:05:29,029 - DEBUG - Requesting: http://10.0.0.128:8082/project/a026931e-0b54-46a6-be5c-d26f12cdffb4 2025-10-30 14:05:29,098 - INFO - Validated that VN ctest-vn-31474694 is not found in API Server 2025-10-30 14:05:29,107 - DEBUG - VN ctest-vn-31474694 is not present in Agent 10.0.0.128 2025-10-30 14:05:29,107 - INFO - Validated that VN ctest-vn-31474694 is not in any agent 2025-10-30 14:05:29,120 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31474694 info 2025-10-30 14:05:29,120 - INFO - Deleting VN ctest-vn-20250673 2025-10-30 14:05:29,215 - DEBUG - Response for deleting network () 2025-10-30 14:05:29,215 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/20140390-b39b-4970-b20b-fd15f592db82 2025-10-30 14:05:29,221 - DEBUG - Response Code: 404 2025-10-30 14:05:29,221 - DEBUG - Requesting: http://10.0.0.128:8082/domains 2025-10-30 14:05:29,229 - DEBUG - Requesting: http://10.0.0.128:8082/domain/7b0167b2-e3c6-4936-b536-d7af9649390b 2025-10-30 14:05:29,281 - DEBUG - Requesting: http://10.0.0.128:8082/project/a026931e-0b54-46a6-be5c-d26f12cdffb4 2025-10-30 14:05:29,352 - INFO - Validated that VN ctest-vn-20250673 is not found in API Server 2025-10-30 14:05:29,363 - DEBUG - VN ctest-vn-20250673 is not present in Agent 10.0.0.128 2025-10-30 14:05:29,363 - INFO - Validated that VN ctest-vn-20250673 is not in any agent 2025-10-30 14:05:29,379 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20250673 info 2025-10-30 14:05:29,642 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 14:05:29,642 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-10-30 14:05:29,642 - INFO - -------------------------------------------------------------------------------- 2025-10-30 14:05:30,318 - INFO - Deleted project: ctest-TestBasicPolicy-89110056, ID : a026931e-0b54-46a6-be5c-d26f12cdffb4