2026-07-06 04:58:27,225 - INFO - Domain Default found not creating 2026-07-06 04:58:27,399 - INFO - Project ctest-TestBasicPolicy-38002019 not found, creating it 2026-07-06 04:58:27,917 - INFO - Created Project:ctest-TestBasicPolicy-38002019, ID : 44b42849-fb9b-446f-9761-31d4f342e2f3 2026-07-06 04:58:29,541 - INFO - ================================================================================ 2026-07-06 04:58:29,541 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-06 04:58:29,541 - 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-07-06 04:58:29,819 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-07-06 04:58:29,819 - INFO - Initial checks done. Running the testcase now 2026-07-06 04:58:29,819 - INFO - 2026-07-06 04:58:30,448 - DEBUG - Response for create_network : {'network': {'id': '4cd078bf-c93b-4b47-b098-9ceb965be906', 'name': 'ctest-vn-53388630', 'tenant_id': '44b42849fb9b446f976131d4f342e2f3', 'project_id': '44b42849fb9b446f976131d4f342e2f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38002019', 'ctest-vn-53388630'], 'port_security_enabled': True, 'description': ''}} 2026-07-06 04:58:30,625 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd65aa36c-5d42-4c9a-9e83-67e47ef330f5', 'name': '', 'tenant_id': '44b42849fb9b446f976131d4f342e2f3', 'network_id': '4cd078bf-c93b-4b47-b098-9ceb965be906', 'ip_version': 4, 'cidr': '78.22.41.64/26', 'allocation_pools': [{'start': '78.22.41.66', 'end': '78.22.41.126'}], 'gateway_ip': '78.22.41.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.22.41.66', 'tags': [], 'project_id': '44b42849fb9b446f976131d4f342e2f3'}} 2026-07-06 04:58:30,644 - INFO - Created VN ctest-vn-53388630 2026-07-06 04:58:30,700 - DEBUG - VN ctest-vn-53388630 UUID is 4cd078bf-c93b-4b47-b098-9ceb965be906 2026-07-06 04:58:31,023 - DEBUG - Response for create_network : {'network': {'id': 'fd938c48-4b97-40c8-ac2b-a94a10dda988', 'name': 'ctest-vn-74751308', 'tenant_id': '44b42849fb9b446f976131d4f342e2f3', 'project_id': '44b42849fb9b446f976131d4f342e2f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38002019', 'ctest-vn-74751308'], 'port_security_enabled': True, 'description': ''}} 2026-07-06 04:58:31,173 - DEBUG - Response for create_subnet : {'subnet': {'id': '0c0a28f2-88e3-4b38-9f5b-ec21708bde32', 'name': '', 'tenant_id': '44b42849fb9b446f976131d4f342e2f3', 'network_id': 'fd938c48-4b97-40c8-ac2b-a94a10dda988', 'ip_version': 4, 'cidr': '83.132.132.64/26', 'allocation_pools': [{'start': '83.132.132.66', 'end': '83.132.132.126'}], 'gateway_ip': '83.132.132.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.132.132.66', 'tags': [], 'project_id': '44b42849fb9b446f976131d4f342e2f3'}} 2026-07-06 04:58:31,189 - INFO - Created VN ctest-vn-74751308 2026-07-06 04:58:31,244 - DEBUG - VN ctest-vn-74751308 UUID is fd938c48-4b97-40c8-ac2b-a94a10dda988 2026-07-06 04:58:31,392 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38002019:ctest-vn-53388630, 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-38002019:ctest-vn-74751308, 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-07-06 04:58:31,684 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4cd078bf-c93b-4b47-b098-9ceb965be906', 'name': 'ctest-vn-53388630', 'tenant_id': '44b42849fb9b446f976131d4f342e2f3', 'project_id': '44b42849fb9b446f976131d4f342e2f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d65aa36c-5d42-4c9a-9e83-67e47ef330f5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38002019', 'ctest-vn-53388630'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38002019', 'ctest-policy-allow-all-79408831']], 'subnet_ipam': [{'subnet_cidr': '78.22.41.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-06 04:58:31,942 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fd938c48-4b97-40c8-ac2b-a94a10dda988', 'name': 'ctest-vn-74751308', 'tenant_id': '44b42849fb9b446f976131d4f342e2f3', 'project_id': '44b42849fb9b446f976131d4f342e2f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0c0a28f2-88e3-4b38-9f5b-ec21708bde32'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38002019', 'ctest-vn-74751308'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38002019', 'ctest-policy-allow-all-79408831']], 'subnet_ipam': [{'subnet_cidr': '83.132.132.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-06 04:58:32,112 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-07-06 04:58:32,433 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-07-06 04:58:32,462 - DEBUG - Requesting: http://10.0.0.22:8082/domain/98b227c7-fcb3-400a-afb8-e4afb1f9bba4 2026-07-06 04:58:32,476 - DEBUG - Requesting: http://10.0.0.22:8082/project/44b42849-fb9b-446f-9761-31d4f342e2f3 2026-07-06 04:58:32,555 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4cd078bf-c93b-4b47-b098-9ceb965be906 2026-07-06 04:58:32,568 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4cd078bf-c93b-4b47-b098-9ceb965be906 2026-07-06 04:58:32,580 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f762db2e-b49c-4626-9603-8b26f8f251e1 2026-07-06 04:58:32,588 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f762db2e-b49c-4626-9603-8b26f8f251e1 2026-07-06 04:58:32,596 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d2406adf-511e-45de-b697-1476bf5ae341 2026-07-06 04:58:32,605 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-06 04:58:32,605 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4cd078bf-c93b-4b47-b098-9ceb965be906 2026-07-06 04:58:32,615 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f762db2e-b49c-4626-9603-8b26f8f251e1 2026-07-06 04:58:32,630 - INFO - Verified VN network id 9 for VN 4cd078bf-c93b-4b47-b098-9ceb965be906 2026-07-06 04:58:32,631 - INFO - Verifications in API Server for VN ctest-vn-53388630 passed 2026-07-06 04:58:32,631 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4cd078bf-c93b-4b47-b098-9ceb965be906 2026-07-06 04:58:32,640 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f762db2e-b49c-4626-9603-8b26f8f251e1 2026-07-06 04:58:32,653 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f762db2e-b49c-4626-9603-8b26f8f251e1 2026-07-06 04:58:32,660 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d2406adf-511e-45de-b697-1476bf5ae341 2026-07-06 04:58:32,674 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38002019:ctest-vn-53388630', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38002019', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5535056707148532551', 'uuid-lslong': '12725093282789189894'}, 'enable': 'true', 'created': '2026-07-06T04:58:30', 'last-modified': '2026-07-06T04:58:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.015727'} 2026-07-06 04:58:32,680 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-06 04:58:32,680 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53388630 passed 2026-07-06 04:58:32,680 - DEBUG - ====Verifying policy data for ctest-vn-53388630 in API_Server ====== 2026-07-06 04:58:32,680 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-07-06 04:58:32,688 - DEBUG - Requesting: http://10.0.0.22:8082/domain/98b227c7-fcb3-400a-afb8-e4afb1f9bba4 2026-07-06 04:58:32,699 - DEBUG - Requesting: http://10.0.0.22:8082/project/44b42849-fb9b-446f-9761-31d4f342e2f3 2026-07-06 04:58:32,775 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4cd078bf-c93b-4b47-b098-9ceb965be906 2026-07-06 04:58:32,783 - DEBUG - ==>Verifying data for policy with id: 25e5c014-fb13-473d-9b53-843bfc845345, fqn: ['default-domain', 'ctest-TestBasicPolicy-38002019', 'ctest-policy-allow-all-79408831'] 2026-07-06 04:58:32,783 - INFO - VN ctest-vn-53388630 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-06 04:58:32,783 - DEBUG - Verifying the vn in opserver 2026-07-06 04:58:32,783 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38002019:ctest-vn-53388630 virtual network link through opserver 10.0.0.22 2026-07-06 04:58:32,784 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-07-06 04:58:33,109 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-07-06 04:58:33,173 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38002019:ctest-vn-53388630', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38002019:ctest-vn-53388630?flat'} 2026-07-06 04:58:33,173 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38002019:ctest-vn-53388630 is found in opserver 2026-07-06 04:58:33,184 - DEBUG - Do not have enough data to verify VN in agent 2026-07-06 04:58:33,189 - DEBUG - VRF ids for VN ctest-vn-53388630: {} 2026-07-06 04:58:33,189 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-07-06 04:58:33,195 - DEBUG - Requesting: http://10.0.0.22:8082/domain/98b227c7-fcb3-400a-afb8-e4afb1f9bba4 2026-07-06 04:58:33,208 - DEBUG - Requesting: http://10.0.0.22:8082/project/44b42849-fb9b-446f-9761-31d4f342e2f3 2026-07-06 04:58:33,281 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fd938c48-4b97-40c8-ac2b-a94a10dda988 2026-07-06 04:58:33,293 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fd938c48-4b97-40c8-ac2b-a94a10dda988 2026-07-06 04:58:33,304 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/49dbe291-879e-44cf-b798-dc807d92aa56 2026-07-06 04:58:33,313 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/49dbe291-879e-44cf-b798-dc807d92aa56 2026-07-06 04:58:33,323 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/7b66511e-412b-43d3-b323-ba282d682ee9 2026-07-06 04:58:33,330 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-06 04:58:33,330 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fd938c48-4b97-40c8-ac2b-a94a10dda988 2026-07-06 04:58:33,341 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/49dbe291-879e-44cf-b798-dc807d92aa56 2026-07-06 04:58:33,359 - INFO - Verified VN network id 10 for VN fd938c48-4b97-40c8-ac2b-a94a10dda988 2026-07-06 04:58:33,359 - INFO - Verifications in API Server for VN ctest-vn-74751308 passed 2026-07-06 04:58:33,359 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fd938c48-4b97-40c8-ac2b-a94a10dda988 2026-07-06 04:58:33,369 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/49dbe291-879e-44cf-b798-dc807d92aa56 2026-07-06 04:58:33,378 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/49dbe291-879e-44cf-b798-dc807d92aa56 2026-07-06 04:58:33,388 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/7b66511e-412b-43d3-b323-ba282d682ee9 2026-07-06 04:58:33,402 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38002019:ctest-vn-74751308', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38002019', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18272102355305971912', 'uuid-lslong': '12406195734097799560'}, 'enable': 'true', 'created': '2026-07-06T04:58:30', 'last-modified': '2026-07-06T04:58:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.486811'} 2026-07-06 04:58:33,412 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-06 04:58:33,412 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74751308 passed 2026-07-06 04:58:33,412 - DEBUG - ====Verifying policy data for ctest-vn-74751308 in API_Server ====== 2026-07-06 04:58:33,412 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-07-06 04:58:33,418 - DEBUG - Requesting: http://10.0.0.22:8082/domain/98b227c7-fcb3-400a-afb8-e4afb1f9bba4 2026-07-06 04:58:33,431 - DEBUG - Requesting: http://10.0.0.22:8082/project/44b42849-fb9b-446f-9761-31d4f342e2f3 2026-07-06 04:58:33,510 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fd938c48-4b97-40c8-ac2b-a94a10dda988 2026-07-06 04:58:33,522 - DEBUG - ==>Verifying data for policy with id: 25e5c014-fb13-473d-9b53-843bfc845345, fqn: ['default-domain', 'ctest-TestBasicPolicy-38002019', 'ctest-policy-allow-all-79408831'] 2026-07-06 04:58:33,523 - INFO - VN ctest-vn-74751308 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-06 04:58:33,523 - DEBUG - Verifying the vn in opserver 2026-07-06 04:58:33,523 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38002019:ctest-vn-74751308 virtual network link through opserver 10.0.0.22 2026-07-06 04:58:33,523 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-07-06 04:58:33,534 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38002019:ctest-vn-74751308', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38002019:ctest-vn-74751308?flat'} 2026-07-06 04:58:33,534 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38002019:ctest-vn-74751308 is found in opserver 2026-07-06 04:58:33,545 - DEBUG - Do not have enough data to verify VN in agent 2026-07-06 04:58:33,551 - DEBUG - VRF ids for VN ctest-vn-74751308: {} 2026-07-06 04:58:33,618 - DEBUG - Services list from nova: [, , ] 2026-07-06 04:58:33,941 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6081-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6081-1) 2026-07-06 04:58:34,359 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6081-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6081-1) 2026-07-06 04:58:34,359 - INFO - Waiting for VM ctest-TestBasicPolicy-38002019-69251700 to be up.. 2026-07-06 04:58:34,401 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-06 04:58:39,479 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-06 04:58:44,555 - DEBUG - VM is in ACTIVE state now 2026-07-06 04:58:44,555 - INFO - VM name : ctest-TestBasicPolicy-38002019-69251700 2026-07-06 04:58:44,631 - DEBUG - VM ctest-TestBasicPolicy-38002019-69251700 ID is e60670a8-a815-44c2-8867-187619fc6424 2026-07-06 04:58:44,651 - DEBUG - VM ctest-TestBasicPolicy-38002019-69251700 launched on Node cn-jenkins-deploy-platform-ansible-os-6081-1 2026-07-06 04:58:44,724 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e60670a8-a815-44c2-8867-187619fc6424 2026-07-06 04:58:44,732 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7dcede07-8741-407f-bb43-b1f86f5122de 2026-07-06 04:58:47,990 - 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-07-06 04:58:47,991 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38002019-69251700 failed! 2026-07-06 04:58:48,045 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-38002019:ctest-vn-53388630 is 78.22.41.65 and allocation pool is NOT set 2026-07-06 04:58:52,112 - 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=4.82 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1005ms\r\nrtt min/avg/max/mdev = 4.821/4.821/4.821/0.000 ms') 2026-07-06 04:58:52,113 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38002019-69251700 passed 2026-07-06 04:58:52,264 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-06 04:58:52,265 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38002019-69251700, IP 78.22.41.67, Port 22 2026-07-06 04:58:52,428 - DEBUG - VM ctest-TestBasicPolicy-38002019-69251700 is ready for SSH connections 2026-07-06 04:58:52,428 - INFO - Waiting for VM ctest-TestBasicPolicy-38002019-19943579 to be up.. 2026-07-06 04:58:52,509 - DEBUG - VM is in ACTIVE state now 2026-07-06 04:58:52,509 - INFO - VM name : ctest-TestBasicPolicy-38002019-19943579 2026-07-06 04:58:52,592 - DEBUG - VM ctest-TestBasicPolicy-38002019-19943579 ID is b6879baf-e61e-4a5e-9c7d-4e0fd4d8d69b 2026-07-06 04:58:52,592 - DEBUG - VM ctest-TestBasicPolicy-38002019-19943579 launched on Node cn-jenkins-deploy-platform-ansible-os-6081-1 2026-07-06 04:58:52,680 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b6879baf-e61e-4a5e-9c7d-4e0fd4d8d69b 2026-07-06 04:58:52,689 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/18cdbc11-ab91-40d1-8c6a-99c3a9195b27 2026-07-06 04:58:53,948 - 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=6.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.18 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.181/3.735/6.289/2.554 ms') 2026-07-06 04:58:53,948 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-38002019-19943579 passed 2026-07-06 04:58:54,104 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-06 04:58:54,104 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38002019-19943579, IP 83.132.132.67, Port 22 2026-07-06 04:58:54,279 - DEBUG - VM ctest-TestBasicPolicy-38002019-19943579 is ready for SSH connections 2026-07-06 04:58:54,279 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-06 04:58:54,279 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.132.132.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-07-06 04:58:54,279 - DEBUG - ping -s 56 -c 3 -W 1 83.132.132.67 2026-07-06 04:58:58,303 - DEBUG - PING 83.132.132.67 (83.132.132.67): 56 data bytes 64 bytes from 83.132.132.67: seq=0 ttl=63 time=5.619 ms 64 bytes from 83.132.132.67: seq=1 ttl=63 time=1.141 ms 64 bytes from 83.132.132.67: seq=2 ttl=63 time=1.109 ms --- 83.132.132.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.109/2.623/5.619 ms 2026-07-06 04:58:58,303 - INFO - Ping to IP 83.132.132.67 from VM ctest-TestBasicPolicy-38002019-69251700 passed 2026-07-06 04:58:58,492 - DEBUG - Policy Update Response {"network-policy": {"uuid": "25e5c014-fb13-473d-9b53-843bfc845345", "href": "http://10.0.0.22:8082/network-policy/25e5c014-fb13-473d-9b53-843bfc845345"}} 2026-07-06 04:58:58,492 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-06 04:58:58,492 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.132.132.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-07-06 04:58:58,492 - DEBUG - ping -s 56 -c 3 -W 1 83.132.132.67 2026-07-06 04:59:01,626 - DEBUG - PING 83.132.132.67 (83.132.132.67): 56 data bytes --- 83.132.132.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-07-06 04:59:01,626 - WARNING - Ping to IP 83.132.132.67 from VM ctest-TestBasicPolicy-38002019-69251700 failed 2026-07-06 04:59:01,627 - INFO - Deleting VM ctest-TestBasicPolicy-38002019-19943579 2026-07-06 04:59:01,706 - INFO - Deleting VM ctest-TestBasicPolicy-38002019-69251700 2026-07-06 04:59:02,122 - INFO - Deleted policy ctest-policy-allow-all-79408831 2026-07-06 04:59:02,122 - INFO - Deleting VN ctest-vn-74751308 2026-07-06 04:59:02,167 - DEBUG - VN fd938c48-4b97-40c8-ac2b-a94a10dda988 still in use: Unable to complete operation on network fd938c48-4b97-40c8-ac2b-a94a10dda988. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0a290c09-bfc3-47f6-a9f7-b11c04eb69a9'] 2026-07-06 04:59:02,167 - WARNING - Deleting VN ctest-vn-74751308 failed..Will retry 2026-07-06 04:59:04,281 - DEBUG - Response for deleting network () 2026-07-06 04:59:04,282 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/49dbe291-879e-44cf-b798-dc807d92aa56 2026-07-06 04:59:04,287 - DEBUG - Response Code: 404 2026-07-06 04:59:04,287 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-07-06 04:59:04,295 - DEBUG - Requesting: http://10.0.0.22:8082/domain/98b227c7-fcb3-400a-afb8-e4afb1f9bba4 2026-07-06 04:59:04,352 - DEBUG - Requesting: http://10.0.0.22:8082/project/44b42849-fb9b-446f-9761-31d4f342e2f3 2026-07-06 04:59:04,425 - INFO - Validated that VN ctest-vn-74751308 is not found in API Server 2026-07-06 04:59:04,436 - DEBUG - VN ctest-vn-74751308 is not present in Agent 10.0.0.22 2026-07-06 04:59:04,436 - INFO - Validated that VN ctest-vn-74751308 is not in any agent 2026-07-06 04:59:04,452 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74751308 info 2026-07-06 04:59:04,452 - INFO - Deleting VN ctest-vn-53388630 2026-07-06 04:59:04,572 - DEBUG - Response for deleting network () 2026-07-06 04:59:04,572 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f762db2e-b49c-4626-9603-8b26f8f251e1 2026-07-06 04:59:04,578 - DEBUG - Response Code: 404 2026-07-06 04:59:04,578 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-07-06 04:59:04,584 - DEBUG - Requesting: http://10.0.0.22:8082/domain/98b227c7-fcb3-400a-afb8-e4afb1f9bba4 2026-07-06 04:59:04,637 - DEBUG - Requesting: http://10.0.0.22:8082/project/44b42849-fb9b-446f-9761-31d4f342e2f3 2026-07-06 04:59:04,714 - INFO - Validated that VN ctest-vn-53388630 is not found in API Server 2026-07-06 04:59:04,726 - DEBUG - VN ctest-vn-53388630 is not present in Agent 10.0.0.22 2026-07-06 04:59:04,726 - INFO - Validated that VN ctest-vn-53388630 is not in any agent 2026-07-06 04:59:04,741 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53388630 info 2026-07-06 04:59:05,000 - DEBUG - No XMPP flaps were noticed during the test
2026-07-06 04:59:05,000 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-07-06 04:59:05,001 - INFO - -------------------------------------------------------------------------------- 2026-07-06 04:59:06,389 - INFO - Deleted project: ctest-TestBasicPolicy-38002019, ID : 44b42849-fb9b-446f-9761-31d4f342e2f3