2026-04-30 00:52:02,107 - INFO - Domain Default found not creating 2026-04-30 00:52:02,385 - INFO - Project ctest-TestBasicPolicy-65512577 not found, creating it 2026-04-30 00:52:02,920 - INFO - Created Project:ctest-TestBasicPolicy-65512577, ID : f33736c6-7f4b-42cf-a656-8d3fd81fbda5 2026-04-30 00:52:04,554 - INFO - ================================================================================ 2026-04-30 00:52:04,554 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-30 00:52:04,554 - 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-04-30 00:52:04,815 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2026-04-30 00:52:04,815 - INFO - Initial checks done. Running the testcase now 2026-04-30 00:52:04,816 - INFO - 2026-04-30 00:52:05,454 - DEBUG - Response for create_network : {'network': {'id': '843f267d-0a36-4f45-aa9c-295a88912018', 'name': 'ctest-vn-84157408', 'tenant_id': 'f33736c67f4b42cfa6568d3fd81fbda5', 'project_id': 'f33736c67f4b42cfa6568d3fd81fbda5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65512577', 'ctest-vn-84157408'], 'port_security_enabled': True, 'description': ''}} 2026-04-30 00:52:05,619 - DEBUG - Response for create_subnet : {'subnet': {'id': '80ad1b51-8732-4add-94a9-847d4b3b003b', 'name': '', 'tenant_id': 'f33736c67f4b42cfa6568d3fd81fbda5', 'network_id': '843f267d-0a36-4f45-aa9c-295a88912018', 'ip_version': 4, 'cidr': '160.23.99.64/26', 'allocation_pools': [{'start': '160.23.99.66', 'end': '160.23.99.126'}], 'gateway_ip': '160.23.99.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.23.99.66', 'tags': [], 'project_id': 'f33736c67f4b42cfa6568d3fd81fbda5'}} 2026-04-30 00:52:05,642 - INFO - Created VN ctest-vn-84157408 2026-04-30 00:52:05,697 - DEBUG - VN ctest-vn-84157408 UUID is 843f267d-0a36-4f45-aa9c-295a88912018 2026-04-30 00:52:06,011 - DEBUG - Response for create_network : {'network': {'id': '5b283bc7-dd1c-49aa-8570-d4b918cd3c8c', 'name': 'ctest-vn-83512285', 'tenant_id': 'f33736c67f4b42cfa6568d3fd81fbda5', 'project_id': 'f33736c67f4b42cfa6568d3fd81fbda5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65512577', 'ctest-vn-83512285'], 'port_security_enabled': True, 'description': ''}} 2026-04-30 00:52:06,174 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b89b761-a743-41d7-8827-1c91d8bbc4d5', 'name': '', 'tenant_id': 'f33736c67f4b42cfa6568d3fd81fbda5', 'network_id': '5b283bc7-dd1c-49aa-8570-d4b918cd3c8c', 'ip_version': 4, 'cidr': '23.142.159.64/26', 'allocation_pools': [{'start': '23.142.159.66', 'end': '23.142.159.126'}], 'gateway_ip': '23.142.159.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.142.159.66', 'tags': [], 'project_id': 'f33736c67f4b42cfa6568d3fd81fbda5'}} 2026-04-30 00:52:06,198 - INFO - Created VN ctest-vn-83512285 2026-04-30 00:52:06,252 - DEBUG - VN ctest-vn-83512285 UUID is 5b283bc7-dd1c-49aa-8570-d4b918cd3c8c 2026-04-30 00:52:06,389 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65512577:ctest-vn-84157408, 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-65512577:ctest-vn-83512285, 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-04-30 00:52:06,708 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '843f267d-0a36-4f45-aa9c-295a88912018', 'name': 'ctest-vn-84157408', 'tenant_id': 'f33736c67f4b42cfa6568d3fd81fbda5', 'project_id': 'f33736c67f4b42cfa6568d3fd81fbda5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['80ad1b51-8732-4add-94a9-847d4b3b003b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65512577', 'ctest-vn-84157408'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65512577', 'ctest-policy-allow-all-73054230']], 'subnet_ipam': [{'subnet_cidr': '160.23.99.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-30 00:52:06,962 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5b283bc7-dd1c-49aa-8570-d4b918cd3c8c', 'name': 'ctest-vn-83512285', 'tenant_id': 'f33736c67f4b42cfa6568d3fd81fbda5', 'project_id': 'f33736c67f4b42cfa6568d3fd81fbda5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1b89b761-a743-41d7-8827-1c91d8bbc4d5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65512577', 'ctest-vn-83512285'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65512577', 'ctest-policy-allow-all-73054230']], 'subnet_ipam': [{'subnet_cidr': '23.142.159.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-30 00:52:07,133 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-04-30 00:52:07,433 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-04-30 00:52:07,469 - DEBUG - Requesting: http://10.0.0.130:8082/domain/9c531511-fe8c-4248-8b8c-a05bf70a3f10 2026-04-30 00:52:07,483 - DEBUG - Requesting: http://10.0.0.130:8082/project/f33736c6-7f4b-42cf-a656-8d3fd81fbda5 2026-04-30 00:52:07,560 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/843f267d-0a36-4f45-aa9c-295a88912018 2026-04-30 00:52:07,574 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/843f267d-0a36-4f45-aa9c-295a88912018 2026-04-30 00:52:07,586 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ed22db24-ed75-403e-8435-4ed71262581e 2026-04-30 00:52:07,595 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ed22db24-ed75-403e-8435-4ed71262581e 2026-04-30 00:52:07,603 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/90bb033b-edf2-4ed0-8ce6-d61f112e4ee6 2026-04-30 00:52:07,611 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-30 00:52:07,611 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/843f267d-0a36-4f45-aa9c-295a88912018 2026-04-30 00:52:07,622 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ed22db24-ed75-403e-8435-4ed71262581e 2026-04-30 00:52:07,639 - INFO - Verified VN network id 11 for VN 843f267d-0a36-4f45-aa9c-295a88912018 2026-04-30 00:52:07,639 - INFO - Verifications in API Server for VN ctest-vn-84157408 passed 2026-04-30 00:52:07,639 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/843f267d-0a36-4f45-aa9c-295a88912018 2026-04-30 00:52:07,649 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ed22db24-ed75-403e-8435-4ed71262581e 2026-04-30 00:52:07,658 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ed22db24-ed75-403e-8435-4ed71262581e 2026-04-30 00:52:07,667 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/90bb033b-edf2-4ed0-8ce6-d61f112e4ee6 2026-04-30 00:52:07,681 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65512577:ctest-vn-84157408', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65512577', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9529377655023357765', 'uuid-lslong': '12293746551629619224'}, 'enable': 'true', 'created': '2026-04-30T00:52:05', 'last-modified': '2026-04-30T00:52:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.995155'} 2026-04-30 00:52:07,688 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-30 00:52:07,689 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84157408 passed 2026-04-30 00:52:07,689 - DEBUG - ====Verifying policy data for ctest-vn-84157408 in API_Server ====== 2026-04-30 00:52:07,689 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-04-30 00:52:07,696 - DEBUG - Requesting: http://10.0.0.130:8082/domain/9c531511-fe8c-4248-8b8c-a05bf70a3f10 2026-04-30 00:52:07,710 - DEBUG - Requesting: http://10.0.0.130:8082/project/f33736c6-7f4b-42cf-a656-8d3fd81fbda5 2026-04-30 00:52:07,787 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/843f267d-0a36-4f45-aa9c-295a88912018 2026-04-30 00:52:07,797 - DEBUG - ==>Verifying data for policy with id: e57b978d-86f5-44fe-ac69-e43d23140c83, fqn: ['default-domain', 'ctest-TestBasicPolicy-65512577', 'ctest-policy-allow-all-73054230'] 2026-04-30 00:52:07,797 - INFO - VN ctest-vn-84157408 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-30 00:52:07,798 - DEBUG - Verifying the vn in opserver 2026-04-30 00:52:07,798 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65512577:ctest-vn-84157408 virtual network link through opserver 10.0.0.130 2026-04-30 00:52:07,798 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-04-30 00:52:08,100 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-04-30 00:52:08,180 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65512577:ctest-vn-84157408', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65512577:ctest-vn-84157408?flat'} 2026-04-30 00:52:08,180 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65512577:ctest-vn-84157408 is found in opserver 2026-04-30 00:52:08,190 - DEBUG - Do not have enough data to verify VN in agent 2026-04-30 00:52:08,195 - DEBUG - VRF ids for VN ctest-vn-84157408: {} 2026-04-30 00:52:08,195 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-04-30 00:52:08,202 - DEBUG - Requesting: http://10.0.0.130:8082/domain/9c531511-fe8c-4248-8b8c-a05bf70a3f10 2026-04-30 00:52:08,214 - DEBUG - Requesting: http://10.0.0.130:8082/project/f33736c6-7f4b-42cf-a656-8d3fd81fbda5 2026-04-30 00:52:08,285 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5b283bc7-dd1c-49aa-8570-d4b918cd3c8c 2026-04-30 00:52:08,297 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5b283bc7-dd1c-49aa-8570-d4b918cd3c8c 2026-04-30 00:52:08,307 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e097ca5a-88f0-4672-9902-ef6b9420a3cb 2026-04-30 00:52:08,315 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e097ca5a-88f0-4672-9902-ef6b9420a3cb 2026-04-30 00:52:08,322 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/8dba9f52-24ca-4c8e-8f5a-cc5708d20c5a 2026-04-30 00:52:08,330 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-30 00:52:08,330 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5b283bc7-dd1c-49aa-8570-d4b918cd3c8c 2026-04-30 00:52:08,341 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e097ca5a-88f0-4672-9902-ef6b9420a3cb 2026-04-30 00:52:08,356 - INFO - Verified VN network id 12 for VN 5b283bc7-dd1c-49aa-8570-d4b918cd3c8c 2026-04-30 00:52:08,356 - INFO - Verifications in API Server for VN ctest-vn-83512285 passed 2026-04-30 00:52:08,356 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5b283bc7-dd1c-49aa-8570-d4b918cd3c8c 2026-04-30 00:52:08,365 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e097ca5a-88f0-4672-9902-ef6b9420a3cb 2026-04-30 00:52:08,373 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e097ca5a-88f0-4672-9902-ef6b9420a3cb 2026-04-30 00:52:08,381 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/8dba9f52-24ca-4c8e-8f5a-cc5708d20c5a 2026-04-30 00:52:08,395 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65512577:ctest-vn-83512285', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65512577', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6568565786114017706', 'uuid-lslong': '9615419095886150796'}, 'enable': 'true', 'created': '2026-04-30T00:52:05', 'last-modified': '2026-04-30T00:52:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.464000'} 2026-04-30 00:52:08,401 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-30 00:52:08,401 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83512285 passed 2026-04-30 00:52:08,401 - DEBUG - ====Verifying policy data for ctest-vn-83512285 in API_Server ====== 2026-04-30 00:52:08,401 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-04-30 00:52:08,408 - DEBUG - Requesting: http://10.0.0.130:8082/domain/9c531511-fe8c-4248-8b8c-a05bf70a3f10 2026-04-30 00:52:08,419 - DEBUG - Requesting: http://10.0.0.130:8082/project/f33736c6-7f4b-42cf-a656-8d3fd81fbda5 2026-04-30 00:52:08,496 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5b283bc7-dd1c-49aa-8570-d4b918cd3c8c 2026-04-30 00:52:08,506 - DEBUG - ==>Verifying data for policy with id: e57b978d-86f5-44fe-ac69-e43d23140c83, fqn: ['default-domain', 'ctest-TestBasicPolicy-65512577', 'ctest-policy-allow-all-73054230'] 2026-04-30 00:52:08,506 - INFO - VN ctest-vn-83512285 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-30 00:52:08,506 - DEBUG - Verifying the vn in opserver 2026-04-30 00:52:08,506 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65512577:ctest-vn-83512285 virtual network link through opserver 10.0.0.130 2026-04-30 00:52:08,506 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-04-30 00:52:08,519 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65512577:ctest-vn-83512285', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65512577:ctest-vn-83512285?flat'} 2026-04-30 00:52:08,519 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65512577:ctest-vn-83512285 is found in opserver 2026-04-30 00:52:08,529 - DEBUG - Do not have enough data to verify VN in agent 2026-04-30 00:52:08,534 - DEBUG - VRF ids for VN ctest-vn-83512285: {} 2026-04-30 00:52:08,619 - DEBUG - Services list from nova: [, , ] 2026-04-30 00:52:09,751 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5720-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5720-1) 2026-04-30 00:52:10,990 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5720-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5720-1) 2026-04-30 00:52:10,990 - INFO - Waiting for VM ctest-TestBasicPolicy-65512577-93302076 to be up.. 2026-04-30 00:52:11,085 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-30 00:52:16,177 - DEBUG - VM is in ACTIVE state now 2026-04-30 00:52:16,177 - INFO - VM name : ctest-TestBasicPolicy-65512577-93302076 2026-04-30 00:52:16,289 - DEBUG - VM ctest-TestBasicPolicy-65512577-93302076 ID is 4396f9e6-a1ea-485a-b681-a6a7fd503152 2026-04-30 00:52:16,327 - DEBUG - VM ctest-TestBasicPolicy-65512577-93302076 launched on Node cn-jenkins-deploy-platform-ansible-os-5720-1 2026-04-30 00:52:16,445 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/4396f9e6-a1ea-485a-b681-a6a7fd503152 2026-04-30 00:52:16,455 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/e896a46c-67cc-4f60-97d1-5ddc7dc66c45 2026-04-30 00:52:19,720 - 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 1013ms') 2026-04-30 00:52:19,720 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65512577-93302076 failed! 2026-04-30 00:52:19,777 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65512577:ctest-vn-84157408 is 160.23.99.65 and allocation pool is NOT set 2026-04-30 00:52:21,838 - 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=8.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.506 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.506/4.676/8.846/4.170 ms') 2026-04-30 00:52:21,839 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65512577-93302076 passed 2026-04-30 00:52:22,000 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 00:52:22,001 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65512577-93302076, IP 160.23.99.67, Port 22 2026-04-30 00:52:22,160 - DEBUG - VM ctest-TestBasicPolicy-65512577-93302076 is ready for SSH connections 2026-04-30 00:52:22,160 - INFO - Waiting for VM ctest-TestBasicPolicy-65512577-91051798 to be up.. 2026-04-30 00:52:22,256 - DEBUG - VM is in ACTIVE state now 2026-04-30 00:52:22,256 - INFO - VM name : ctest-TestBasicPolicy-65512577-91051798 2026-04-30 00:52:22,464 - DEBUG - VM ctest-TestBasicPolicy-65512577-91051798 ID is 47d5a520-7ea2-4fd3-bff0-6db296b0642f 2026-04-30 00:52:22,464 - DEBUG - VM ctest-TestBasicPolicy-65512577-91051798 launched on Node cn-jenkins-deploy-platform-ansible-os-5720-1 2026-04-30 00:52:22,548 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/47d5a520-7ea2-4fd3-bff0-6db296b0642f 2026-04-30 00:52:22,556 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/dc1b0e07-a853-4ffe-9fae-a09ae80b8d83 2026-04-30 00:52:23,800 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.66 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 = 2.661/2.903/3.145/0.242 ms') 2026-04-30 00:52:23,800 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-65512577-91051798 passed 2026-04-30 00:52:23,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 00:52:23,953 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65512577-91051798, IP 23.142.159.67, Port 22 2026-04-30 00:52:24,019 - 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-04-30 00:52:24,132 - DEBUG - VM ctest-TestBasicPolicy-65512577-91051798 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-30 00:52:29,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 00:52:29,132 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65512577-91051798, IP 23.142.159.67, Port 22 2026-04-30 00:52:29,288 - DEBUG - VM ctest-TestBasicPolicy-65512577-91051798 is ready for SSH connections 2026-04-30 00:52:29,288 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 00:52:29,288 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.142.159.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-04-30 00:52:29,288 - DEBUG - ping -s 56 -c 3 -W 1 23.142.159.67 2026-04-30 00:52:33,403 - DEBUG - PING 23.142.159.67 (23.142.159.67): 56 data bytes 64 bytes from 23.142.159.67: seq=0 ttl=63 time=4.960 ms 64 bytes from 23.142.159.67: seq=1 ttl=63 time=1.001 ms 64 bytes from 23.142.159.67: seq=2 ttl=63 time=1.100 ms --- 23.142.159.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.001/2.353/4.960 ms 2026-04-30 00:52:33,403 - INFO - Ping to IP 23.142.159.67 from VM ctest-TestBasicPolicy-65512577-93302076 passed 2026-04-30 00:52:33,584 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e57b978d-86f5-44fe-ac69-e43d23140c83", "href": "http://10.0.0.130:8082/network-policy/e57b978d-86f5-44fe-ac69-e43d23140c83"}} 2026-04-30 00:52:33,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 00:52:33,584 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.142.159.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-04-30 00:52:33,585 - DEBUG - ping -s 56 -c 3 -W 1 23.142.159.67 2026-04-30 00:52:36,801 - DEBUG - PING 23.142.159.67 (23.142.159.67): 56 data bytes --- 23.142.159.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-30 00:52:36,801 - WARNING - Ping to IP 23.142.159.67 from VM ctest-TestBasicPolicy-65512577-93302076 failed 2026-04-30 00:52:36,801 - INFO - Deleting VM ctest-TestBasicPolicy-65512577-91051798 2026-04-30 00:52:36,886 - INFO - Deleting VM ctest-TestBasicPolicy-65512577-93302076 2026-04-30 00:52:37,331 - INFO - Deleted policy ctest-policy-allow-all-73054230 2026-04-30 00:52:37,331 - INFO - Deleting VN ctest-vn-83512285 2026-04-30 00:52:37,372 - DEBUG - VN 5b283bc7-dd1c-49aa-8570-d4b918cd3c8c still in use: Unable to complete operation on network 5b283bc7-dd1c-49aa-8570-d4b918cd3c8c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fe358352-378c-4e06-883c-9f53292915ab'] 2026-04-30 00:52:37,372 - WARNING - Deleting VN ctest-vn-83512285 failed..Will retry 2026-04-30 00:52:39,493 - DEBUG - Response for deleting network () 2026-04-30 00:52:39,493 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e097ca5a-88f0-4672-9902-ef6b9420a3cb 2026-04-30 00:52:39,501 - DEBUG - Response Code: 404 2026-04-30 00:52:39,501 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-04-30 00:52:39,507 - DEBUG - Requesting: http://10.0.0.130:8082/domain/9c531511-fe8c-4248-8b8c-a05bf70a3f10 2026-04-30 00:52:39,564 - DEBUG - Requesting: http://10.0.0.130:8082/project/f33736c6-7f4b-42cf-a656-8d3fd81fbda5 2026-04-30 00:52:39,638 - INFO - Validated that VN ctest-vn-83512285 is not found in API Server 2026-04-30 00:52:39,649 - DEBUG - VN ctest-vn-83512285 is not present in Agent 10.0.0.130 2026-04-30 00:52:39,649 - INFO - Validated that VN ctest-vn-83512285 is not in any agent 2026-04-30 00:52:39,665 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83512285 info 2026-04-30 00:52:39,665 - INFO - Deleting VN ctest-vn-84157408 2026-04-30 00:52:39,777 - DEBUG - Response for deleting network () 2026-04-30 00:52:39,777 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ed22db24-ed75-403e-8435-4ed71262581e 2026-04-30 00:52:39,783 - DEBUG - Response Code: 404 2026-04-30 00:52:39,783 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-04-30 00:52:39,791 - DEBUG - Requesting: http://10.0.0.130:8082/domain/9c531511-fe8c-4248-8b8c-a05bf70a3f10 2026-04-30 00:52:39,850 - DEBUG - Requesting: http://10.0.0.130:8082/project/f33736c6-7f4b-42cf-a656-8d3fd81fbda5 2026-04-30 00:52:39,926 - INFO - Validated that VN ctest-vn-84157408 is not found in API Server 2026-04-30 00:52:39,936 - DEBUG - VN ctest-vn-84157408 is not present in Agent 10.0.0.130 2026-04-30 00:52:39,936 - INFO - Validated that VN ctest-vn-84157408 is not in any agent 2026-04-30 00:52:39,950 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84157408 info 2026-04-30 00:52:40,207 - DEBUG - No XMPP flaps were noticed during the test
2026-04-30 00:52:40,207 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-04-30 00:52:40,207 - INFO - -------------------------------------------------------------------------------- 2026-04-30 00:52:40,953 - INFO - Deleted project: ctest-TestBasicPolicy-65512577, ID : f33736c6-7f4b-42cf-a656-8d3fd81fbda5