2026-03-12 13:42:41,468 - INFO - Domain Default found not creating 2026-03-12 13:42:41,652 - INFO - Project ctest-TestBasicPolicy-49714591 not found, creating it 2026-03-12 13:42:42,102 - INFO - Created Project:ctest-TestBasicPolicy-49714591, ID : 6d7d10f5-d22e-4419-8974-ad646cb8e6ff 2026-03-12 13:42:43,623 - INFO - ================================================================================ 2026-03-12 13:42:43,623 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-12 13:42:43,623 - 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-03-12 13:42:43,880 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-03-12 13:42:43,880 - INFO - Initial checks done. Running the testcase now 2026-03-12 13:42:43,880 - INFO - 2026-03-12 13:42:44,456 - DEBUG - Response for create_network : {'network': {'id': 'eeb292f8-c640-4a09-9a1a-03534184965b', 'name': 'ctest-vn-31160231', 'tenant_id': '6d7d10f5d22e44198974ad646cb8e6ff', 'project_id': '6d7d10f5d22e44198974ad646cb8e6ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49714591', 'ctest-vn-31160231'], 'port_security_enabled': True, 'description': ''}} 2026-03-12 13:42:44,668 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e28c3468-24e9-48e8-a60d-4aef11ebbf1d', 'name': '', 'tenant_id': '6d7d10f5d22e44198974ad646cb8e6ff', 'network_id': 'eeb292f8-c640-4a09-9a1a-03534184965b', 'ip_version': 4, 'cidr': '175.254.181.64/26', 'allocation_pools': [{'start': '175.254.181.66', 'end': '175.254.181.126'}], 'gateway_ip': '175.254.181.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.254.181.66', 'tags': [], 'project_id': '6d7d10f5d22e44198974ad646cb8e6ff'}} 2026-03-12 13:42:44,691 - INFO - Created VN ctest-vn-31160231 2026-03-12 13:42:44,743 - DEBUG - VN ctest-vn-31160231 UUID is eeb292f8-c640-4a09-9a1a-03534184965b 2026-03-12 13:42:45,053 - DEBUG - Response for create_network : {'network': {'id': '1f7554c2-7f32-4852-98b3-ab01022a0c27', 'name': 'ctest-vn-41160589', 'tenant_id': '6d7d10f5d22e44198974ad646cb8e6ff', 'project_id': '6d7d10f5d22e44198974ad646cb8e6ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49714591', 'ctest-vn-41160589'], 'port_security_enabled': True, 'description': ''}} 2026-03-12 13:42:45,223 - DEBUG - Response for create_subnet : {'subnet': {'id': '57369bc7-cf90-4a70-9600-9592de526cf4', 'name': '', 'tenant_id': '6d7d10f5d22e44198974ad646cb8e6ff', 'network_id': '1f7554c2-7f32-4852-98b3-ab01022a0c27', 'ip_version': 4, 'cidr': '202.166.29.192/26', 'allocation_pools': [{'start': '202.166.29.194', 'end': '202.166.29.254'}], 'gateway_ip': '202.166.29.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.166.29.194', 'tags': [], 'project_id': '6d7d10f5d22e44198974ad646cb8e6ff'}} 2026-03-12 13:42:45,241 - INFO - Created VN ctest-vn-41160589 2026-03-12 13:42:45,295 - DEBUG - VN ctest-vn-41160589 UUID is 1f7554c2-7f32-4852-98b3-ab01022a0c27 2026-03-12 13:42:45,416 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49714591:ctest-vn-31160231, 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-49714591:ctest-vn-41160589, 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-03-12 13:42:45,716 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eeb292f8-c640-4a09-9a1a-03534184965b', 'name': 'ctest-vn-31160231', 'tenant_id': '6d7d10f5d22e44198974ad646cb8e6ff', 'project_id': '6d7d10f5d22e44198974ad646cb8e6ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e28c3468-24e9-48e8-a60d-4aef11ebbf1d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49714591', 'ctest-vn-31160231'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49714591', 'ctest-policy-allow-all-57328497']], 'subnet_ipam': [{'subnet_cidr': '175.254.181.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-12 13:42:45,950 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1f7554c2-7f32-4852-98b3-ab01022a0c27', 'name': 'ctest-vn-41160589', 'tenant_id': '6d7d10f5d22e44198974ad646cb8e6ff', 'project_id': '6d7d10f5d22e44198974ad646cb8e6ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['57369bc7-cf90-4a70-9600-9592de526cf4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49714591', 'ctest-vn-41160589'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49714591', 'ctest-policy-allow-all-57328497']], 'subnet_ipam': [{'subnet_cidr': '202.166.29.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-12 13:42:46,115 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-12 13:42:46,413 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-12 13:42:46,445 - DEBUG - Requesting: http://10.0.0.22:8082/domain/df5b526c-d4f8-40c5-91e4-6687bafd1fdd 2026-03-12 13:42:46,457 - DEBUG - Requesting: http://10.0.0.22:8082/project/6d7d10f5-d22e-4419-8974-ad646cb8e6ff 2026-03-12 13:42:46,529 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/eeb292f8-c640-4a09-9a1a-03534184965b 2026-03-12 13:42:46,541 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/eeb292f8-c640-4a09-9a1a-03534184965b 2026-03-12 13:42:46,549 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/573ddca5-c6c4-40f4-8a47-4ab0b317971b 2026-03-12 13:42:46,557 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/573ddca5-c6c4-40f4-8a47-4ab0b317971b 2026-03-12 13:42:46,564 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/bce35ee2-835f-47eb-8d0f-d5b9a4a79e6e 2026-03-12 13:42:46,571 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-12 13:42:46,572 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/eeb292f8-c640-4a09-9a1a-03534184965b 2026-03-12 13:42:46,581 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/573ddca5-c6c4-40f4-8a47-4ab0b317971b 2026-03-12 13:42:46,596 - INFO - Verified VN network id 11 for VN eeb292f8-c640-4a09-9a1a-03534184965b 2026-03-12 13:42:46,596 - INFO - Verifications in API Server for VN ctest-vn-31160231 passed 2026-03-12 13:42:46,596 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/eeb292f8-c640-4a09-9a1a-03534184965b 2026-03-12 13:42:46,606 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/573ddca5-c6c4-40f4-8a47-4ab0b317971b 2026-03-12 13:42:46,613 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/573ddca5-c6c4-40f4-8a47-4ab0b317971b 2026-03-12 13:42:46,619 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/bce35ee2-835f-47eb-8d0f-d5b9a4a79e6e 2026-03-12 13:42:46,632 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49714591:ctest-vn-31160231', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49714591', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17199971524056992265', 'uuid-lslong': '11104191487351756379'}, 'enable': 'true', 'created': '2026-03-12T13:42:44', 'last-modified': '2026-03-12T13:42:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.944250'} 2026-03-12 13:42:46,639 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-12 13:42:46,639 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31160231 passed 2026-03-12 13:42:46,639 - DEBUG - ====Verifying policy data for ctest-vn-31160231 in API_Server ====== 2026-03-12 13:42:46,640 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-12 13:42:46,645 - DEBUG - Requesting: http://10.0.0.22:8082/domain/df5b526c-d4f8-40c5-91e4-6687bafd1fdd 2026-03-12 13:42:46,656 - DEBUG - Requesting: http://10.0.0.22:8082/project/6d7d10f5-d22e-4419-8974-ad646cb8e6ff 2026-03-12 13:42:46,725 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/eeb292f8-c640-4a09-9a1a-03534184965b 2026-03-12 13:42:46,736 - DEBUG - ==>Verifying data for policy with id: c9a964b9-c6aa-458f-a549-d40862c8d448, fqn: ['default-domain', 'ctest-TestBasicPolicy-49714591', 'ctest-policy-allow-all-57328497'] 2026-03-12 13:42:46,736 - INFO - VN ctest-vn-31160231 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-12 13:42:46,736 - DEBUG - Verifying the vn in opserver 2026-03-12 13:42:46,736 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49714591:ctest-vn-31160231 virtual network link through opserver 10.0.0.22 2026-03-12 13:42:46,737 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-03-12 13:42:47,038 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-03-12 13:42:47,109 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49714591:ctest-vn-31160231', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49714591:ctest-vn-31160231?flat'} 2026-03-12 13:42:47,109 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49714591:ctest-vn-31160231 is found in opserver 2026-03-12 13:42:47,118 - DEBUG - Do not have enough data to verify VN in agent 2026-03-12 13:42:47,123 - DEBUG - VRF ids for VN ctest-vn-31160231: {} 2026-03-12 13:42:47,123 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-12 13:42:47,128 - DEBUG - Requesting: http://10.0.0.22:8082/domain/df5b526c-d4f8-40c5-91e4-6687bafd1fdd 2026-03-12 13:42:47,140 - DEBUG - Requesting: http://10.0.0.22:8082/project/6d7d10f5-d22e-4419-8974-ad646cb8e6ff 2026-03-12 13:42:47,206 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1f7554c2-7f32-4852-98b3-ab01022a0c27 2026-03-12 13:42:47,217 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1f7554c2-7f32-4852-98b3-ab01022a0c27 2026-03-12 13:42:47,226 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/71345850-9ee2-41b3-8e33-a038ddb40d74 2026-03-12 13:42:47,233 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/71345850-9ee2-41b3-8e33-a038ddb40d74 2026-03-12 13:42:47,240 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/751542e2-dbcc-4e19-902d-198f3a474708 2026-03-12 13:42:47,246 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-12 13:42:47,246 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1f7554c2-7f32-4852-98b3-ab01022a0c27 2026-03-12 13:42:47,255 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/71345850-9ee2-41b3-8e33-a038ddb40d74 2026-03-12 13:42:47,270 - INFO - Verified VN network id 12 for VN 1f7554c2-7f32-4852-98b3-ab01022a0c27 2026-03-12 13:42:47,270 - INFO - Verifications in API Server for VN ctest-vn-41160589 passed 2026-03-12 13:42:47,271 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1f7554c2-7f32-4852-98b3-ab01022a0c27 2026-03-12 13:42:47,279 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/71345850-9ee2-41b3-8e33-a038ddb40d74 2026-03-12 13:42:47,285 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/71345850-9ee2-41b3-8e33-a038ddb40d74 2026-03-12 13:42:47,291 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/751542e2-dbcc-4e19-902d-198f3a474708 2026-03-12 13:42:47,302 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49714591:ctest-vn-41160589', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49714591', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2266811181785303122', 'uuid-lslong': '11003326335415880743'}, 'enable': 'true', 'created': '2026-03-12T13:42:45', 'last-modified': '2026-03-12T13:42:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.374026'} 2026-03-12 13:42:47,307 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-12 13:42:47,307 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41160589 passed 2026-03-12 13:42:47,307 - DEBUG - ====Verifying policy data for ctest-vn-41160589 in API_Server ====== 2026-03-12 13:42:47,307 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-12 13:42:47,312 - DEBUG - Requesting: http://10.0.0.22:8082/domain/df5b526c-d4f8-40c5-91e4-6687bafd1fdd 2026-03-12 13:42:47,322 - DEBUG - Requesting: http://10.0.0.22:8082/project/6d7d10f5-d22e-4419-8974-ad646cb8e6ff 2026-03-12 13:42:47,393 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1f7554c2-7f32-4852-98b3-ab01022a0c27 2026-03-12 13:42:47,404 - DEBUG - ==>Verifying data for policy with id: c9a964b9-c6aa-458f-a549-d40862c8d448, fqn: ['default-domain', 'ctest-TestBasicPolicy-49714591', 'ctest-policy-allow-all-57328497'] 2026-03-12 13:42:47,404 - INFO - VN ctest-vn-41160589 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-12 13:42:47,405 - DEBUG - Verifying the vn in opserver 2026-03-12 13:42:47,405 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49714591:ctest-vn-41160589 virtual network link through opserver 10.0.0.22 2026-03-12 13:42:47,405 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-03-12 13:42:47,414 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49714591:ctest-vn-41160589', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49714591:ctest-vn-41160589?flat'} 2026-03-12 13:42:47,414 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49714591:ctest-vn-41160589 is found in opserver 2026-03-12 13:42:47,425 - DEBUG - Do not have enough data to verify VN in agent 2026-03-12 13:42:47,429 - DEBUG - VRF ids for VN ctest-vn-41160589: {} 2026-03-12 13:42:47,506 - DEBUG - Services list from nova: [, , ] 2026-03-12 13:42:48,573 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5464-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5464-1) 2026-03-12 13:42:49,797 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5464-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5464-1) 2026-03-12 13:42:49,797 - INFO - Waiting for VM ctest-TestBasicPolicy-49714591-09684680 to be up.. 2026-03-12 13:42:49,896 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-12 13:42:54,986 - DEBUG - VM is in ACTIVE state now 2026-03-12 13:42:54,987 - INFO - VM name : ctest-TestBasicPolicy-49714591-09684680 2026-03-12 13:42:55,061 - DEBUG - VM ctest-TestBasicPolicy-49714591-09684680 ID is 767e33c5-a3b3-4153-9215-671b75a2e521 2026-03-12 13:42:55,084 - DEBUG - VM ctest-TestBasicPolicy-49714591-09684680 launched on Node cn-jenkins-deploy-platform-ansible-os-5464-1 2026-03-12 13:42:55,167 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/767e33c5-a3b3-4153-9215-671b75a2e521 2026-03-12 13:42:55,175 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/05d0a3a1-f321-47af-92b5-7717197c52bc 2026-03-12 13:42:58,416 - 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 1004ms') 2026-03-12 13:42:58,416 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49714591-09684680 failed! 2026-03-12 13:42:58,471 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49714591:ctest-vn-31160231 is 175.254.181.65 and allocation pool is NOT set 2026-03-12 13:43:00,529 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=7.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.449 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.449/4.047/7.646/3.598 ms') 2026-03-12 13:43:00,529 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49714591-09684680 passed 2026-03-12 13:43:00,679 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 13:43:00,679 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49714591-09684680, IP 175.254.181.67, Port 22 2026-03-12 13:43:00,835 - DEBUG - VM ctest-TestBasicPolicy-49714591-09684680 is ready for SSH connections 2026-03-12 13:43:00,835 - INFO - Waiting for VM ctest-TestBasicPolicy-49714591-05847031 to be up.. 2026-03-12 13:43:00,919 - DEBUG - VM is in ACTIVE state now 2026-03-12 13:43:00,919 - INFO - VM name : ctest-TestBasicPolicy-49714591-05847031 2026-03-12 13:43:01,002 - DEBUG - VM ctest-TestBasicPolicy-49714591-05847031 ID is d68ba1f4-3ec3-4c0b-af2d-55f97f132748 2026-03-12 13:43:01,002 - DEBUG - VM ctest-TestBasicPolicy-49714591-05847031 launched on Node cn-jenkins-deploy-platform-ansible-os-5464-1 2026-03-12 13:43:01,082 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d68ba1f4-3ec3-4c0b-af2d-55f97f132748 2026-03-12 13:43:01,090 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e87fb7f0-33a9-4037-bf52-63e5e4235aa1 2026-03-12 13:43:02,326 - 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=3.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.01 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.009/2.310/3.612/1.301 ms') 2026-03-12 13:43:02,326 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-49714591-05847031 passed 2026-03-12 13:43:02,475 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 13:43:02,475 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49714591-05847031, IP 202.166.29.195, Port 22 2026-03-12 13:43:02,545 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-03-12 13:43:02,731 - DEBUG - VM ctest-TestBasicPolicy-49714591-05847031 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-12 13:43:07,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 13:43:07,732 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49714591-05847031, IP 202.166.29.195, Port 22 2026-03-12 13:43:07,908 - DEBUG - VM ctest-TestBasicPolicy-49714591-05847031 is ready for SSH connections 2026-03-12 13:43:07,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 13:43:07,908 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.166.29.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-03-12 13:43:07,908 - DEBUG - ping -s 56 -c 3 -W 1 202.166.29.195 2026-03-12 13:43:12,048 - DEBUG - PING 202.166.29.195 (202.166.29.195): 56 data bytes 64 bytes from 202.166.29.195: seq=0 ttl=63 time=3.717 ms 64 bytes from 202.166.29.195: seq=1 ttl=63 time=0.808 ms 64 bytes from 202.166.29.195: seq=2 ttl=63 time=0.995 ms --- 202.166.29.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.808/1.840/3.717 ms 2026-03-12 13:43:12,048 - INFO - Ping to IP 202.166.29.195 from VM ctest-TestBasicPolicy-49714591-09684680 passed 2026-03-12 13:43:12,223 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c9a964b9-c6aa-458f-a549-d40862c8d448", "href": "http://10.0.0.22:8082/network-policy/c9a964b9-c6aa-458f-a549-d40862c8d448"}} 2026-03-12 13:43:12,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 13:43:12,223 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.166.29.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-03-12 13:43:12,223 - DEBUG - ping -s 56 -c 3 -W 1 202.166.29.195 2026-03-12 13:43:15,465 - DEBUG - PING 202.166.29.195 (202.166.29.195): 56 data bytes --- 202.166.29.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-12 13:43:15,465 - WARNING - Ping to IP 202.166.29.195 from VM ctest-TestBasicPolicy-49714591-09684680 failed 2026-03-12 13:43:15,466 - INFO - Deleting VM ctest-TestBasicPolicy-49714591-05847031 2026-03-12 13:43:15,548 - INFO - Deleting VM ctest-TestBasicPolicy-49714591-09684680 2026-03-12 13:43:15,935 - INFO - Deleted policy ctest-policy-allow-all-57328497 2026-03-12 13:43:15,935 - INFO - Deleting VN ctest-vn-41160589 2026-03-12 13:43:15,976 - DEBUG - VN 1f7554c2-7f32-4852-98b3-ab01022a0c27 still in use: Unable to complete operation on network 1f7554c2-7f32-4852-98b3-ab01022a0c27. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a7744471-affc-49df-a2b0-a5a595435d39'] 2026-03-12 13:43:15,976 - WARNING - Deleting VN ctest-vn-41160589 failed..Will retry 2026-03-12 13:43:18,129 - DEBUG - Response for deleting network () 2026-03-12 13:43:18,129 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/71345850-9ee2-41b3-8e33-a038ddb40d74 2026-03-12 13:43:18,135 - DEBUG - Response Code: 404 2026-03-12 13:43:18,135 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-12 13:43:18,141 - DEBUG - Requesting: http://10.0.0.22:8082/domain/df5b526c-d4f8-40c5-91e4-6687bafd1fdd 2026-03-12 13:43:18,195 - DEBUG - Requesting: http://10.0.0.22:8082/project/6d7d10f5-d22e-4419-8974-ad646cb8e6ff 2026-03-12 13:43:18,265 - INFO - Validated that VN ctest-vn-41160589 is not found in API Server 2026-03-12 13:43:18,275 - DEBUG - VN ctest-vn-41160589 is not present in Agent 10.0.0.22 2026-03-12 13:43:18,275 - INFO - Validated that VN ctest-vn-41160589 is not in any agent 2026-03-12 13:43:18,290 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41160589 info 2026-03-12 13:43:18,290 - INFO - Deleting VN ctest-vn-31160231 2026-03-12 13:43:18,387 - DEBUG - Response for deleting network () 2026-03-12 13:43:18,387 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/573ddca5-c6c4-40f4-8a47-4ab0b317971b 2026-03-12 13:43:18,395 - DEBUG - Response Code: 404 2026-03-12 13:43:18,395 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-12 13:43:18,400 - DEBUG - Requesting: http://10.0.0.22:8082/domain/df5b526c-d4f8-40c5-91e4-6687bafd1fdd 2026-03-12 13:43:18,452 - DEBUG - Requesting: http://10.0.0.22:8082/project/6d7d10f5-d22e-4419-8974-ad646cb8e6ff 2026-03-12 13:43:18,526 - INFO - Validated that VN ctest-vn-31160231 is not found in API Server 2026-03-12 13:43:18,536 - DEBUG - VN ctest-vn-31160231 is not present in Agent 10.0.0.22 2026-03-12 13:43:18,536 - INFO - Validated that VN ctest-vn-31160231 is not in any agent 2026-03-12 13:43:18,551 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31160231 info 2026-03-12 13:43:18,807 - DEBUG - No XMPP flaps were noticed during the test
2026-03-12 13:43:18,808 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-03-12 13:43:18,808 - INFO - -------------------------------------------------------------------------------- 2026-03-12 13:43:19,497 - INFO - Deleted project: ctest-TestBasicPolicy-49714591, ID : 6d7d10f5-d22e-4419-8974-ad646cb8e6ff