2026-02-04 12:19:17,056 - INFO - Domain Default found not creating 2026-02-04 12:19:17,209 - INFO - Project ctest-TestBasicPolicy-43578840 not found, creating it 2026-02-04 12:19:17,651 - INFO - Created Project:ctest-TestBasicPolicy-43578840, ID : 5ee678f7-c87e-488a-a5d5-27e9df1dba17 2026-02-04 12:19:19,140 - INFO - ================================================================================ 2026-02-04 12:19:19,140 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-04 12:19:19,140 - 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 2026-02-04 12:19:19,396 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-02-04 12:19:19,396 - INFO - Initial checks done. Running the testcase now 2026-02-04 12:19:19,396 - INFO - 2026-02-04 12:19:19,935 - DEBUG - Response for create_network : {'network': {'id': 'edbe381f-0177-471a-95de-81fba819ff0a', 'name': 'ctest-vn-05633760', 'tenant_id': '5ee678f7c87e488aa5d527e9df1dba17', 'project_id': '5ee678f7c87e488aa5d527e9df1dba17', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43578840', 'ctest-vn-05633760'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 12:19:20,095 - DEBUG - Response for create_subnet : {'subnet': {'id': '13b0b431-2572-4ede-9b03-0b8309f2bb1a', 'name': '', 'tenant_id': '5ee678f7c87e488aa5d527e9df1dba17', 'network_id': 'edbe381f-0177-471a-95de-81fba819ff0a', 'ip_version': 4, 'cidr': '8.174.160.64/26', 'allocation_pools': [{'start': '8.174.160.66', 'end': '8.174.160.126'}], 'gateway_ip': '8.174.160.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.174.160.66', 'tags': [], 'project_id': '5ee678f7c87e488aa5d527e9df1dba17'}} 2026-02-04 12:19:20,111 - INFO - Created VN ctest-vn-05633760 2026-02-04 12:19:20,162 - DEBUG - VN ctest-vn-05633760 UUID is edbe381f-0177-471a-95de-81fba819ff0a 2026-02-04 12:19:20,488 - DEBUG - Response for create_network : {'network': {'id': '901b2638-6aad-4c96-912b-4a0bd38e4f83', 'name': 'ctest-vn-82862451', 'tenant_id': '5ee678f7c87e488aa5d527e9df1dba17', 'project_id': '5ee678f7c87e488aa5d527e9df1dba17', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43578840', 'ctest-vn-82862451'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 12:19:20,629 - DEBUG - Response for create_subnet : {'subnet': {'id': '2db17d40-63bc-43c4-8c8f-0c1d1f55cf66', 'name': '', 'tenant_id': '5ee678f7c87e488aa5d527e9df1dba17', 'network_id': '901b2638-6aad-4c96-912b-4a0bd38e4f83', 'ip_version': 4, 'cidr': '50.200.133.128/26', 'allocation_pools': [{'start': '50.200.133.130', 'end': '50.200.133.190'}], 'gateway_ip': '50.200.133.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.200.133.130', 'tags': [], 'project_id': '5ee678f7c87e488aa5d527e9df1dba17'}} 2026-02-04 12:19:20,645 - INFO - Created VN ctest-vn-82862451 2026-02-04 12:19:20,694 - DEBUG - VN ctest-vn-82862451 UUID is 901b2638-6aad-4c96-912b-4a0bd38e4f83 2026-02-04 12:19:20,842 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43578840:ctest-vn-05633760, 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-43578840:ctest-vn-82862451, 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] 2026-02-04 12:19:21,138 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'edbe381f-0177-471a-95de-81fba819ff0a', 'name': 'ctest-vn-05633760', 'tenant_id': '5ee678f7c87e488aa5d527e9df1dba17', 'project_id': '5ee678f7c87e488aa5d527e9df1dba17', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['13b0b431-2572-4ede-9b03-0b8309f2bb1a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43578840', 'ctest-vn-05633760'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43578840', 'ctest-policy-allow-all-72222153']], 'subnet_ipam': [{'subnet_cidr': '8.174.160.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-04 12:19:21,405 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '901b2638-6aad-4c96-912b-4a0bd38e4f83', 'name': 'ctest-vn-82862451', 'tenant_id': '5ee678f7c87e488aa5d527e9df1dba17', 'project_id': '5ee678f7c87e488aa5d527e9df1dba17', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2db17d40-63bc-43c4-8c8f-0c1d1f55cf66'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43578840', 'ctest-vn-82862451'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43578840', 'ctest-policy-allow-all-72222153']], 'subnet_ipam': [{'subnet_cidr': '50.200.133.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-04 12:19:21,554 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-04 12:19:21,859 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-04 12:19:21,889 - DEBUG - Requesting: http://10.0.0.22:8082/domain/57c3df35-dff8-4345-9905-6d9e072a1f66 2026-02-04 12:19:21,901 - DEBUG - Requesting: http://10.0.0.22:8082/project/5ee678f7-c87e-488a-a5d5-27e9df1dba17 2026-02-04 12:19:21,972 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/edbe381f-0177-471a-95de-81fba819ff0a 2026-02-04 12:19:21,981 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/edbe381f-0177-471a-95de-81fba819ff0a 2026-02-04 12:19:21,989 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/740f3730-8130-458b-a951-5bee42a856c4 2026-02-04 12:19:21,995 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/740f3730-8130-458b-a951-5bee42a856c4 2026-02-04 12:19:22,000 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/72762710-6e46-4ee2-bb0e-6f0ade2be52b 2026-02-04 12:19:22,005 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-04 12:19:22,005 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/edbe381f-0177-471a-95de-81fba819ff0a 2026-02-04 12:19:22,013 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/740f3730-8130-458b-a951-5bee42a856c4 2026-02-04 12:19:22,026 - INFO - Verified VN network id 12 for VN edbe381f-0177-471a-95de-81fba819ff0a 2026-02-04 12:19:22,026 - INFO - Verifications in API Server for VN ctest-vn-05633760 passed 2026-02-04 12:19:22,026 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/edbe381f-0177-471a-95de-81fba819ff0a 2026-02-04 12:19:22,034 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/740f3730-8130-458b-a951-5bee42a856c4 2026-02-04 12:19:22,041 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/740f3730-8130-458b-a951-5bee42a856c4 2026-02-04 12:19:22,047 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/72762710-6e46-4ee2-bb0e-6f0ade2be52b 2026-02-04 12:19:22,057 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43578840:ctest-vn-05633760', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43578840', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17131191738383681306', 'uuid-lslong': '10799211874338078474'}, 'enable': 'true', 'created': '2026-02-04T12:19:19', 'last-modified': '2026-02-04T12:19:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.946646'} 2026-02-04 12:19:22,062 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-04 12:19:22,063 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05633760 passed 2026-02-04 12:19:22,063 - DEBUG - ====Verifying policy data for ctest-vn-05633760 in API_Server ====== 2026-02-04 12:19:22,063 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-04 12:19:22,069 - DEBUG - Requesting: http://10.0.0.22:8082/domain/57c3df35-dff8-4345-9905-6d9e072a1f66 2026-02-04 12:19:22,080 - DEBUG - Requesting: http://10.0.0.22:8082/project/5ee678f7-c87e-488a-a5d5-27e9df1dba17 2026-02-04 12:19:22,145 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/edbe381f-0177-471a-95de-81fba819ff0a 2026-02-04 12:19:22,153 - DEBUG - ==>Verifying data for policy with id: 562d1d79-9456-4187-b71e-ef9d2f8b187f, fqn: ['default-domain', 'ctest-TestBasicPolicy-43578840', 'ctest-policy-allow-all-72222153'] 2026-02-04 12:19:22,153 - INFO - VN ctest-vn-05633760 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-04 12:19:22,153 - DEBUG - Verifying the vn in opserver 2026-02-04 12:19:22,153 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43578840:ctest-vn-05633760 virtual network link through opserver 10.0.0.22 2026-02-04 12:19:22,153 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-04 12:19:22,452 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-04 12:19:22,514 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43578840:ctest-vn-05633760', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43578840:ctest-vn-05633760?flat'} 2026-02-04 12:19:22,514 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43578840:ctest-vn-05633760 is found in opserver 2026-02-04 12:19:22,522 - DEBUG - Do not have enough data to verify VN in agent 2026-02-04 12:19:22,526 - DEBUG - VRF ids for VN ctest-vn-05633760: {} 2026-02-04 12:19:22,526 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-04 12:19:22,531 - DEBUG - Requesting: http://10.0.0.22:8082/domain/57c3df35-dff8-4345-9905-6d9e072a1f66 2026-02-04 12:19:22,542 - DEBUG - Requesting: http://10.0.0.22:8082/project/5ee678f7-c87e-488a-a5d5-27e9df1dba17 2026-02-04 12:19:22,608 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/901b2638-6aad-4c96-912b-4a0bd38e4f83 2026-02-04 12:19:22,618 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/901b2638-6aad-4c96-912b-4a0bd38e4f83 2026-02-04 12:19:22,626 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/707f0dc6-5bf6-4278-a7c7-560ca7e52689 2026-02-04 12:19:22,632 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/707f0dc6-5bf6-4278-a7c7-560ca7e52689 2026-02-04 12:19:22,638 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/90e5dc72-f9ca-44ce-b9ae-128f08b115c4 2026-02-04 12:19:22,644 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-04 12:19:22,644 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/901b2638-6aad-4c96-912b-4a0bd38e4f83 2026-02-04 12:19:22,651 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/707f0dc6-5bf6-4278-a7c7-560ca7e52689 2026-02-04 12:19:22,663 - INFO - Verified VN network id 13 for VN 901b2638-6aad-4c96-912b-4a0bd38e4f83 2026-02-04 12:19:22,663 - INFO - Verifications in API Server for VN ctest-vn-82862451 passed 2026-02-04 12:19:22,663 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/901b2638-6aad-4c96-912b-4a0bd38e4f83 2026-02-04 12:19:22,671 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/707f0dc6-5bf6-4278-a7c7-560ca7e52689 2026-02-04 12:19:22,677 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/707f0dc6-5bf6-4278-a7c7-560ca7e52689 2026-02-04 12:19:22,682 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/90e5dc72-f9ca-44ce-b9ae-128f08b115c4 2026-02-04 12:19:22,692 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43578840:ctest-vn-82862451', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43578840', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10383935389582576790', 'uuid-lslong': '10460535974152523651'}, 'enable': 'true', 'created': '2026-02-04T12:19:20', 'last-modified': '2026-02-04T12:19:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.357251'} 2026-02-04 12:19:22,697 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-04 12:19:22,697 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82862451 passed 2026-02-04 12:19:22,697 - DEBUG - ====Verifying policy data for ctest-vn-82862451 in API_Server ====== 2026-02-04 12:19:22,697 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-04 12:19:22,702 - DEBUG - Requesting: http://10.0.0.22:8082/domain/57c3df35-dff8-4345-9905-6d9e072a1f66 2026-02-04 12:19:22,712 - DEBUG - Requesting: http://10.0.0.22:8082/project/5ee678f7-c87e-488a-a5d5-27e9df1dba17 2026-02-04 12:19:22,776 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/901b2638-6aad-4c96-912b-4a0bd38e4f83 2026-02-04 12:19:22,784 - DEBUG - ==>Verifying data for policy with id: 562d1d79-9456-4187-b71e-ef9d2f8b187f, fqn: ['default-domain', 'ctest-TestBasicPolicy-43578840', 'ctest-policy-allow-all-72222153'] 2026-02-04 12:19:22,784 - INFO - VN ctest-vn-82862451 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-04 12:19:22,784 - DEBUG - Verifying the vn in opserver 2026-02-04 12:19:22,784 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43578840:ctest-vn-82862451 virtual network link through opserver 10.0.0.22 2026-02-04 12:19:22,784 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-04 12:19:22,793 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43578840:ctest-vn-82862451', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43578840:ctest-vn-82862451?flat'} 2026-02-04 12:19:22,793 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43578840:ctest-vn-82862451 is found in opserver 2026-02-04 12:19:22,802 - DEBUG - Do not have enough data to verify VN in agent 2026-02-04 12:19:22,808 - DEBUG - VRF ids for VN ctest-vn-82862451: {} 2026-02-04 12:19:22,865 - DEBUG - Services list from nova: [, , ] 2026-02-04 12:19:23,889 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5204-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5204-1) 2026-02-04 12:19:25,003 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5204-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5204-1) 2026-02-04 12:19:25,004 - INFO - Waiting for VM ctest-TestBasicPolicy-43578840-85525168 to be up.. 2026-02-04 12:19:25,094 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-04 12:19:30,168 - DEBUG - VM is in ACTIVE state now 2026-02-04 12:19:30,168 - INFO - VM name : ctest-TestBasicPolicy-43578840-85525168 2026-02-04 12:19:30,241 - DEBUG - VM ctest-TestBasicPolicy-43578840-85525168 ID is 9b85fd67-f020-4f3a-8639-f0e7bb5eae39 2026-02-04 12:19:30,264 - DEBUG - VM ctest-TestBasicPolicy-43578840-85525168 launched on Node cn-jenkins-deploy-platform-ansible-os-5204-1 2026-02-04 12:19:30,331 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9b85fd67-f020-4f3a-8639-f0e7bb5eae39 2026-02-04 12:19:30,347 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8141679a-f3ab-41ec-9c14-9dce7f7e895b 2026-02-04 12:19:33,611 - 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 1000ms') 2026-02-04 12:19:33,611 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43578840-85525168 failed! 2026-02-04 12:19:33,666 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43578840:ctest-vn-05633760 is 8.174.160.65 and allocation pool is NOT set 2026-02-04 12:19:35,729 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=9.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.05 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.046/5.490/9.934/4.444 ms') 2026-02-04 12:19:35,729 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43578840-85525168 passed 2026-02-04 12:19:35,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 12:19:35,878 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43578840-85525168, IP 8.174.160.67, Port 22 2026-02-04 12:19:36,033 - DEBUG - VM ctest-TestBasicPolicy-43578840-85525168 is ready for SSH connections 2026-02-04 12:19:36,033 - INFO - Waiting for VM ctest-TestBasicPolicy-43578840-49983755 to be up.. 2026-02-04 12:19:36,107 - DEBUG - VM is in ACTIVE state now 2026-02-04 12:19:36,108 - INFO - VM name : ctest-TestBasicPolicy-43578840-49983755 2026-02-04 12:19:36,179 - DEBUG - VM ctest-TestBasicPolicy-43578840-49983755 ID is 43946e18-bc1f-4f3d-9426-a0f228e03ebe 2026-02-04 12:19:36,179 - DEBUG - VM ctest-TestBasicPolicy-43578840-49983755 launched on Node cn-jenkins-deploy-platform-ansible-os-5204-1 2026-02-04 12:19:36,246 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/43946e18-bc1f-4f3d-9426-a0f228e03ebe 2026-02-04 12:19:36,254 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2bea01a5-05f7-43a1-824e-d366275f5f1d 2026-02-04 12:19:37,483 - 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=4.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.31 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 = 1.310/2.736/4.162/1.426 ms') 2026-02-04 12:19:37,483 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43578840-49983755 passed 2026-02-04 12:19:37,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 12:19:37,630 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43578840-49983755, IP 50.200.133.131, Port 22 2026-02-04 12:19:37,786 - DEBUG - VM ctest-TestBasicPolicy-43578840-49983755 is ready for SSH connections 2026-02-04 12:19:37,786 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 12:19:37,786 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.200.133.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-02-04 12:19:37,786 - DEBUG - ping -s 56 -c 3 -W 1 50.200.133.131 2026-02-04 12:19:41,793 - DEBUG - PING 50.200.133.131 (50.200.133.131): 56 data bytes 64 bytes from 50.200.133.131: seq=0 ttl=63 time=3.426 ms 64 bytes from 50.200.133.131: seq=1 ttl=63 time=0.823 ms 64 bytes from 50.200.133.131: seq=2 ttl=63 time=0.914 ms --- 50.200.133.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.823/1.721/3.426 ms 2026-02-04 12:19:41,793 - INFO - Ping to IP 50.200.133.131 from VM ctest-TestBasicPolicy-43578840-85525168 passed 2026-02-04 12:19:41,970 - DEBUG - Policy Update Response {"network-policy": {"uuid": "562d1d79-9456-4187-b71e-ef9d2f8b187f", "href": "http://10.0.0.22:8082/network-policy/562d1d79-9456-4187-b71e-ef9d2f8b187f"}} 2026-02-04 12:19:41,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 12:19:41,970 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.200.133.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-02-04 12:19:41,970 - DEBUG - ping -s 56 -c 3 -W 1 50.200.133.131 2026-02-04 12:19:45,176 - DEBUG - PING 50.200.133.131 (50.200.133.131): 56 data bytes --- 50.200.133.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-04 12:19:45,176 - WARNING - Ping to IP 50.200.133.131 from VM ctest-TestBasicPolicy-43578840-85525168 failed 2026-02-04 12:19:45,176 - INFO - Deleting VM ctest-TestBasicPolicy-43578840-49983755 2026-02-04 12:19:45,239 - INFO - Deleting VM ctest-TestBasicPolicy-43578840-85525168 2026-02-04 12:19:45,581 - INFO - Deleted policy ctest-policy-allow-all-72222153 2026-02-04 12:19:45,582 - INFO - Deleting VN ctest-vn-82862451 2026-02-04 12:19:45,615 - DEBUG - VN 901b2638-6aad-4c96-912b-4a0bd38e4f83 still in use: Unable to complete operation on network 901b2638-6aad-4c96-912b-4a0bd38e4f83. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-177e76ff-dc0b-4a60-b07f-e72240189610'] 2026-02-04 12:19:45,615 - WARNING - Deleting VN ctest-vn-82862451 failed..Will retry 2026-02-04 12:19:47,715 - DEBUG - Response for deleting network () 2026-02-04 12:19:47,715 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/707f0dc6-5bf6-4278-a7c7-560ca7e52689 2026-02-04 12:19:47,724 - DEBUG - Response Code: 404 2026-02-04 12:19:47,724 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-04 12:19:47,730 - DEBUG - Requesting: http://10.0.0.22:8082/domain/57c3df35-dff8-4345-9905-6d9e072a1f66 2026-02-04 12:19:47,785 - DEBUG - Requesting: http://10.0.0.22:8082/project/5ee678f7-c87e-488a-a5d5-27e9df1dba17 2026-02-04 12:19:47,855 - INFO - Validated that VN ctest-vn-82862451 is not found in API Server 2026-02-04 12:19:47,866 - DEBUG - VN ctest-vn-82862451 is not present in Agent 10.0.0.22 2026-02-04 12:19:47,866 - INFO - Validated that VN ctest-vn-82862451 is not in any agent 2026-02-04 12:19:47,883 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82862451 info 2026-02-04 12:19:47,883 - INFO - Deleting VN ctest-vn-05633760 2026-02-04 12:19:47,969 - DEBUG - Response for deleting network () 2026-02-04 12:19:47,969 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/740f3730-8130-458b-a951-5bee42a856c4 2026-02-04 12:19:47,975 - DEBUG - Response Code: 404 2026-02-04 12:19:47,975 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-04 12:19:47,980 - DEBUG - Requesting: http://10.0.0.22:8082/domain/57c3df35-dff8-4345-9905-6d9e072a1f66 2026-02-04 12:19:48,030 - DEBUG - Requesting: http://10.0.0.22:8082/project/5ee678f7-c87e-488a-a5d5-27e9df1dba17 2026-02-04 12:19:48,097 - INFO - Validated that VN ctest-vn-05633760 is not found in API Server 2026-02-04 12:19:48,107 - DEBUG - VN ctest-vn-05633760 is not present in Agent 10.0.0.22 2026-02-04 12:19:48,107 - INFO - Validated that VN ctest-vn-05633760 is not in any agent 2026-02-04 12:19:48,121 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05633760 info 2026-02-04 12:19:48,378 - DEBUG - No XMPP flaps were noticed during the test
2026-02-04 12:19:48,378 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-02-04 12:19:48,378 - INFO - -------------------------------------------------------------------------------- 2026-02-04 12:19:49,075 - INFO - Deleted project: ctest-TestBasicPolicy-43578840, ID : 5ee678f7-c87e-488a-a5d5-27e9df1dba17