2026-08-22 14:27:03,520 - INFO - Domain Default found not creating 2026-08-22 14:27:03,676 - INFO - Project ctest-TestBasicPolicy-75096682 not found, creating it 2026-08-22 14:27:04,179 - INFO - Created Project:ctest-TestBasicPolicy-75096682, ID : 501449be-8d87-4a36-87a4-fb970ce63b29 2026-08-22 14:27:05,860 - INFO - ================================================================================ 2026-08-22 14:27:05,860 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-22 14:27:05,860 - 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-08-22 14:27:06,122 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-08-22 14:27:06,122 - INFO - Initial checks done. Running the testcase now 2026-08-22 14:27:06,122 - INFO - 2026-08-22 14:27:06,747 - DEBUG - Response for create_network : {'network': {'id': '48b43959-08e3-426e-96f5-3dfecb6d67f9', 'name': 'ctest-vn-00492171', 'tenant_id': '501449be8d874a3687a4fb970ce63b29', 'project_id': '501449be8d874a3687a4fb970ce63b29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75096682', 'ctest-vn-00492171'], 'port_security_enabled': True, 'description': ''}} 2026-08-22 14:27:06,902 - DEBUG - Response for create_subnet : {'subnet': {'id': '4f4bc3ba-17e3-404b-8bea-e98ee9b1279f', 'name': '', 'tenant_id': '501449be8d874a3687a4fb970ce63b29', 'network_id': '48b43959-08e3-426e-96f5-3dfecb6d67f9', 'ip_version': 4, 'cidr': '179.7.44.192/26', 'allocation_pools': [{'start': '179.7.44.194', 'end': '179.7.44.254'}], 'gateway_ip': '179.7.44.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.7.44.194', 'tags': [], 'project_id': '501449be8d874a3687a4fb970ce63b29'}} 2026-08-22 14:27:06,923 - INFO - Created VN ctest-vn-00492171 2026-08-22 14:27:06,977 - DEBUG - VN ctest-vn-00492171 UUID is 48b43959-08e3-426e-96f5-3dfecb6d67f9 2026-08-22 14:27:07,294 - DEBUG - Response for create_network : {'network': {'id': 'a7fc3c3b-1271-4922-9687-8e1d30847121', 'name': 'ctest-vn-21677719', 'tenant_id': '501449be8d874a3687a4fb970ce63b29', 'project_id': '501449be8d874a3687a4fb970ce63b29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75096682', 'ctest-vn-21677719'], 'port_security_enabled': True, 'description': ''}} 2026-08-22 14:27:07,509 - DEBUG - Response for create_subnet : {'subnet': {'id': '81d6421c-37ae-4fab-8bac-f1c5cc90985d', 'name': '', 'tenant_id': '501449be8d874a3687a4fb970ce63b29', 'network_id': 'a7fc3c3b-1271-4922-9687-8e1d30847121', 'ip_version': 4, 'cidr': '147.187.156.64/26', 'allocation_pools': [{'start': '147.187.156.66', 'end': '147.187.156.126'}], 'gateway_ip': '147.187.156.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.187.156.66', 'tags': [], 'project_id': '501449be8d874a3687a4fb970ce63b29'}} 2026-08-22 14:27:07,529 - INFO - Created VN ctest-vn-21677719 2026-08-22 14:27:07,581 - DEBUG - VN ctest-vn-21677719 UUID is a7fc3c3b-1271-4922-9687-8e1d30847121 2026-08-22 14:27:07,698 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-75096682:ctest-vn-00492171, 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-75096682:ctest-vn-21677719, 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-08-22 14:27:08,035 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '48b43959-08e3-426e-96f5-3dfecb6d67f9', 'name': 'ctest-vn-00492171', 'tenant_id': '501449be8d874a3687a4fb970ce63b29', 'project_id': '501449be8d874a3687a4fb970ce63b29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4f4bc3ba-17e3-404b-8bea-e98ee9b1279f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75096682', 'ctest-vn-00492171'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75096682', 'ctest-policy-allow-all-03103812']], 'subnet_ipam': [{'subnet_cidr': '179.7.44.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-22 14:27:08,288 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a7fc3c3b-1271-4922-9687-8e1d30847121', 'name': 'ctest-vn-21677719', 'tenant_id': '501449be8d874a3687a4fb970ce63b29', 'project_id': '501449be8d874a3687a4fb970ce63b29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['81d6421c-37ae-4fab-8bac-f1c5cc90985d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75096682', 'ctest-vn-21677719'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75096682', 'ctest-policy-allow-all-03103812']], 'subnet_ipam': [{'subnet_cidr': '147.187.156.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-22 14:27:08,457 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-08-22 14:27:08,793 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-08-22 14:27:08,824 - DEBUG - Requesting: http://10.0.0.33:8082/domain/be17c20b-19f9-4365-9ab2-b39746d53e55 2026-08-22 14:27:08,837 - DEBUG - Requesting: http://10.0.0.33:8082/project/501449be-8d87-4a36-87a4-fb970ce63b29 2026-08-22 14:27:08,915 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48b43959-08e3-426e-96f5-3dfecb6d67f9 2026-08-22 14:27:08,929 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48b43959-08e3-426e-96f5-3dfecb6d67f9 2026-08-22 14:27:08,942 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7e50441a-d291-4363-8f33-fcb5787fbcb9 2026-08-22 14:27:08,953 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7e50441a-d291-4363-8f33-fcb5787fbcb9 2026-08-22 14:27:08,962 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b008be66-9d7c-4f93-b360-315652f72a66 2026-08-22 14:27:08,971 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-22 14:27:08,971 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48b43959-08e3-426e-96f5-3dfecb6d67f9 2026-08-22 14:27:08,983 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7e50441a-d291-4363-8f33-fcb5787fbcb9 2026-08-22 14:27:09,001 - INFO - Verified VN network id 11 for VN 48b43959-08e3-426e-96f5-3dfecb6d67f9 2026-08-22 14:27:09,002 - INFO - Verifications in API Server for VN ctest-vn-00492171 passed 2026-08-22 14:27:09,002 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48b43959-08e3-426e-96f5-3dfecb6d67f9 2026-08-22 14:27:09,016 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7e50441a-d291-4363-8f33-fcb5787fbcb9 2026-08-22 14:27:09,025 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7e50441a-d291-4363-8f33-fcb5787fbcb9 2026-08-22 14:27:09,035 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b008be66-9d7c-4f93-b360-315652f72a66 2026-08-22 14:27:09,052 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75096682:ctest-vn-00492171', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75096682', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5238875321102713454', 'uuid-lslong': '10877668639527233529'}, 'enable': 'true', 'created': '2026-08-22T14:27:06', 'last-modified': '2026-08-22T14:27:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.044031'} 2026-08-22 14:27:09,060 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-22 14:27:09,060 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00492171 passed 2026-08-22 14:27:09,060 - DEBUG - ====Verifying policy data for ctest-vn-00492171 in API_Server ====== 2026-08-22 14:27:09,060 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-08-22 14:27:09,067 - DEBUG - Requesting: http://10.0.0.33:8082/domain/be17c20b-19f9-4365-9ab2-b39746d53e55 2026-08-22 14:27:09,080 - DEBUG - Requesting: http://10.0.0.33:8082/project/501449be-8d87-4a36-87a4-fb970ce63b29 2026-08-22 14:27:09,165 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48b43959-08e3-426e-96f5-3dfecb6d67f9 2026-08-22 14:27:09,176 - DEBUG - ==>Verifying data for policy with id: 08308e32-0e78-4d55-a453-8d22beb80a2b, fqn: ['default-domain', 'ctest-TestBasicPolicy-75096682', 'ctest-policy-allow-all-03103812'] 2026-08-22 14:27:09,176 - INFO - VN ctest-vn-00492171 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-22 14:27:09,176 - DEBUG - Verifying the vn in opserver 2026-08-22 14:27:09,176 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75096682:ctest-vn-00492171 virtual network link through opserver 10.0.0.33 2026-08-22 14:27:09,177 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-08-22 14:27:09,526 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-08-22 14:27:09,593 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75096682:ctest-vn-00492171', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75096682:ctest-vn-00492171?flat'} 2026-08-22 14:27:09,593 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75096682:ctest-vn-00492171 is found in opserver 2026-08-22 14:27:09,606 - DEBUG - Do not have enough data to verify VN in agent 2026-08-22 14:27:09,612 - DEBUG - VRF ids for VN ctest-vn-00492171: {} 2026-08-22 14:27:09,612 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-08-22 14:27:09,620 - DEBUG - Requesting: http://10.0.0.33:8082/domain/be17c20b-19f9-4365-9ab2-b39746d53e55 2026-08-22 14:27:09,634 - DEBUG - Requesting: http://10.0.0.33:8082/project/501449be-8d87-4a36-87a4-fb970ce63b29 2026-08-22 14:27:09,719 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a7fc3c3b-1271-4922-9687-8e1d30847121 2026-08-22 14:27:09,735 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a7fc3c3b-1271-4922-9687-8e1d30847121 2026-08-22 14:27:09,747 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66288961-43b9-4dd9-be4a-8bca6868f832 2026-08-22 14:27:09,756 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66288961-43b9-4dd9-be4a-8bca6868f832 2026-08-22 14:27:09,764 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/9dee4c85-d778-42c6-98e0-8aec381d1e75 2026-08-22 14:27:09,772 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-22 14:27:09,772 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a7fc3c3b-1271-4922-9687-8e1d30847121 2026-08-22 14:27:09,781 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66288961-43b9-4dd9-be4a-8bca6868f832 2026-08-22 14:27:09,797 - INFO - Verified VN network id 12 for VN a7fc3c3b-1271-4922-9687-8e1d30847121 2026-08-22 14:27:09,797 - INFO - Verifications in API Server for VN ctest-vn-21677719 passed 2026-08-22 14:27:09,797 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a7fc3c3b-1271-4922-9687-8e1d30847121 2026-08-22 14:27:09,807 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66288961-43b9-4dd9-be4a-8bca6868f832 2026-08-22 14:27:09,816 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66288961-43b9-4dd9-be4a-8bca6868f832 2026-08-22 14:27:09,825 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/9dee4c85-d778-42c6-98e0-8aec381d1e75 2026-08-22 14:27:09,840 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75096682:ctest-vn-21677719', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75096682', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12104616122875201826', 'uuid-lslong': '10846794483564310817'}, 'enable': 'true', 'created': '2026-08-22T14:27:07', 'last-modified': '2026-08-22T14:27:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.582942'} 2026-08-22 14:27:09,851 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-22 14:27:09,851 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21677719 passed 2026-08-22 14:27:09,851 - DEBUG - ====Verifying policy data for ctest-vn-21677719 in API_Server ====== 2026-08-22 14:27:09,851 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-08-22 14:27:09,858 - DEBUG - Requesting: http://10.0.0.33:8082/domain/be17c20b-19f9-4365-9ab2-b39746d53e55 2026-08-22 14:27:09,870 - DEBUG - Requesting: http://10.0.0.33:8082/project/501449be-8d87-4a36-87a4-fb970ce63b29 2026-08-22 14:27:09,953 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a7fc3c3b-1271-4922-9687-8e1d30847121 2026-08-22 14:27:09,963 - DEBUG - ==>Verifying data for policy with id: 08308e32-0e78-4d55-a453-8d22beb80a2b, fqn: ['default-domain', 'ctest-TestBasicPolicy-75096682', 'ctest-policy-allow-all-03103812'] 2026-08-22 14:27:09,963 - INFO - VN ctest-vn-21677719 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-22 14:27:09,963 - DEBUG - Verifying the vn in opserver 2026-08-22 14:27:09,963 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75096682:ctest-vn-21677719 virtual network link through opserver 10.0.0.33 2026-08-22 14:27:09,963 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-08-22 14:27:09,976 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75096682:ctest-vn-21677719', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75096682:ctest-vn-21677719?flat'} 2026-08-22 14:27:09,976 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75096682:ctest-vn-21677719 is found in opserver 2026-08-22 14:27:09,989 - DEBUG - Do not have enough data to verify VN in agent 2026-08-22 14:27:09,995 - DEBUG - VRF ids for VN ctest-vn-21677719: {} 2026-08-22 14:27:10,060 - DEBUG - Services list from nova: [, , ] 2026-08-22 14:27:10,561 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6207-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6207-1) 2026-08-22 14:27:11,017 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6207-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6207-1) 2026-08-22 14:27:11,017 - INFO - Waiting for VM ctest-TestBasicPolicy-75096682-97035014 to be up.. 2026-08-22 14:27:11,056 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-22 14:27:16,144 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-22 14:27:21,228 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-22 14:27:26,311 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-22 14:27:31,403 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-22 14:27:36,507 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-22 14:27:41,598 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-22 14:27:46,687 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-22 14:27:51,768 - DEBUG - VM is in ACTIVE state now 2026-08-22 14:27:51,768 - INFO - VM name : ctest-TestBasicPolicy-75096682-97035014 2026-08-22 14:27:51,851 - DEBUG - VM ctest-TestBasicPolicy-75096682-97035014 ID is 9c242cf6-8d85-45a5-a691-65e04c2aa4af 2026-08-22 14:27:51,873 - DEBUG - VM ctest-TestBasicPolicy-75096682-97035014 launched on Node cn-jenkins-deploy-platform-ansible-os-6207-1 2026-08-22 14:27:51,953 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9c242cf6-8d85-45a5-a691-65e04c2aa4af 2026-08-22 14:27:51,964 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0e322220-2dc0-4530-8ecf-8fae27f2124b 2026-08-22 14:27:55,237 - 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=2 ttl=63 time=8.07 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1030ms\r\nrtt min/avg/max/mdev = 8.073/8.073/8.073/0.000 ms') 2026-08-22 14:27:55,237 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75096682-97035014 passed 2026-08-22 14:27:55,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-22 14:27:55,398 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75096682-97035014, IP 179.7.44.195, Port 22 2026-08-22 14:27:55,575 - DEBUG - VM ctest-TestBasicPolicy-75096682-97035014 is ready for SSH connections 2026-08-22 14:27:55,575 - INFO - Waiting for VM ctest-TestBasicPolicy-75096682-95032509 to be up.. 2026-08-22 14:27:55,666 - DEBUG - VM is in ACTIVE state now 2026-08-22 14:27:55,666 - INFO - VM name : ctest-TestBasicPolicy-75096682-95032509 2026-08-22 14:27:55,755 - DEBUG - VM ctest-TestBasicPolicy-75096682-95032509 ID is e980632a-f750-4bd5-bfab-bda98bf58ad4 2026-08-22 14:27:55,755 - DEBUG - VM ctest-TestBasicPolicy-75096682-95032509 launched on Node cn-jenkins-deploy-platform-ansible-os-6207-1 2026-08-22 14:27:55,840 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e980632a-f750-4bd5-bfab-bda98bf58ad4 2026-08-22 14:27:55,851 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/db3751b5-26af-4a08-9cd6-06563b4c61fe 2026-08-22 14:27:59,138 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1028ms') 2026-08-22 14:27:59,138 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-75096682-95032509 failed! 2026-08-22 14:27:59,193 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-75096682:ctest-vn-21677719 is 147.187.156.65 and allocation pool is NOT set 2026-08-22 14:28:01,257 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.565 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.565/2.064/3.564/1.499 ms') 2026-08-22 14:28:01,257 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-75096682-95032509 passed 2026-08-22 14:28:01,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-22 14:28:01,418 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75096682-95032509, IP 147.187.156.67, Port 22 2026-08-22 14:28:01,591 - DEBUG - VM ctest-TestBasicPolicy-75096682-95032509 is ready for SSH connections 2026-08-22 14:28:01,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-22 14:28:01,592 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.187.156.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-08-22 14:28:01,592 - DEBUG - ping -s 56 -c 3 -W 1 147.187.156.67 2026-08-22 14:28:05,552 - DEBUG - PING 147.187.156.67 (147.187.156.67): 56 data bytes 64 bytes from 147.187.156.67: seq=0 ttl=63 time=4.502 ms 64 bytes from 147.187.156.67: seq=1 ttl=63 time=1.238 ms 64 bytes from 147.187.156.67: seq=2 ttl=63 time=1.084 ms --- 147.187.156.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.084/2.274/4.502 ms 2026-08-22 14:28:05,552 - INFO - Ping to IP 147.187.156.67 from VM ctest-TestBasicPolicy-75096682-97035014 passed 2026-08-22 14:28:05,741 - DEBUG - Policy Update Response {"network-policy": {"uuid": "08308e32-0e78-4d55-a453-8d22beb80a2b", "href": "http://10.0.0.33:8082/network-policy/08308e32-0e78-4d55-a453-8d22beb80a2b"}} 2026-08-22 14:28:05,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-22 14:28:05,741 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.187.156.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-08-22 14:28:05,741 - DEBUG - ping -s 56 -c 3 -W 1 147.187.156.67 2026-08-22 14:28:08,890 - DEBUG - PING 147.187.156.67 (147.187.156.67): 56 data bytes 64 bytes from 147.187.156.67: seq=0 ttl=63 time=1.870 ms --- 147.187.156.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.870/1.870/1.870 ms 2026-08-22 14:28:08,890 - WARNING - Ping to IP 147.187.156.67 from VM ctest-TestBasicPolicy-75096682-97035014 failed 2026-08-22 14:28:08,890 - INFO - Deleting VM ctest-TestBasicPolicy-75096682-95032509 2026-08-22 14:28:08,995 - INFO - Deleting VM ctest-TestBasicPolicy-75096682-97035014 2026-08-22 14:28:09,436 - INFO - Deleted policy ctest-policy-allow-all-03103812 2026-08-22 14:28:09,436 - INFO - Deleting VN ctest-vn-21677719 2026-08-22 14:28:09,482 - DEBUG - VN a7fc3c3b-1271-4922-9687-8e1d30847121 still in use: Unable to complete operation on network a7fc3c3b-1271-4922-9687-8e1d30847121. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5faf6d91-9743-40df-94c6-1efa7719b618'] 2026-08-22 14:28:09,482 - WARNING - Deleting VN ctest-vn-21677719 failed..Will retry 2026-08-22 14:28:11,607 - DEBUG - Response for deleting network () 2026-08-22 14:28:11,608 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66288961-43b9-4dd9-be4a-8bca6868f832 2026-08-22 14:28:11,619 - DEBUG - Response Code: 404 2026-08-22 14:28:11,619 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-08-22 14:28:11,626 - DEBUG - Requesting: http://10.0.0.33:8082/domain/be17c20b-19f9-4365-9ab2-b39746d53e55 2026-08-22 14:28:11,685 - DEBUG - Requesting: http://10.0.0.33:8082/project/501449be-8d87-4a36-87a4-fb970ce63b29 2026-08-22 14:28:11,765 - INFO - Validated that VN ctest-vn-21677719 is not found in API Server 2026-08-22 14:28:11,778 - DEBUG - VN ctest-vn-21677719 is not present in Agent 10.0.0.33 2026-08-22 14:28:11,778 - INFO - Validated that VN ctest-vn-21677719 is not in any agent 2026-08-22 14:28:11,798 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21677719 info 2026-08-22 14:28:11,799 - INFO - Deleting VN ctest-vn-00492171 2026-08-22 14:28:11,925 - DEBUG - Response for deleting network () 2026-08-22 14:28:11,925 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7e50441a-d291-4363-8f33-fcb5787fbcb9 2026-08-22 14:28:11,934 - DEBUG - Response Code: 404 2026-08-22 14:28:11,934 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-08-22 14:28:11,942 - DEBUG - Requesting: http://10.0.0.33:8082/domain/be17c20b-19f9-4365-9ab2-b39746d53e55 2026-08-22 14:28:11,994 - DEBUG - Requesting: http://10.0.0.33:8082/project/501449be-8d87-4a36-87a4-fb970ce63b29 2026-08-22 14:28:12,075 - INFO - Validated that VN ctest-vn-00492171 is not found in API Server 2026-08-22 14:28:12,088 - DEBUG - VN ctest-vn-00492171 is not present in Agent 10.0.0.33 2026-08-22 14:28:12,088 - INFO - Validated that VN ctest-vn-00492171 is not in any agent 2026-08-22 14:28:12,107 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00492171 info 2026-08-22 14:28:12,381 - DEBUG - No XMPP flaps were noticed during the test
2026-08-22 14:28:12,381 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:07]
2026-08-22 14:28:12,381 - INFO - -------------------------------------------------------------------------------- 2026-08-22 14:28:13,112 - INFO - Deleted project: ctest-TestBasicPolicy-75096682, ID : 501449be-8d87-4a36-87a4-fb970ce63b29