2025-10-21 14:35:47,986 - INFO - Domain Default found not creating 2025-10-21 14:35:48,110 - INFO - Project ctest-TestBasicPolicy-71292089 not found, creating it 2025-10-21 14:35:48,514 - INFO - Created Project:ctest-TestBasicPolicy-71292089, ID : 932e6e69-aa3b-41f5-b936-7aa2aa6fbd07 2025-10-21 14:35:49,838 - INFO - ================================================================================ 2025-10-21 14:35:49,838 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-21 14:35:49,838 - 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-21 14:35:50,093 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-21 14:35:50,093 - INFO - Initial checks done. Running the testcase now 2025-10-21 14:35:50,094 - INFO - 2025-10-21 14:35:50,599 - DEBUG - Response for create_network : {'network': {'id': '92426c78-f683-47f9-9206-ecff05386ddc', 'name': 'ctest-vn-51366852', 'tenant_id': '932e6e69aa3b41f5b9367aa2aa6fbd07', 'project_id': '932e6e69aa3b41f5b9367aa2aa6fbd07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71292089', 'ctest-vn-51366852'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 14:35:50,776 - DEBUG - Response for create_subnet : {'subnet': {'id': '86d68317-9d6b-472d-b5db-6922ec1f7771', 'name': '', 'tenant_id': '932e6e69aa3b41f5b9367aa2aa6fbd07', 'network_id': '92426c78-f683-47f9-9206-ecff05386ddc', 'ip_version': 4, 'cidr': '82.83.87.64/26', 'allocation_pools': [{'start': '82.83.87.66', 'end': '82.83.87.126'}], 'gateway_ip': '82.83.87.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.83.87.66', 'tags': [], 'project_id': '932e6e69aa3b41f5b9367aa2aa6fbd07'}} 2025-10-21 14:35:50,791 - INFO - Created VN ctest-vn-51366852 2025-10-21 14:35:50,839 - DEBUG - VN ctest-vn-51366852 UUID is 92426c78-f683-47f9-9206-ecff05386ddc 2025-10-21 14:35:51,147 - DEBUG - Response for create_network : {'network': {'id': '5335622c-a42a-40b0-98d5-c5411a2cbc72', 'name': 'ctest-vn-38168845', 'tenant_id': '932e6e69aa3b41f5b9367aa2aa6fbd07', 'project_id': '932e6e69aa3b41f5b9367aa2aa6fbd07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71292089', 'ctest-vn-38168845'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 14:35:51,311 - DEBUG - Response for create_subnet : {'subnet': {'id': '5966b8e9-e8ea-45c1-afba-e502eb1e62f3', 'name': '', 'tenant_id': '932e6e69aa3b41f5b9367aa2aa6fbd07', 'network_id': '5335622c-a42a-40b0-98d5-c5411a2cbc72', 'ip_version': 4, 'cidr': '168.132.164.64/26', 'allocation_pools': [{'start': '168.132.164.66', 'end': '168.132.164.126'}], 'gateway_ip': '168.132.164.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.132.164.66', 'tags': [], 'project_id': '932e6e69aa3b41f5b9367aa2aa6fbd07'}} 2025-10-21 14:35:51,326 - INFO - Created VN ctest-vn-38168845 2025-10-21 14:35:51,375 - DEBUG - VN ctest-vn-38168845 UUID is 5335622c-a42a-40b0-98d5-c5411a2cbc72 2025-10-21 14:35:51,515 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71292089:ctest-vn-51366852, 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-71292089:ctest-vn-38168845, 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-21 14:35:51,817 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '92426c78-f683-47f9-9206-ecff05386ddc', 'name': 'ctest-vn-51366852', 'tenant_id': '932e6e69aa3b41f5b9367aa2aa6fbd07', 'project_id': '932e6e69aa3b41f5b9367aa2aa6fbd07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['86d68317-9d6b-472d-b5db-6922ec1f7771'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71292089', 'ctest-vn-51366852'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71292089', 'ctest-policy-allow-all-37120856']], 'subnet_ipam': [{'subnet_cidr': '82.83.87.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 14:35:52,049 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5335622c-a42a-40b0-98d5-c5411a2cbc72', 'name': 'ctest-vn-38168845', 'tenant_id': '932e6e69aa3b41f5b9367aa2aa6fbd07', 'project_id': '932e6e69aa3b41f5b9367aa2aa6fbd07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5966b8e9-e8ea-45c1-afba-e502eb1e62f3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71292089', 'ctest-vn-38168845'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71292089', 'ctest-policy-allow-all-37120856']], 'subnet_ipam': [{'subnet_cidr': '168.132.164.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 14:35:52,211 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 14:35:52,501 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 14:35:52,526 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2a1770f5-2bd5-4783-9760-17e9a48c1a45 2025-10-21 14:35:52,536 - DEBUG - Requesting: http://10.0.0.254:8082/project/932e6e69-aa3b-41f5-b936-7aa2aa6fbd07 2025-10-21 14:35:52,602 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/92426c78-f683-47f9-9206-ecff05386ddc 2025-10-21 14:35:52,611 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/92426c78-f683-47f9-9206-ecff05386ddc 2025-10-21 14:35:52,618 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c4ca1e36-c533-4ab7-827f-0192425cb9f3 2025-10-21 14:35:52,623 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c4ca1e36-c533-4ab7-827f-0192425cb9f3 2025-10-21 14:35:52,628 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f389808f-8c40-451f-9012-7ed4902bf7db 2025-10-21 14:35:52,633 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 14:35:52,633 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/92426c78-f683-47f9-9206-ecff05386ddc 2025-10-21 14:35:52,640 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c4ca1e36-c533-4ab7-827f-0192425cb9f3 2025-10-21 14:35:52,650 - INFO - Verified VN network id 11 for VN 92426c78-f683-47f9-9206-ecff05386ddc 2025-10-21 14:35:52,650 - INFO - Verifications in API Server for VN ctest-vn-51366852 passed 2025-10-21 14:35:52,650 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/92426c78-f683-47f9-9206-ecff05386ddc 2025-10-21 14:35:52,656 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c4ca1e36-c533-4ab7-827f-0192425cb9f3 2025-10-21 14:35:52,661 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c4ca1e36-c533-4ab7-827f-0192425cb9f3 2025-10-21 14:35:52,666 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f389808f-8c40-451f-9012-7ed4902bf7db 2025-10-21 14:35:52,674 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71292089:ctest-vn-51366852', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71292089', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10539105344788056057', 'uuid-lslong': '10522358159446142428'}, 'enable': 'true', 'created': '2025-10-21T14:35:50', 'last-modified': '2025-10-21T14:35:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.884880'} 2025-10-21 14:35:52,679 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 14:35:52,679 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51366852 passed 2025-10-21 14:35:52,679 - DEBUG - ====Verifying policy data for ctest-vn-51366852 in API_Server ====== 2025-10-21 14:35:52,679 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 14:35:52,683 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2a1770f5-2bd5-4783-9760-17e9a48c1a45 2025-10-21 14:35:52,691 - DEBUG - Requesting: http://10.0.0.254:8082/project/932e6e69-aa3b-41f5-b936-7aa2aa6fbd07 2025-10-21 14:35:52,756 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/92426c78-f683-47f9-9206-ecff05386ddc 2025-10-21 14:35:52,763 - DEBUG - ==>Verifying data for policy with id: 504292a5-51ad-470a-843d-bd49409bf6c4, fqn: ['default-domain', 'ctest-TestBasicPolicy-71292089', 'ctest-policy-allow-all-37120856'] 2025-10-21 14:35:52,763 - INFO - VN ctest-vn-51366852 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 14:35:52,763 - DEBUG - Verifying the vn in opserver 2025-10-21 14:35:52,763 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71292089:ctest-vn-51366852 virtual network link through opserver 10.0.0.254 2025-10-21 14:35:52,763 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-21 14:35:53,049 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-21 14:35:53,094 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71292089:ctest-vn-51366852', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71292089:ctest-vn-51366852?flat'} 2025-10-21 14:35:53,094 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71292089:ctest-vn-51366852 is found in opserver 2025-10-21 14:35:53,102 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 14:35:53,106 - DEBUG - VRF ids for VN ctest-vn-51366852: {} 2025-10-21 14:35:53,106 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 14:35:53,110 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2a1770f5-2bd5-4783-9760-17e9a48c1a45 2025-10-21 14:35:53,119 - DEBUG - Requesting: http://10.0.0.254:8082/project/932e6e69-aa3b-41f5-b936-7aa2aa6fbd07 2025-10-21 14:35:53,184 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5335622c-a42a-40b0-98d5-c5411a2cbc72 2025-10-21 14:35:53,194 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5335622c-a42a-40b0-98d5-c5411a2cbc72 2025-10-21 14:35:53,202 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/24fde8ca-a74f-4893-89c5-48567f854b8f 2025-10-21 14:35:53,207 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/24fde8ca-a74f-4893-89c5-48567f854b8f 2025-10-21 14:35:53,212 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/0df87639-5068-47f1-ac83-2350f3351979 2025-10-21 14:35:53,216 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 14:35:53,217 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5335622c-a42a-40b0-98d5-c5411a2cbc72 2025-10-21 14:35:53,223 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/24fde8ca-a74f-4893-89c5-48567f854b8f 2025-10-21 14:35:53,233 - INFO - Verified VN network id 12 for VN 5335622c-a42a-40b0-98d5-c5411a2cbc72 2025-10-21 14:35:53,233 - INFO - Verifications in API Server for VN ctest-vn-38168845 passed 2025-10-21 14:35:53,233 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5335622c-a42a-40b0-98d5-c5411a2cbc72 2025-10-21 14:35:53,240 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/24fde8ca-a74f-4893-89c5-48567f854b8f 2025-10-21 14:35:53,245 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/24fde8ca-a74f-4893-89c5-48567f854b8f 2025-10-21 14:35:53,250 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/0df87639-5068-47f1-ac83-2350f3351979 2025-10-21 14:35:53,258 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71292089:ctest-vn-38168845', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71292089', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5995806422785999024', 'uuid-lslong': '11012925347207101554'}, 'enable': 'true', 'created': '2025-10-21T14:35:51', 'last-modified': '2025-10-21T14:35:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.227079'} 2025-10-21 14:35:53,263 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 14:35:53,263 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38168845 passed 2025-10-21 14:35:53,263 - DEBUG - ====Verifying policy data for ctest-vn-38168845 in API_Server ====== 2025-10-21 14:35:53,263 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 14:35:53,266 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2a1770f5-2bd5-4783-9760-17e9a48c1a45 2025-10-21 14:35:53,274 - DEBUG - Requesting: http://10.0.0.254:8082/project/932e6e69-aa3b-41f5-b936-7aa2aa6fbd07 2025-10-21 14:35:53,339 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5335622c-a42a-40b0-98d5-c5411a2cbc72 2025-10-21 14:35:53,347 - DEBUG - ==>Verifying data for policy with id: 504292a5-51ad-470a-843d-bd49409bf6c4, fqn: ['default-domain', 'ctest-TestBasicPolicy-71292089', 'ctest-policy-allow-all-37120856'] 2025-10-21 14:35:53,347 - INFO - VN ctest-vn-38168845 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 14:35:53,347 - DEBUG - Verifying the vn in opserver 2025-10-21 14:35:53,347 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71292089:ctest-vn-38168845 virtual network link through opserver 10.0.0.254 2025-10-21 14:35:53,347 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-21 14:35:53,355 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71292089:ctest-vn-38168845', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71292089:ctest-vn-38168845?flat'} 2025-10-21 14:35:53,355 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71292089:ctest-vn-38168845 is found in opserver 2025-10-21 14:35:53,362 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 14:35:53,366 - DEBUG - VRF ids for VN ctest-vn-38168845: {} 2025-10-21 14:35:53,412 - DEBUG - Services list from nova: [, , ] 2025-10-21 14:35:54,364 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4395-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4395-1) 2025-10-21 14:35:55,430 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4395-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4395-1) 2025-10-21 14:35:55,430 - INFO - Waiting for VM ctest-TestBasicPolicy-71292089-29372556 to be up.. 2025-10-21 14:35:55,496 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 14:36:00,559 - DEBUG - VM is in ACTIVE state now 2025-10-21 14:36:00,559 - INFO - VM name : ctest-TestBasicPolicy-71292089-29372556 2025-10-21 14:36:00,621 - DEBUG - VM ctest-TestBasicPolicy-71292089-29372556 ID is 0415995b-aa95-4ffc-a8dc-6beeb9bd339b 2025-10-21 14:36:00,637 - DEBUG - VM ctest-TestBasicPolicy-71292089-29372556 launched on Node cn-jenkins-deploy-platform-ansible-os-4395-1 2025-10-21 14:36:00,700 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0415995b-aa95-4ffc-a8dc-6beeb9bd339b 2025-10-21 14:36:00,707 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bd0046af-6f2c-4c31-8805-a0d253f8f4d0 2025-10-21 14:36:03,950 - 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 1008ms') 2025-10-21 14:36:03,950 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71292089-29372556 failed! 2025-10-21 14:36:04,003 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-71292089:ctest-vn-51366852 is 82.83.87.65 and allocation pool is NOT set 2025-10-21 14:36:06,067 - 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=3.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.820 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.820/2.239/3.659/1.419 ms') 2025-10-21 14:36:06,067 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71292089-29372556 passed 2025-10-21 14:36:06,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 14:36:06,215 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71292089-29372556, IP 82.83.87.67, Port 22 2025-10-21 14:36:06,379 - DEBUG - VM ctest-TestBasicPolicy-71292089-29372556 is ready for SSH connections 2025-10-21 14:36:06,379 - INFO - Waiting for VM ctest-TestBasicPolicy-71292089-09500860 to be up.. 2025-10-21 14:36:06,443 - DEBUG - VM is in ACTIVE state now 2025-10-21 14:36:06,443 - INFO - VM name : ctest-TestBasicPolicy-71292089-09500860 2025-10-21 14:36:06,504 - DEBUG - VM ctest-TestBasicPolicy-71292089-09500860 ID is eaa84da5-d214-4695-8845-bc576f320b3d 2025-10-21 14:36:06,504 - DEBUG - VM ctest-TestBasicPolicy-71292089-09500860 launched on Node cn-jenkins-deploy-platform-ansible-os-4395-1 2025-10-21 14:36:06,566 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/eaa84da5-d214-4695-8845-bc576f320b3d 2025-10-21 14:36:06,573 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c241315a-545f-4ff6-9d83-6ec124148ddf 2025-10-21 14:36:07,810 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.384 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.384/1.482/2.581/1.098 ms') 2025-10-21 14:36:07,810 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-71292089-09500860 passed 2025-10-21 14:36:07,955 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 14:36:07,955 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71292089-09500860, IP 168.132.164.67, Port 22 2025-10-21 14:36:08,123 - DEBUG - VM ctest-TestBasicPolicy-71292089-09500860 is ready for SSH connections 2025-10-21 14:36:08,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 14:36:08,123 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.132.164.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 14:36:08,123 - DEBUG - ping -s 56 -c 3 -W 1 168.132.164.67 2025-10-21 14:36:11,830 - DEBUG - PING 168.132.164.67 (168.132.164.67): 56 data bytes 64 bytes from 168.132.164.67: seq=0 ttl=63 time=3.325 ms 64 bytes from 168.132.164.67: seq=1 ttl=63 time=0.889 ms 64 bytes from 168.132.164.67: seq=2 ttl=63 time=0.799 ms --- 168.132.164.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.799/1.671/3.325 ms 2025-10-21 14:36:11,830 - INFO - Ping to IP 168.132.164.67 from VM ctest-TestBasicPolicy-71292089-29372556 passed 2025-10-21 14:36:12,011 - DEBUG - Policy Update Response {"network-policy": {"uuid": "504292a5-51ad-470a-843d-bd49409bf6c4", "href": "http://10.0.0.254:8082/network-policy/504292a5-51ad-470a-843d-bd49409bf6c4"}} 2025-10-21 14:36:12,011 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 14:36:12,011 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.132.164.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 14:36:12,011 - DEBUG - ping -s 56 -c 3 -W 1 168.132.164.67 2025-10-21 14:36:15,220 - DEBUG - PING 168.132.164.67 (168.132.164.67): 56 data bytes --- 168.132.164.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 14:36:15,220 - WARNING - Ping to IP 168.132.164.67 from VM ctest-TestBasicPolicy-71292089-29372556 failed 2025-10-21 14:36:15,220 - INFO - Deleting VM ctest-TestBasicPolicy-71292089-09500860 2025-10-21 14:36:15,289 - INFO - Deleting VM ctest-TestBasicPolicy-71292089-29372556 2025-10-21 14:36:15,616 - INFO - Deleted policy ctest-policy-allow-all-37120856 2025-10-21 14:36:15,616 - INFO - Deleting VN ctest-vn-38168845 2025-10-21 14:36:15,646 - DEBUG - VN 5335622c-a42a-40b0-98d5-c5411a2cbc72 still in use: Unable to complete operation on network 5335622c-a42a-40b0-98d5-c5411a2cbc72. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1dd9acd3-28fd-45c4-8827-33b8bf19a820'] 2025-10-21 14:36:15,646 - WARNING - Deleting VN ctest-vn-38168845 failed..Will retry 2025-10-21 14:36:17,728 - DEBUG - Response for deleting network () 2025-10-21 14:36:17,728 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/24fde8ca-a74f-4893-89c5-48567f854b8f 2025-10-21 14:36:17,736 - DEBUG - Response Code: 404 2025-10-21 14:36:17,736 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 14:36:17,741 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2a1770f5-2bd5-4783-9760-17e9a48c1a45 2025-10-21 14:36:17,792 - DEBUG - Requesting: http://10.0.0.254:8082/project/932e6e69-aa3b-41f5-b936-7aa2aa6fbd07 2025-10-21 14:36:17,862 - INFO - Validated that VN ctest-vn-38168845 is not found in API Server 2025-10-21 14:36:17,872 - DEBUG - VN ctest-vn-38168845 is not present in Agent 10.0.0.254 2025-10-21 14:36:17,872 - INFO - Validated that VN ctest-vn-38168845 is not in any agent 2025-10-21 14:36:17,884 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38168845 info 2025-10-21 14:36:17,884 - INFO - Deleting VN ctest-vn-51366852 2025-10-21 14:36:17,977 - DEBUG - Response for deleting network () 2025-10-21 14:36:17,977 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c4ca1e36-c533-4ab7-827f-0192425cb9f3 2025-10-21 14:36:17,981 - DEBUG - Response Code: 404 2025-10-21 14:36:17,982 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 14:36:17,986 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2a1770f5-2bd5-4783-9760-17e9a48c1a45 2025-10-21 14:36:18,040 - DEBUG - Requesting: http://10.0.0.254:8082/project/932e6e69-aa3b-41f5-b936-7aa2aa6fbd07 2025-10-21 14:36:18,108 - INFO - Validated that VN ctest-vn-51366852 is not found in API Server 2025-10-21 14:36:18,118 - DEBUG - VN ctest-vn-51366852 is not present in Agent 10.0.0.254 2025-10-21 14:36:18,118 - INFO - Validated that VN ctest-vn-51366852 is not in any agent 2025-10-21 14:36:18,130 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51366852 info 2025-10-21 14:36:18,387 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 14:36:18,387 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-21 14:36:18,387 - INFO - -------------------------------------------------------------------------------- 2025-10-21 14:36:19,043 - INFO - Deleted project: ctest-TestBasicPolicy-71292089, ID : 932e6e69-aa3b-41f5-b936-7aa2aa6fbd07