2026-03-24 08:45:04,380 - INFO - Domain Default found not creating 2026-03-24 08:45:04,569 - INFO - Project ctest-TestBasicPolicy-01303179 not found, creating it 2026-03-24 08:45:05,089 - INFO - Created Project:ctest-TestBasicPolicy-01303179, ID : 84ae3369-931b-4d0c-ad0c-9f80b18e89fc 2026-03-24 08:45:06,872 - INFO - ================================================================================ 2026-03-24 08:45:06,872 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-24 08:45:06,872 - 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-24 08:45:07,138 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-03-24 08:45:07,138 - INFO - Initial checks done. Running the testcase now 2026-03-24 08:45:07,138 - INFO - 2026-03-24 08:45:07,755 - DEBUG - Response for create_network : {'network': {'id': '4b2c4258-7a48-4c6b-b938-0c9d733b5cbe', 'name': 'ctest-vn-56995588', 'tenant_id': '84ae3369931b4d0cad0c9f80b18e89fc', 'project_id': '84ae3369931b4d0cad0c9f80b18e89fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01303179', 'ctest-vn-56995588'], 'port_security_enabled': True, 'description': ''}} 2026-03-24 08:45:08,011 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef5b7a06-54ca-44bd-8c74-8032ac0991bb', 'name': '', 'tenant_id': '84ae3369931b4d0cad0c9f80b18e89fc', 'network_id': '4b2c4258-7a48-4c6b-b938-0c9d733b5cbe', 'ip_version': 4, 'cidr': '96.74.115.192/26', 'allocation_pools': [{'start': '96.74.115.194', 'end': '96.74.115.254'}], 'gateway_ip': '96.74.115.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.74.115.194', 'tags': [], 'project_id': '84ae3369931b4d0cad0c9f80b18e89fc'}} 2026-03-24 08:45:08,032 - INFO - Created VN ctest-vn-56995588 2026-03-24 08:45:08,084 - DEBUG - VN ctest-vn-56995588 UUID is 4b2c4258-7a48-4c6b-b938-0c9d733b5cbe 2026-03-24 08:45:08,409 - DEBUG - Response for create_network : {'network': {'id': 'befa580a-7da9-4b91-9004-39e175d25736', 'name': 'ctest-vn-52023218', 'tenant_id': '84ae3369931b4d0cad0c9f80b18e89fc', 'project_id': '84ae3369931b4d0cad0c9f80b18e89fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01303179', 'ctest-vn-52023218'], 'port_security_enabled': True, 'description': ''}} 2026-03-24 08:45:08,586 - DEBUG - Response for create_subnet : {'subnet': {'id': '898aaa31-bf00-4e09-81af-e43053c57948', 'name': '', 'tenant_id': '84ae3369931b4d0cad0c9f80b18e89fc', 'network_id': 'befa580a-7da9-4b91-9004-39e175d25736', 'ip_version': 4, 'cidr': '140.182.37.128/26', 'allocation_pools': [{'start': '140.182.37.130', 'end': '140.182.37.190'}], 'gateway_ip': '140.182.37.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.182.37.130', 'tags': [], 'project_id': '84ae3369931b4d0cad0c9f80b18e89fc'}} 2026-03-24 08:45:08,605 - INFO - Created VN ctest-vn-52023218 2026-03-24 08:45:08,664 - DEBUG - VN ctest-vn-52023218 UUID is befa580a-7da9-4b91-9004-39e175d25736 2026-03-24 08:45:08,783 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-01303179:ctest-vn-56995588, 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-01303179:ctest-vn-52023218, 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-24 08:45:09,120 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4b2c4258-7a48-4c6b-b938-0c9d733b5cbe', 'name': 'ctest-vn-56995588', 'tenant_id': '84ae3369931b4d0cad0c9f80b18e89fc', 'project_id': '84ae3369931b4d0cad0c9f80b18e89fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ef5b7a06-54ca-44bd-8c74-8032ac0991bb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01303179', 'ctest-vn-56995588'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01303179', 'ctest-policy-allow-all-11459782']], 'subnet_ipam': [{'subnet_cidr': '96.74.115.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-24 08:45:09,352 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'befa580a-7da9-4b91-9004-39e175d25736', 'name': 'ctest-vn-52023218', 'tenant_id': '84ae3369931b4d0cad0c9f80b18e89fc', 'project_id': '84ae3369931b4d0cad0c9f80b18e89fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['898aaa31-bf00-4e09-81af-e43053c57948'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01303179', 'ctest-vn-52023218'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01303179', 'ctest-policy-allow-all-11459782']], 'subnet_ipam': [{'subnet_cidr': '140.182.37.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-24 08:45:09,520 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-24 08:45:09,852 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-24 08:45:09,883 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1088446a-f7aa-449c-a847-8424b8763d3b 2026-03-24 08:45:09,898 - DEBUG - Requesting: http://10.0.0.50:8082/project/84ae3369-931b-4d0c-ad0c-9f80b18e89fc 2026-03-24 08:45:09,972 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4b2c4258-7a48-4c6b-b938-0c9d733b5cbe 2026-03-24 08:45:09,986 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4b2c4258-7a48-4c6b-b938-0c9d733b5cbe 2026-03-24 08:45:09,998 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c6b89bc8-cb54-4054-bb81-5347e580fc2c 2026-03-24 08:45:10,007 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c6b89bc8-cb54-4054-bb81-5347e580fc2c 2026-03-24 08:45:10,017 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/7450a189-3c96-4b3e-98e1-f81893ff4a49 2026-03-24 08:45:10,027 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-24 08:45:10,027 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4b2c4258-7a48-4c6b-b938-0c9d733b5cbe 2026-03-24 08:45:10,040 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c6b89bc8-cb54-4054-bb81-5347e580fc2c 2026-03-24 08:45:10,059 - INFO - Verified VN network id 11 for VN 4b2c4258-7a48-4c6b-b938-0c9d733b5cbe 2026-03-24 08:45:10,059 - INFO - Verifications in API Server for VN ctest-vn-56995588 passed 2026-03-24 08:45:10,059 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4b2c4258-7a48-4c6b-b938-0c9d733b5cbe 2026-03-24 08:45:10,072 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c6b89bc8-cb54-4054-bb81-5347e580fc2c 2026-03-24 08:45:10,082 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c6b89bc8-cb54-4054-bb81-5347e580fc2c 2026-03-24 08:45:10,091 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/7450a189-3c96-4b3e-98e1-f81893ff4a49 2026-03-24 08:45:10,104 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01303179:ctest-vn-56995588', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01303179', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5416777399595977835', 'uuid-lslong': '13346431366095133886'}, 'enable': 'true', 'created': '2026-03-24T08:45:07', 'last-modified': '2026-03-24T08:45:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.021062'} 2026-03-24 08:45:10,111 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-24 08:45:10,112 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56995588 passed 2026-03-24 08:45:10,112 - DEBUG - ====Verifying policy data for ctest-vn-56995588 in API_Server ====== 2026-03-24 08:45:10,112 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-24 08:45:10,120 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1088446a-f7aa-449c-a847-8424b8763d3b 2026-03-24 08:45:10,135 - DEBUG - Requesting: http://10.0.0.50:8082/project/84ae3369-931b-4d0c-ad0c-9f80b18e89fc 2026-03-24 08:45:10,209 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4b2c4258-7a48-4c6b-b938-0c9d733b5cbe 2026-03-24 08:45:10,220 - DEBUG - ==>Verifying data for policy with id: 4fecc284-dcd1-4679-8609-ec67d918ec42, fqn: ['default-domain', 'ctest-TestBasicPolicy-01303179', 'ctest-policy-allow-all-11459782'] 2026-03-24 08:45:10,220 - INFO - VN ctest-vn-56995588 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-24 08:45:10,220 - DEBUG - Verifying the vn in opserver 2026-03-24 08:45:10,220 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01303179:ctest-vn-56995588 virtual network link through opserver 10.0.0.50 2026-03-24 08:45:10,220 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-24 08:45:10,547 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-24 08:45:10,608 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01303179:ctest-vn-56995588', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01303179:ctest-vn-56995588?flat'} 2026-03-24 08:45:10,608 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01303179:ctest-vn-56995588 is found in opserver 2026-03-24 08:45:10,620 - DEBUG - Do not have enough data to verify VN in agent 2026-03-24 08:45:10,628 - DEBUG - VRF ids for VN ctest-vn-56995588: {} 2026-03-24 08:45:10,628 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-24 08:45:10,634 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1088446a-f7aa-449c-a847-8424b8763d3b 2026-03-24 08:45:10,647 - DEBUG - Requesting: http://10.0.0.50:8082/project/84ae3369-931b-4d0c-ad0c-9f80b18e89fc 2026-03-24 08:45:10,728 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/befa580a-7da9-4b91-9004-39e175d25736 2026-03-24 08:45:10,743 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/befa580a-7da9-4b91-9004-39e175d25736 2026-03-24 08:45:10,755 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2f7026b8-8cef-4a9c-9b9c-99bb73c54956 2026-03-24 08:45:10,765 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2f7026b8-8cef-4a9c-9b9c-99bb73c54956 2026-03-24 08:45:10,773 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1310d2bc-0b4d-41d5-981d-369316d9a323 2026-03-24 08:45:10,781 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-24 08:45:10,781 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/befa580a-7da9-4b91-9004-39e175d25736 2026-03-24 08:45:10,791 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2f7026b8-8cef-4a9c-9b9c-99bb73c54956 2026-03-24 08:45:10,806 - INFO - Verified VN network id 12 for VN befa580a-7da9-4b91-9004-39e175d25736 2026-03-24 08:45:10,806 - INFO - Verifications in API Server for VN ctest-vn-52023218 passed 2026-03-24 08:45:10,806 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/befa580a-7da9-4b91-9004-39e175d25736 2026-03-24 08:45:10,817 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2f7026b8-8cef-4a9c-9b9c-99bb73c54956 2026-03-24 08:45:10,826 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2f7026b8-8cef-4a9c-9b9c-99bb73c54956 2026-03-24 08:45:10,834 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1310d2bc-0b4d-41d5-981d-369316d9a323 2026-03-24 08:45:10,846 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01303179:ctest-vn-52023218', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01303179', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13761408413465136017', 'uuid-lslong': '10377483081875609398'}, 'enable': 'true', 'created': '2026-03-24T08:45:08', 'last-modified': '2026-03-24T08:45:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.518658'} 2026-03-24 08:45:10,853 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-24 08:45:10,853 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52023218 passed 2026-03-24 08:45:10,853 - DEBUG - ====Verifying policy data for ctest-vn-52023218 in API_Server ====== 2026-03-24 08:45:10,853 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-24 08:45:10,860 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1088446a-f7aa-449c-a847-8424b8763d3b 2026-03-24 08:45:10,873 - DEBUG - Requesting: http://10.0.0.50:8082/project/84ae3369-931b-4d0c-ad0c-9f80b18e89fc 2026-03-24 08:45:10,946 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/befa580a-7da9-4b91-9004-39e175d25736 2026-03-24 08:45:10,957 - DEBUG - ==>Verifying data for policy with id: 4fecc284-dcd1-4679-8609-ec67d918ec42, fqn: ['default-domain', 'ctest-TestBasicPolicy-01303179', 'ctest-policy-allow-all-11459782'] 2026-03-24 08:45:10,957 - INFO - VN ctest-vn-52023218 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-24 08:45:10,957 - DEBUG - Verifying the vn in opserver 2026-03-24 08:45:10,957 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01303179:ctest-vn-52023218 virtual network link through opserver 10.0.0.50 2026-03-24 08:45:10,957 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-24 08:45:10,969 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01303179:ctest-vn-52023218', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01303179:ctest-vn-52023218?flat'} 2026-03-24 08:45:10,969 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01303179:ctest-vn-52023218 is found in opserver 2026-03-24 08:45:10,980 - DEBUG - Do not have enough data to verify VN in agent 2026-03-24 08:45:10,986 - DEBUG - VRF ids for VN ctest-vn-52023218: {} 2026-03-24 08:45:11,058 - DEBUG - Services list from nova: [, , ] 2026-03-24 08:45:12,208 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5525-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5525-1) 2026-03-24 08:45:13,499 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5525-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5525-1) 2026-03-24 08:45:13,499 - INFO - Waiting for VM ctest-TestBasicPolicy-01303179-57927359 to be up.. 2026-03-24 08:45:13,573 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-24 08:45:18,655 - DEBUG - VM is in ACTIVE state now 2026-03-24 08:45:18,655 - INFO - VM name : ctest-TestBasicPolicy-01303179-57927359 2026-03-24 08:45:18,741 - DEBUG - VM ctest-TestBasicPolicy-01303179-57927359 ID is 5d46cc53-1486-47f6-80e3-357476bd848b 2026-03-24 08:45:18,771 - DEBUG - VM ctest-TestBasicPolicy-01303179-57927359 launched on Node cn-jenkins-deploy-platform-ansible-os-5525-1 2026-03-24 08:45:18,873 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5d46cc53-1486-47f6-80e3-357476bd848b 2026-03-24 08:45:18,882 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/26c20fbb-dbd0-4db4-b3c5-9849acfabf3a 2026-03-24 08:45:22,156 - 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 1025ms') 2026-03-24 08:45:22,156 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-01303179-57927359 failed! 2026-03-24 08:45:22,212 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-01303179:ctest-vn-56995588 is 96.74.115.193 and allocation pool is NOT set 2026-03-24 08:45:24,275 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.410 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.410/2.168/3.926/1.758 ms') 2026-03-24 08:45:24,275 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-01303179-57927359 passed 2026-03-24 08:45:24,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 08:45:24,424 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01303179-57927359, IP 96.74.115.195, Port 22 2026-03-24 08:45:24,583 - DEBUG - VM ctest-TestBasicPolicy-01303179-57927359 is ready for SSH connections 2026-03-24 08:45:24,583 - INFO - Waiting for VM ctest-TestBasicPolicy-01303179-80702311 to be up.. 2026-03-24 08:45:24,663 - DEBUG - VM is in ACTIVE state now 2026-03-24 08:45:24,664 - INFO - VM name : ctest-TestBasicPolicy-01303179-80702311 2026-03-24 08:45:24,755 - DEBUG - VM ctest-TestBasicPolicy-01303179-80702311 ID is 4a2ed3f0-77c4-46e2-b302-0726e40804f8 2026-03-24 08:45:24,755 - DEBUG - VM ctest-TestBasicPolicy-01303179-80702311 launched on Node cn-jenkins-deploy-platform-ansible-os-5525-1 2026-03-24 08:45:24,835 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4a2ed3f0-77c4-46e2-b302-0726e40804f8 2026-03-24 08:45:24,846 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e37820d6-88ab-4b8a-a719-8f4d3ced4540 2026-03-24 08:45:26,078 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.553 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.553/1.888/3.223/1.335 ms') 2026-03-24 08:45:26,078 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-01303179-80702311 passed 2026-03-24 08:45:26,228 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 08:45:26,228 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01303179-80702311, IP 140.182.37.131, Port 22 2026-03-24 08:45:26,383 - DEBUG - VM ctest-TestBasicPolicy-01303179-80702311 is ready for SSH connections 2026-03-24 08:45:26,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 08:45:26,383 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.182.37.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-24 08:45:26,383 - DEBUG - ping -s 56 -c 3 -W 1 140.182.37.131 2026-03-24 08:45:30,379 - DEBUG - PING 140.182.37.131 (140.182.37.131): 56 data bytes 64 bytes from 140.182.37.131: seq=0 ttl=63 time=3.854 ms 64 bytes from 140.182.37.131: seq=1 ttl=63 time=0.892 ms 64 bytes from 140.182.37.131: seq=2 ttl=63 time=1.090 ms --- 140.182.37.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.892/1.945/3.854 ms 2026-03-24 08:45:30,379 - INFO - Ping to IP 140.182.37.131 from VM ctest-TestBasicPolicy-01303179-57927359 passed 2026-03-24 08:45:30,563 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4fecc284-dcd1-4679-8609-ec67d918ec42", "href": "http://10.0.0.50:8082/network-policy/4fecc284-dcd1-4679-8609-ec67d918ec42"}} 2026-03-24 08:45:30,563 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-24 08:45:30,564 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.182.37.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-24 08:45:30,564 - DEBUG - ping -s 56 -c 3 -W 1 140.182.37.131 2026-03-24 08:45:33,690 - DEBUG - PING 140.182.37.131 (140.182.37.131): 56 data bytes --- 140.182.37.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-24 08:45:33,691 - WARNING - Ping to IP 140.182.37.131 from VM ctest-TestBasicPolicy-01303179-57927359 failed 2026-03-24 08:45:33,691 - INFO - Deleting VM ctest-TestBasicPolicy-01303179-80702311 2026-03-24 08:45:33,777 - INFO - Deleting VM ctest-TestBasicPolicy-01303179-57927359 2026-03-24 08:45:34,198 - INFO - Deleted policy ctest-policy-allow-all-11459782 2026-03-24 08:45:34,199 - INFO - Deleting VN ctest-vn-52023218 2026-03-24 08:45:34,240 - DEBUG - VN befa580a-7da9-4b91-9004-39e175d25736 still in use: Unable to complete operation on network befa580a-7da9-4b91-9004-39e175d25736. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c8f999a6-b7c9-4e9d-b32c-627fe5561cfb'] 2026-03-24 08:45:34,240 - WARNING - Deleting VN ctest-vn-52023218 failed..Will retry 2026-03-24 08:45:36,355 - DEBUG - Response for deleting network () 2026-03-24 08:45:36,355 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2f7026b8-8cef-4a9c-9b9c-99bb73c54956 2026-03-24 08:45:36,361 - DEBUG - Response Code: 404 2026-03-24 08:45:36,361 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-24 08:45:36,367 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1088446a-f7aa-449c-a847-8424b8763d3b 2026-03-24 08:45:36,422 - DEBUG - Requesting: http://10.0.0.50:8082/project/84ae3369-931b-4d0c-ad0c-9f80b18e89fc 2026-03-24 08:45:36,495 - INFO - Validated that VN ctest-vn-52023218 is not found in API Server 2026-03-24 08:45:36,506 - DEBUG - VN ctest-vn-52023218 is not present in Agent 10.0.0.50 2026-03-24 08:45:36,506 - INFO - Validated that VN ctest-vn-52023218 is not in any agent 2026-03-24 08:45:36,524 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52023218 info 2026-03-24 08:45:36,524 - INFO - Deleting VN ctest-vn-56995588 2026-03-24 08:45:36,634 - DEBUG - Response for deleting network () 2026-03-24 08:45:36,634 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c6b89bc8-cb54-4054-bb81-5347e580fc2c 2026-03-24 08:45:36,641 - DEBUG - Response Code: 404 2026-03-24 08:45:36,641 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-24 08:45:36,647 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1088446a-f7aa-449c-a847-8424b8763d3b 2026-03-24 08:45:36,702 - DEBUG - Requesting: http://10.0.0.50:8082/project/84ae3369-931b-4d0c-ad0c-9f80b18e89fc 2026-03-24 08:45:36,779 - INFO - Validated that VN ctest-vn-56995588 is not found in API Server 2026-03-24 08:45:36,789 - DEBUG - VN ctest-vn-56995588 is not present in Agent 10.0.0.50 2026-03-24 08:45:36,789 - INFO - Validated that VN ctest-vn-56995588 is not in any agent 2026-03-24 08:45:36,805 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56995588 info 2026-03-24 08:45:37,066 - DEBUG - No XMPP flaps were noticed during the test
2026-03-24 08:45:37,066 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2026-03-24 08:45:37,066 - INFO - -------------------------------------------------------------------------------- 2026-03-24 08:45:37,838 - INFO - Deleted project: ctest-TestBasicPolicy-01303179, ID : 84ae3369-931b-4d0c-ad0c-9f80b18e89fc