2025-11-12 14:42:19,263 - INFO - Domain Default found not creating 2025-11-12 14:42:19,405 - INFO - Project ctest-TestBasicPolicy-07680628 not found, creating it 2025-11-12 14:42:19,833 - INFO - Created Project:ctest-TestBasicPolicy-07680628, ID : 234db4ae-59cb-4177-83bc-c4c9baa29cfc 2025-11-12 14:42:21,204 - INFO - ================================================================================ 2025-11-12 14:42:21,204 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-12 14:42:21,204 - 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-11-12 14:42:21,469 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-11-12 14:42:21,469 - INFO - Initial checks done. Running the testcase now 2025-11-12 14:42:21,469 - INFO - 2025-11-12 14:42:21,996 - DEBUG - Response for create_network : {'network': {'id': 'f90e7b4e-7a34-4aab-9c3d-b74e850ec0cc', 'name': 'ctest-vn-99124856', 'tenant_id': '234db4ae59cb417783bcc4c9baa29cfc', 'project_id': '234db4ae59cb417783bcc4c9baa29cfc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07680628', 'ctest-vn-99124856'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 14:42:22,149 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab2d49fb-7aa9-4c3b-ac4f-1db1b2d5900f', 'name': '', 'tenant_id': '234db4ae59cb417783bcc4c9baa29cfc', 'network_id': 'f90e7b4e-7a34-4aab-9c3d-b74e850ec0cc', 'ip_version': 4, 'cidr': '211.106.21.192/26', 'allocation_pools': [{'start': '211.106.21.194', 'end': '211.106.21.254'}], 'gateway_ip': '211.106.21.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.106.21.194', 'tags': [], 'project_id': '234db4ae59cb417783bcc4c9baa29cfc'}} 2025-11-12 14:42:22,165 - INFO - Created VN ctest-vn-99124856 2025-11-12 14:42:22,220 - DEBUG - VN ctest-vn-99124856 UUID is f90e7b4e-7a34-4aab-9c3d-b74e850ec0cc 2025-11-12 14:42:22,508 - DEBUG - Response for create_network : {'network': {'id': 'c6e1e5a7-8fbe-4957-90ac-628d384aae3b', 'name': 'ctest-vn-55359741', 'tenant_id': '234db4ae59cb417783bcc4c9baa29cfc', 'project_id': '234db4ae59cb417783bcc4c9baa29cfc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07680628', 'ctest-vn-55359741'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 14:42:22,692 - DEBUG - Response for create_subnet : {'subnet': {'id': '3867ed13-8960-4319-ada8-df3cbdf5741f', 'name': '', 'tenant_id': '234db4ae59cb417783bcc4c9baa29cfc', 'network_id': 'c6e1e5a7-8fbe-4957-90ac-628d384aae3b', 'ip_version': 4, 'cidr': '28.152.231.192/26', 'allocation_pools': [{'start': '28.152.231.194', 'end': '28.152.231.254'}], 'gateway_ip': '28.152.231.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.152.231.194', 'tags': [], 'project_id': '234db4ae59cb417783bcc4c9baa29cfc'}} 2025-11-12 14:42:22,708 - INFO - Created VN ctest-vn-55359741 2025-11-12 14:42:22,760 - DEBUG - VN ctest-vn-55359741 UUID is c6e1e5a7-8fbe-4957-90ac-628d384aae3b 2025-11-12 14:42:22,904 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07680628:ctest-vn-99124856, 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-07680628:ctest-vn-55359741, 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-11-12 14:42:23,186 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f90e7b4e-7a34-4aab-9c3d-b74e850ec0cc', 'name': 'ctest-vn-99124856', 'tenant_id': '234db4ae59cb417783bcc4c9baa29cfc', 'project_id': '234db4ae59cb417783bcc4c9baa29cfc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ab2d49fb-7aa9-4c3b-ac4f-1db1b2d5900f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07680628', 'ctest-vn-99124856'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07680628', 'ctest-policy-allow-all-29848949']], 'subnet_ipam': [{'subnet_cidr': '211.106.21.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-12 14:42:23,448 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c6e1e5a7-8fbe-4957-90ac-628d384aae3b', 'name': 'ctest-vn-55359741', 'tenant_id': '234db4ae59cb417783bcc4c9baa29cfc', 'project_id': '234db4ae59cb417783bcc4c9baa29cfc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3867ed13-8960-4319-ada8-df3cbdf5741f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07680628', 'ctest-vn-55359741'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07680628', 'ctest-policy-allow-all-29848949']], 'subnet_ipam': [{'subnet_cidr': '28.152.231.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-12 14:42:23,596 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-12 14:42:23,888 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-12 14:42:23,914 - DEBUG - Requesting: http://10.0.0.38:8082/domain/604661ca-7fee-40a5-80d8-54c8a18b7e9d 2025-11-12 14:42:23,925 - DEBUG - Requesting: http://10.0.0.38:8082/project/234db4ae-59cb-4177-83bc-c4c9baa29cfc 2025-11-12 14:42:23,996 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f90e7b4e-7a34-4aab-9c3d-b74e850ec0cc 2025-11-12 14:42:24,005 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f90e7b4e-7a34-4aab-9c3d-b74e850ec0cc 2025-11-12 14:42:24,014 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7be0bcfb-53fa-421a-bad4-eff9f772c9f0 2025-11-12 14:42:24,021 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7be0bcfb-53fa-421a-bad4-eff9f772c9f0 2025-11-12 14:42:24,028 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/761a7026-069b-4a11-b6a8-75574c048f30 2025-11-12 14:42:24,034 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-12 14:42:24,034 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f90e7b4e-7a34-4aab-9c3d-b74e850ec0cc 2025-11-12 14:42:24,042 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7be0bcfb-53fa-421a-bad4-eff9f772c9f0 2025-11-12 14:42:24,054 - INFO - Verified VN network id 12 for VN f90e7b4e-7a34-4aab-9c3d-b74e850ec0cc 2025-11-12 14:42:24,054 - INFO - Verifications in API Server for VN ctest-vn-99124856 passed 2025-11-12 14:42:24,054 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f90e7b4e-7a34-4aab-9c3d-b74e850ec0cc 2025-11-12 14:42:24,063 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7be0bcfb-53fa-421a-bad4-eff9f772c9f0 2025-11-12 14:42:24,069 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7be0bcfb-53fa-421a-bad4-eff9f772c9f0 2025-11-12 14:42:24,074 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/761a7026-069b-4a11-b6a8-75574c048f30 2025-11-12 14:42:24,083 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07680628:ctest-vn-99124856', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07680628', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17946417142105918123', 'uuid-lslong': '11258356191363776716'}, 'enable': 'true', 'created': '2025-11-12T14:42:21', 'last-modified': '2025-11-12T14:42:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.915429'} 2025-11-12 14:42:24,088 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-12 14:42:24,089 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99124856 passed 2025-11-12 14:42:24,089 - DEBUG - ====Verifying policy data for ctest-vn-99124856 in API_Server ====== 2025-11-12 14:42:24,089 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-12 14:42:24,093 - DEBUG - Requesting: http://10.0.0.38:8082/domain/604661ca-7fee-40a5-80d8-54c8a18b7e9d 2025-11-12 14:42:24,104 - DEBUG - Requesting: http://10.0.0.38:8082/project/234db4ae-59cb-4177-83bc-c4c9baa29cfc 2025-11-12 14:42:24,178 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f90e7b4e-7a34-4aab-9c3d-b74e850ec0cc 2025-11-12 14:42:24,187 - DEBUG - ==>Verifying data for policy with id: f09ddb43-630b-4573-bd09-4fd439230c85, fqn: ['default-domain', 'ctest-TestBasicPolicy-07680628', 'ctest-policy-allow-all-29848949'] 2025-11-12 14:42:24,187 - INFO - VN ctest-vn-99124856 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-12 14:42:24,187 - DEBUG - Verifying the vn in opserver 2025-11-12 14:42:24,187 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07680628:ctest-vn-99124856 virtual network link through opserver 10.0.0.38 2025-11-12 14:42:24,187 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-12 14:42:24,476 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-12 14:42:24,524 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07680628:ctest-vn-99124856', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07680628:ctest-vn-99124856?flat'} 2025-11-12 14:42:24,524 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07680628:ctest-vn-99124856 is found in opserver 2025-11-12 14:42:24,535 - DEBUG - Do not have enough data to verify VN in agent 2025-11-12 14:42:24,540 - DEBUG - VRF ids for VN ctest-vn-99124856: {} 2025-11-12 14:42:24,540 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-12 14:42:24,546 - DEBUG - Requesting: http://10.0.0.38:8082/domain/604661ca-7fee-40a5-80d8-54c8a18b7e9d 2025-11-12 14:42:24,558 - DEBUG - Requesting: http://10.0.0.38:8082/project/234db4ae-59cb-4177-83bc-c4c9baa29cfc 2025-11-12 14:42:24,628 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c6e1e5a7-8fbe-4957-90ac-628d384aae3b 2025-11-12 14:42:24,638 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c6e1e5a7-8fbe-4957-90ac-628d384aae3b 2025-11-12 14:42:24,647 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/864ae297-c83d-4288-b2dc-5ef9f12a3cde 2025-11-12 14:42:24,653 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/864ae297-c83d-4288-b2dc-5ef9f12a3cde 2025-11-12 14:42:24,658 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f877ba51-1568-42ea-b20b-81a5911f10ad 2025-11-12 14:42:24,663 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-12 14:42:24,663 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c6e1e5a7-8fbe-4957-90ac-628d384aae3b 2025-11-12 14:42:24,670 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/864ae297-c83d-4288-b2dc-5ef9f12a3cde 2025-11-12 14:42:24,680 - INFO - Verified VN network id 13 for VN c6e1e5a7-8fbe-4957-90ac-628d384aae3b 2025-11-12 14:42:24,680 - INFO - Verifications in API Server for VN ctest-vn-55359741 passed 2025-11-12 14:42:24,680 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c6e1e5a7-8fbe-4957-90ac-628d384aae3b 2025-11-12 14:42:24,687 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/864ae297-c83d-4288-b2dc-5ef9f12a3cde 2025-11-12 14:42:24,692 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/864ae297-c83d-4288-b2dc-5ef9f12a3cde 2025-11-12 14:42:24,698 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f877ba51-1568-42ea-b20b-81a5911f10ad 2025-11-12 14:42:24,708 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07680628:ctest-vn-55359741', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07680628', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14330987997103540567', 'uuid-lslong': '10424815596130184763'}, 'enable': 'true', 'created': '2025-11-12T14:42:22', 'last-modified': '2025-11-12T14:42:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.322528'} 2025-11-12 14:42:24,714 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-12 14:42:24,714 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55359741 passed 2025-11-12 14:42:24,714 - DEBUG - ====Verifying policy data for ctest-vn-55359741 in API_Server ====== 2025-11-12 14:42:24,714 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-12 14:42:24,720 - DEBUG - Requesting: http://10.0.0.38:8082/domain/604661ca-7fee-40a5-80d8-54c8a18b7e9d 2025-11-12 14:42:24,729 - DEBUG - Requesting: http://10.0.0.38:8082/project/234db4ae-59cb-4177-83bc-c4c9baa29cfc 2025-11-12 14:42:24,796 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c6e1e5a7-8fbe-4957-90ac-628d384aae3b 2025-11-12 14:42:24,806 - DEBUG - ==>Verifying data for policy with id: f09ddb43-630b-4573-bd09-4fd439230c85, fqn: ['default-domain', 'ctest-TestBasicPolicy-07680628', 'ctest-policy-allow-all-29848949'] 2025-11-12 14:42:24,806 - INFO - VN ctest-vn-55359741 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-12 14:42:24,806 - DEBUG - Verifying the vn in opserver 2025-11-12 14:42:24,806 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07680628:ctest-vn-55359741 virtual network link through opserver 10.0.0.38 2025-11-12 14:42:24,806 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-12 14:42:24,815 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07680628:ctest-vn-55359741', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07680628:ctest-vn-55359741?flat'} 2025-11-12 14:42:24,815 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07680628:ctest-vn-55359741 is found in opserver 2025-11-12 14:42:24,823 - DEBUG - Do not have enough data to verify VN in agent 2025-11-12 14:42:24,827 - DEBUG - VRF ids for VN ctest-vn-55359741: {} 2025-11-12 14:42:24,877 - DEBUG - Services list from nova: [, , ] 2025-11-12 14:42:25,841 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4705-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4705-1) 2025-11-12 14:42:26,968 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4705-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4705-1) 2025-11-12 14:42:26,969 - INFO - Waiting for VM ctest-TestBasicPolicy-07680628-78949569 to be up.. 2025-11-12 14:42:27,051 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 14:42:32,117 - DEBUG - VM is in ACTIVE state now 2025-11-12 14:42:32,117 - INFO - VM name : ctest-TestBasicPolicy-07680628-78949569 2025-11-12 14:42:32,184 - DEBUG - VM ctest-TestBasicPolicy-07680628-78949569 ID is 6c5ef3d7-3cce-45ad-8ae1-d5c250d8d1bd 2025-11-12 14:42:32,201 - DEBUG - VM ctest-TestBasicPolicy-07680628-78949569 launched on Node cn-jenkins-deploy-platform-ansible-os-4705-1 2025-11-12 14:42:32,264 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6c5ef3d7-3cce-45ad-8ae1-d5c250d8d1bd 2025-11-12 14:42:32,271 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/31ee9192-0db2-4823-a8b9-5d4f3eff74e4 2025-11-12 14:42:35,538 - 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 1029ms') 2025-11-12 14:42:35,538 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07680628-78949569 failed! 2025-11-12 14:42:35,592 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-07680628:ctest-vn-99124856 is 211.106.21.193 and allocation pool is NOT set 2025-11-12 14:42:37,651 - 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=4.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.37 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.370/2.802/4.235/1.432 ms') 2025-11-12 14:42:37,651 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07680628-78949569 passed 2025-11-12 14:42:37,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 14:42:37,800 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07680628-78949569, IP 211.106.21.195, Port 22 2025-11-12 14:42:37,952 - DEBUG - VM ctest-TestBasicPolicy-07680628-78949569 is ready for SSH connections 2025-11-12 14:42:37,952 - INFO - Waiting for VM ctest-TestBasicPolicy-07680628-90548984 to be up.. 2025-11-12 14:42:38,019 - DEBUG - VM is in ACTIVE state now 2025-11-12 14:42:38,019 - INFO - VM name : ctest-TestBasicPolicy-07680628-90548984 2025-11-12 14:42:38,080 - DEBUG - VM ctest-TestBasicPolicy-07680628-90548984 ID is f1e55e55-8ae8-465e-b258-4dedd8a5c1ff 2025-11-12 14:42:38,080 - DEBUG - VM ctest-TestBasicPolicy-07680628-90548984 launched on Node cn-jenkins-deploy-platform-ansible-os-4705-1 2025-11-12 14:42:38,149 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f1e55e55-8ae8-465e-b258-4dedd8a5c1ff 2025-11-12 14:42:38,157 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/853b5be3-3687-4ea9-9a2f-fe2efd4af378 2025-11-12 14:42:39,396 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.510 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.510/1.576/2.642/1.066 ms') 2025-11-12 14:42:39,396 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-07680628-90548984 passed 2025-11-12 14:42:39,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 14:42:39,544 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07680628-90548984, IP 28.152.231.195, Port 22 2025-11-12 14:42:39,699 - DEBUG - VM ctest-TestBasicPolicy-07680628-90548984 is ready for SSH connections 2025-11-12 14:42:39,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 14:42:39,700 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.152.231.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-12 14:42:39,700 - DEBUG - ping -s 56 -c 3 -W 1 28.152.231.195 2025-11-12 14:42:43,407 - DEBUG - PING 28.152.231.195 (28.152.231.195): 56 data bytes 64 bytes from 28.152.231.195: seq=0 ttl=63 time=4.796 ms 64 bytes from 28.152.231.195: seq=1 ttl=63 time=0.808 ms 64 bytes from 28.152.231.195: seq=2 ttl=63 time=0.753 ms --- 28.152.231.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.753/2.119/4.796 ms 2025-11-12 14:42:43,407 - INFO - Ping to IP 28.152.231.195 from VM ctest-TestBasicPolicy-07680628-78949569 passed 2025-11-12 14:42:43,576 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f09ddb43-630b-4573-bd09-4fd439230c85", "href": "http://10.0.0.38:8082/network-policy/f09ddb43-630b-4573-bd09-4fd439230c85"}} 2025-11-12 14:42:43,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 14:42:43,576 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.152.231.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-12 14:42:43,576 - DEBUG - ping -s 56 -c 3 -W 1 28.152.231.195 2025-11-12 14:42:46,780 - DEBUG - PING 28.152.231.195 (28.152.231.195): 56 data bytes --- 28.152.231.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-12 14:42:46,780 - WARNING - Ping to IP 28.152.231.195 from VM ctest-TestBasicPolicy-07680628-78949569 failed 2025-11-12 14:42:46,780 - INFO - Deleting VM ctest-TestBasicPolicy-07680628-90548984 2025-11-12 14:42:46,849 - INFO - Deleting VM ctest-TestBasicPolicy-07680628-78949569 2025-11-12 14:42:47,186 - INFO - Deleted policy ctest-policy-allow-all-29848949 2025-11-12 14:42:47,186 - INFO - Deleting VN ctest-vn-55359741 2025-11-12 14:42:47,230 - DEBUG - VN c6e1e5a7-8fbe-4957-90ac-628d384aae3b still in use: Unable to complete operation on network c6e1e5a7-8fbe-4957-90ac-628d384aae3b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b1dc35d6-9fdf-4ca1-9210-7f46cf632130'] 2025-11-12 14:42:47,230 - WARNING - Deleting VN ctest-vn-55359741 failed..Will retry 2025-11-12 14:42:49,321 - DEBUG - Response for deleting network () 2025-11-12 14:42:49,321 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/864ae297-c83d-4288-b2dc-5ef9f12a3cde 2025-11-12 14:42:49,329 - DEBUG - Response Code: 404 2025-11-12 14:42:49,330 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-12 14:42:49,334 - DEBUG - Requesting: http://10.0.0.38:8082/domain/604661ca-7fee-40a5-80d8-54c8a18b7e9d 2025-11-12 14:42:49,385 - DEBUG - Requesting: http://10.0.0.38:8082/project/234db4ae-59cb-4177-83bc-c4c9baa29cfc 2025-11-12 14:42:49,457 - INFO - Validated that VN ctest-vn-55359741 is not found in API Server 2025-11-12 14:42:49,468 - DEBUG - VN ctest-vn-55359741 is not present in Agent 10.0.0.38 2025-11-12 14:42:49,468 - INFO - Validated that VN ctest-vn-55359741 is not in any agent 2025-11-12 14:42:49,480 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55359741 info 2025-11-12 14:42:49,480 - INFO - Deleting VN ctest-vn-99124856 2025-11-12 14:42:49,581 - DEBUG - Response for deleting network () 2025-11-12 14:42:49,582 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7be0bcfb-53fa-421a-bad4-eff9f772c9f0 2025-11-12 14:42:49,586 - DEBUG - Response Code: 404 2025-11-12 14:42:49,586 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-12 14:42:49,590 - DEBUG - Requesting: http://10.0.0.38:8082/domain/604661ca-7fee-40a5-80d8-54c8a18b7e9d 2025-11-12 14:42:49,641 - DEBUG - Requesting: http://10.0.0.38:8082/project/234db4ae-59cb-4177-83bc-c4c9baa29cfc 2025-11-12 14:42:49,710 - INFO - Validated that VN ctest-vn-99124856 is not found in API Server 2025-11-12 14:42:49,719 - DEBUG - VN ctest-vn-99124856 is not present in Agent 10.0.0.38 2025-11-12 14:42:49,719 - INFO - Validated that VN ctest-vn-99124856 is not in any agent 2025-11-12 14:42:49,731 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99124856 info 2025-11-12 14:42:49,985 - DEBUG - No XMPP flaps were noticed during the test 2025-11-12 14:42:49,985 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28] 2025-11-12 14:42:49,985 - INFO - -------------------------------------------------------------------------------- 2025-11-12 14:42:50,620 - INFO - Deleted project: ctest-TestBasicPolicy-07680628, ID : 234db4ae-59cb-4177-83bc-c4c9baa29cfc