2026-03-05 12:48:29,057 - INFO - Domain Default found not creating 2026-03-05 12:48:29,255 - INFO - Project ctest-TestBasicPolicy-04373873 not found, creating it 2026-03-05 12:48:29,728 - INFO - Created Project:ctest-TestBasicPolicy-04373873, ID : c5a4a9a5-fef5-4873-8cfb-7a8c6dcc24eb 2026-03-05 12:48:31,555 - INFO - ================================================================================ 2026-03-05 12:48:31,555 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-05 12:48:31,555 - 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-05 12:48:31,826 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2026-03-05 12:48:31,826 - INFO - Initial checks done. Running the testcase now 2026-03-05 12:48:31,826 - INFO - 2026-03-05 12:48:32,403 - DEBUG - Response for create_network : {'network': {'id': '7a44a024-6d2d-43a1-8d0e-7f94fa0b0089', 'name': 'ctest-vn-86251671', 'tenant_id': 'c5a4a9a5fef548738cfb7a8c6dcc24eb', 'project_id': 'c5a4a9a5fef548738cfb7a8c6dcc24eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04373873', 'ctest-vn-86251671'], 'port_security_enabled': True, 'description': ''}} 2026-03-05 12:48:32,564 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc6f53fc-8f57-4cf5-a1ff-e6c524bb8cb6', 'name': '', 'tenant_id': 'c5a4a9a5fef548738cfb7a8c6dcc24eb', 'network_id': '7a44a024-6d2d-43a1-8d0e-7f94fa0b0089', 'ip_version': 4, 'cidr': '144.21.239.0/26', 'allocation_pools': [{'start': '144.21.239.2', 'end': '144.21.239.62'}], 'gateway_ip': '144.21.239.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.21.239.2', 'tags': [], 'project_id': 'c5a4a9a5fef548738cfb7a8c6dcc24eb'}} 2026-03-05 12:48:32,584 - INFO - Created VN ctest-vn-86251671 2026-03-05 12:48:32,636 - DEBUG - VN ctest-vn-86251671 UUID is 7a44a024-6d2d-43a1-8d0e-7f94fa0b0089 2026-03-05 12:48:32,949 - DEBUG - Response for create_network : {'network': {'id': '76f6a0cd-4634-4125-a81a-6a054ca69950', 'name': 'ctest-vn-09667778', 'tenant_id': 'c5a4a9a5fef548738cfb7a8c6dcc24eb', 'project_id': 'c5a4a9a5fef548738cfb7a8c6dcc24eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04373873', 'ctest-vn-09667778'], 'port_security_enabled': True, 'description': ''}} 2026-03-05 12:48:33,183 - DEBUG - Response for create_subnet : {'subnet': {'id': '996dc60c-ab45-46d5-8200-49f1f276bb75', 'name': '', 'tenant_id': 'c5a4a9a5fef548738cfb7a8c6dcc24eb', 'network_id': '76f6a0cd-4634-4125-a81a-6a054ca69950', 'ip_version': 4, 'cidr': '139.123.99.128/26', 'allocation_pools': [{'start': '139.123.99.130', 'end': '139.123.99.190'}], 'gateway_ip': '139.123.99.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.123.99.130', 'tags': [], 'project_id': 'c5a4a9a5fef548738cfb7a8c6dcc24eb'}} 2026-03-05 12:48:33,205 - INFO - Created VN ctest-vn-09667778 2026-03-05 12:48:33,260 - DEBUG - VN ctest-vn-09667778 UUID is 76f6a0cd-4634-4125-a81a-6a054ca69950 2026-03-05 12:48:33,388 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-04373873:ctest-vn-86251671, 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-04373873:ctest-vn-09667778, 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-05 12:48:33,707 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7a44a024-6d2d-43a1-8d0e-7f94fa0b0089', 'name': 'ctest-vn-86251671', 'tenant_id': 'c5a4a9a5fef548738cfb7a8c6dcc24eb', 'project_id': 'c5a4a9a5fef548738cfb7a8c6dcc24eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fc6f53fc-8f57-4cf5-a1ff-e6c524bb8cb6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04373873', 'ctest-vn-86251671'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04373873', 'ctest-policy-allow-all-64384919']], 'subnet_ipam': [{'subnet_cidr': '144.21.239.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-05 12:48:33,963 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '76f6a0cd-4634-4125-a81a-6a054ca69950', 'name': 'ctest-vn-09667778', 'tenant_id': 'c5a4a9a5fef548738cfb7a8c6dcc24eb', 'project_id': 'c5a4a9a5fef548738cfb7a8c6dcc24eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['996dc60c-ab45-46d5-8200-49f1f276bb75'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04373873', 'ctest-vn-09667778'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04373873', 'ctest-policy-allow-all-64384919']], 'subnet_ipam': [{'subnet_cidr': '139.123.99.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-05 12:48:34,124 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-05 12:48:34,443 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-05 12:48:34,481 - DEBUG - Requesting: http://10.0.0.33:8082/domain/4e3b2f1f-24d3-4ce6-b6de-9e97fb4e27a2 2026-03-05 12:48:34,496 - DEBUG - Requesting: http://10.0.0.33:8082/project/c5a4a9a5-fef5-4873-8cfb-7a8c6dcc24eb 2026-03-05 12:48:34,572 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7a44a024-6d2d-43a1-8d0e-7f94fa0b0089 2026-03-05 12:48:34,585 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7a44a024-6d2d-43a1-8d0e-7f94fa0b0089 2026-03-05 12:48:34,596 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7761cfe9-6d80-48e0-bd0d-8d8b22290626 2026-03-05 12:48:34,604 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7761cfe9-6d80-48e0-bd0d-8d8b22290626 2026-03-05 12:48:34,612 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/de99649b-0b5b-486f-8e77-800a2e2f7ddc 2026-03-05 12:48:34,620 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-05 12:48:34,620 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7a44a024-6d2d-43a1-8d0e-7f94fa0b0089 2026-03-05 12:48:34,634 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7761cfe9-6d80-48e0-bd0d-8d8b22290626 2026-03-05 12:48:34,655 - INFO - Verified VN network id 12 for VN 7a44a024-6d2d-43a1-8d0e-7f94fa0b0089 2026-03-05 12:48:34,655 - INFO - Verifications in API Server for VN ctest-vn-86251671 passed 2026-03-05 12:48:34,655 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7a44a024-6d2d-43a1-8d0e-7f94fa0b0089 2026-03-05 12:48:34,667 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7761cfe9-6d80-48e0-bd0d-8d8b22290626 2026-03-05 12:48:34,676 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7761cfe9-6d80-48e0-bd0d-8d8b22290626 2026-03-05 12:48:34,686 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/de99649b-0b5b-486f-8e77-800a2e2f7ddc 2026-03-05 12:48:34,699 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04373873:ctest-vn-86251671', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04373873', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8810342849354482593', 'uuid-lslong': '10164201686848700553'}, 'enable': 'true', 'created': '2026-03-05T12:48:32', 'last-modified': '2026-03-05T12:48:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.020001'} 2026-03-05 12:48:34,706 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-05 12:48:34,706 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86251671 passed 2026-03-05 12:48:34,706 - DEBUG - ====Verifying policy data for ctest-vn-86251671 in API_Server ====== 2026-03-05 12:48:34,706 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-05 12:48:34,715 - DEBUG - Requesting: http://10.0.0.33:8082/domain/4e3b2f1f-24d3-4ce6-b6de-9e97fb4e27a2 2026-03-05 12:48:34,730 - DEBUG - Requesting: http://10.0.0.33:8082/project/c5a4a9a5-fef5-4873-8cfb-7a8c6dcc24eb 2026-03-05 12:48:34,808 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7a44a024-6d2d-43a1-8d0e-7f94fa0b0089 2026-03-05 12:48:34,819 - DEBUG - ==>Verifying data for policy with id: a9b93814-551a-430d-bb5b-2612d2214699, fqn: ['default-domain', 'ctest-TestBasicPolicy-04373873', 'ctest-policy-allow-all-64384919'] 2026-03-05 12:48:34,819 - INFO - VN ctest-vn-86251671 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-05 12:48:34,819 - DEBUG - Verifying the vn in opserver 2026-03-05 12:48:34,819 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04373873:ctest-vn-86251671 virtual network link through opserver 10.0.0.33 2026-03-05 12:48:34,819 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-05 12:48:35,138 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-05 12:48:35,210 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04373873:ctest-vn-86251671', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04373873:ctest-vn-86251671?flat'} 2026-03-05 12:48:35,210 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04373873:ctest-vn-86251671 is found in opserver 2026-03-05 12:48:35,225 - DEBUG - Do not have enough data to verify VN in agent 2026-03-05 12:48:35,231 - DEBUG - VRF ids for VN ctest-vn-86251671: {} 2026-03-05 12:48:35,231 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-05 12:48:35,237 - DEBUG - Requesting: http://10.0.0.33:8082/domain/4e3b2f1f-24d3-4ce6-b6de-9e97fb4e27a2 2026-03-05 12:48:35,250 - DEBUG - Requesting: http://10.0.0.33:8082/project/c5a4a9a5-fef5-4873-8cfb-7a8c6dcc24eb 2026-03-05 12:48:35,333 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/76f6a0cd-4634-4125-a81a-6a054ca69950 2026-03-05 12:48:35,347 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/76f6a0cd-4634-4125-a81a-6a054ca69950 2026-03-05 12:48:35,357 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9dd1bd6f-77a9-441e-9007-0fad1a54b668 2026-03-05 12:48:35,367 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9dd1bd6f-77a9-441e-9007-0fad1a54b668 2026-03-05 12:48:35,376 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/f01c5f68-f237-4f39-b5af-586ddd2a1516 2026-03-05 12:48:35,385 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-05 12:48:35,385 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/76f6a0cd-4634-4125-a81a-6a054ca69950 2026-03-05 12:48:35,397 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9dd1bd6f-77a9-441e-9007-0fad1a54b668 2026-03-05 12:48:35,414 - INFO - Verified VN network id 13 for VN 76f6a0cd-4634-4125-a81a-6a054ca69950 2026-03-05 12:48:35,414 - INFO - Verifications in API Server for VN ctest-vn-09667778 passed 2026-03-05 12:48:35,414 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/76f6a0cd-4634-4125-a81a-6a054ca69950 2026-03-05 12:48:35,427 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9dd1bd6f-77a9-441e-9007-0fad1a54b668 2026-03-05 12:48:35,437 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9dd1bd6f-77a9-441e-9007-0fad1a54b668 2026-03-05 12:48:35,445 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/f01c5f68-f237-4f39-b5af-586ddd2a1516 2026-03-05 12:48:35,458 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04373873:ctest-vn-09667778', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04373873', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8572215744252887333', 'uuid-lslong': '12113110718759737680'}, 'enable': 'true', 'created': '2026-03-05T12:48:32', 'last-modified': '2026-03-05T12:48:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.523365'} 2026-03-05 12:48:35,465 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-05 12:48:35,465 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09667778 passed 2026-03-05 12:48:35,465 - DEBUG - ====Verifying policy data for ctest-vn-09667778 in API_Server ====== 2026-03-05 12:48:35,465 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-05 12:48:35,471 - DEBUG - Requesting: http://10.0.0.33:8082/domain/4e3b2f1f-24d3-4ce6-b6de-9e97fb4e27a2 2026-03-05 12:48:35,483 - DEBUG - Requesting: http://10.0.0.33:8082/project/c5a4a9a5-fef5-4873-8cfb-7a8c6dcc24eb 2026-03-05 12:48:35,564 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/76f6a0cd-4634-4125-a81a-6a054ca69950 2026-03-05 12:48:35,576 - DEBUG - ==>Verifying data for policy with id: a9b93814-551a-430d-bb5b-2612d2214699, fqn: ['default-domain', 'ctest-TestBasicPolicy-04373873', 'ctest-policy-allow-all-64384919'] 2026-03-05 12:48:35,576 - INFO - VN ctest-vn-09667778 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-05 12:48:35,576 - DEBUG - Verifying the vn in opserver 2026-03-05 12:48:35,576 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04373873:ctest-vn-09667778 virtual network link through opserver 10.0.0.33 2026-03-05 12:48:35,576 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-03-05 12:48:35,588 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04373873:ctest-vn-09667778', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04373873:ctest-vn-09667778?flat'} 2026-03-05 12:48:35,588 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04373873:ctest-vn-09667778 is found in opserver 2026-03-05 12:48:35,601 - DEBUG - Do not have enough data to verify VN in agent 2026-03-05 12:48:35,606 - DEBUG - VRF ids for VN ctest-vn-09667778: {} 2026-03-05 12:48:35,677 - DEBUG - Services list from nova: [, , ] 2026-03-05 12:48:36,826 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5441-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5441-1) 2026-03-05 12:48:38,114 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5441-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5441-1) 2026-03-05 12:48:38,115 - INFO - Waiting for VM ctest-TestBasicPolicy-04373873-99291207 to be up.. 2026-03-05 12:48:38,241 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-05 12:48:43,337 - DEBUG - VM is in ACTIVE state now 2026-03-05 12:48:43,337 - INFO - VM name : ctest-TestBasicPolicy-04373873-99291207 2026-03-05 12:48:43,433 - DEBUG - VM ctest-TestBasicPolicy-04373873-99291207 ID is d0f77b81-d976-4f5d-bbd1-51f33fab6495 2026-03-05 12:48:43,459 - DEBUG - VM ctest-TestBasicPolicy-04373873-99291207 launched on Node cn-jenkins-deploy-platform-ansible-os-5441-1 2026-03-05 12:48:43,556 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d0f77b81-d976-4f5d-bbd1-51f33fab6495 2026-03-05 12:48:43,569 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/da7e06bd-36df-4db4-853f-850f664bfecd 2026-03-05 12:48:46,826 - 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 1003ms') 2026-03-05 12:48:46,826 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04373873-99291207 failed! 2026-03-05 12:48:46,885 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-04373873:ctest-vn-86251671 is 144.21.239.1 and allocation pool is NOT set 2026-03-05 12:48:50,955 - 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=3.09 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 3.093/3.093/3.093/0.000 ms') 2026-03-05 12:48:50,955 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04373873-99291207 passed 2026-03-05 12:48:51,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 12:48:51,113 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04373873-99291207, IP 144.21.239.3, Port 22 2026-03-05 12:48:51,278 - DEBUG - VM ctest-TestBasicPolicy-04373873-99291207 is ready for SSH connections 2026-03-05 12:48:51,278 - INFO - Waiting for VM ctest-TestBasicPolicy-04373873-41730268 to be up.. 2026-03-05 12:48:51,371 - DEBUG - VM is in ACTIVE state now 2026-03-05 12:48:51,371 - INFO - VM name : ctest-TestBasicPolicy-04373873-41730268 2026-03-05 12:48:51,464 - DEBUG - VM ctest-TestBasicPolicy-04373873-41730268 ID is 87259f82-61ba-4dd8-95d7-704af6d51cde 2026-03-05 12:48:51,465 - DEBUG - VM ctest-TestBasicPolicy-04373873-41730268 launched on Node cn-jenkins-deploy-platform-ansible-os-5441-1 2026-03-05 12:48:51,558 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/87259f82-61ba-4dd8-95d7-704af6d51cde 2026-03-05 12:48:51,567 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c6815969-d438-4064-9f52-4089a2158ad1 2026-03-05 12:48:52,817 - 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=4.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.548 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.548/2.469/4.391/1.921 ms') 2026-03-05 12:48:52,817 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-04373873-41730268 passed 2026-03-05 12:48:52,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 12:48:52,973 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04373873-41730268, IP 139.123.99.131, Port 22 2026-03-05 12:48:53,139 - DEBUG - VM ctest-TestBasicPolicy-04373873-41730268 is ready for SSH connections 2026-03-05 12:48:53,139 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 12:48:53,139 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.123.99.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-03-05 12:48:53,139 - DEBUG - ping -s 56 -c 3 -W 1 139.123.99.131 2026-03-05 12:48:57,301 - DEBUG - PING 139.123.99.131 (139.123.99.131): 56 data bytes 64 bytes from 139.123.99.131: seq=0 ttl=63 time=4.099 ms 64 bytes from 139.123.99.131: seq=1 ttl=63 time=1.071 ms 64 bytes from 139.123.99.131: seq=2 ttl=63 time=0.872 ms --- 139.123.99.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.872/2.014/4.099 ms 2026-03-05 12:48:57,301 - INFO - Ping to IP 139.123.99.131 from VM ctest-TestBasicPolicy-04373873-99291207 passed 2026-03-05 12:48:57,492 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a9b93814-551a-430d-bb5b-2612d2214699", "href": "http://10.0.0.33:8082/network-policy/a9b93814-551a-430d-bb5b-2612d2214699"}} 2026-03-05 12:48:57,492 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 12:48:57,492 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.123.99.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-03-05 12:48:57,493 - DEBUG - ping -s 56 -c 3 -W 1 139.123.99.131 2026-03-05 12:49:00,742 - DEBUG - PING 139.123.99.131 (139.123.99.131): 56 data bytes --- 139.123.99.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-05 12:49:00,743 - WARNING - Ping to IP 139.123.99.131 from VM ctest-TestBasicPolicy-04373873-99291207 failed 2026-03-05 12:49:00,743 - INFO - Deleting VM ctest-TestBasicPolicy-04373873-41730268 2026-03-05 12:49:00,830 - INFO - Deleting VM ctest-TestBasicPolicy-04373873-99291207 2026-03-05 12:49:01,272 - INFO - Deleted policy ctest-policy-allow-all-64384919 2026-03-05 12:49:01,272 - INFO - Deleting VN ctest-vn-09667778 2026-03-05 12:49:01,330 - DEBUG - VN 76f6a0cd-4634-4125-a81a-6a054ca69950 still in use: Unable to complete operation on network 76f6a0cd-4634-4125-a81a-6a054ca69950. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0cc5285a-5dc8-4636-a1c2-4e351a7fc2fc'] 2026-03-05 12:49:01,330 - WARNING - Deleting VN ctest-vn-09667778 failed..Will retry 2026-03-05 12:49:03,452 - DEBUG - Response for deleting network () 2026-03-05 12:49:03,452 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9dd1bd6f-77a9-441e-9007-0fad1a54b668 2026-03-05 12:49:03,459 - DEBUG - Response Code: 404 2026-03-05 12:49:03,459 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-05 12:49:03,466 - DEBUG - Requesting: http://10.0.0.33:8082/domain/4e3b2f1f-24d3-4ce6-b6de-9e97fb4e27a2 2026-03-05 12:49:03,527 - DEBUG - Requesting: http://10.0.0.33:8082/project/c5a4a9a5-fef5-4873-8cfb-7a8c6dcc24eb 2026-03-05 12:49:03,610 - INFO - Validated that VN ctest-vn-09667778 is not found in API Server 2026-03-05 12:49:03,624 - DEBUG - VN ctest-vn-09667778 is not present in Agent 10.0.0.33 2026-03-05 12:49:03,624 - INFO - Validated that VN ctest-vn-09667778 is not in any agent 2026-03-05 12:49:03,642 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09667778 info 2026-03-05 12:49:03,642 - INFO - Deleting VN ctest-vn-86251671 2026-03-05 12:49:03,791 - DEBUG - Response for deleting network () 2026-03-05 12:49:03,791 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/7761cfe9-6d80-48e0-bd0d-8d8b22290626 2026-03-05 12:49:03,798 - DEBUG - Response Code: 404 2026-03-05 12:49:03,798 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-03-05 12:49:03,809 - DEBUG - Requesting: http://10.0.0.33:8082/domain/4e3b2f1f-24d3-4ce6-b6de-9e97fb4e27a2 2026-03-05 12:49:03,866 - DEBUG - Requesting: http://10.0.0.33:8082/project/c5a4a9a5-fef5-4873-8cfb-7a8c6dcc24eb 2026-03-05 12:49:03,940 - INFO - Validated that VN ctest-vn-86251671 is not found in API Server 2026-03-05 12:49:03,952 - DEBUG - VN ctest-vn-86251671 is not present in Agent 10.0.0.33 2026-03-05 12:49:03,952 - INFO - Validated that VN ctest-vn-86251671 is not in any agent 2026-03-05 12:49:03,966 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86251671 info 2026-03-05 12:49:04,228 - DEBUG - No XMPP flaps were noticed during the test 2026-03-05 12:49:04,228 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33] 2026-03-05 12:49:04,228 - INFO - -------------------------------------------------------------------------------- 2026-03-05 12:49:04,986 - INFO - Deleted project: ctest-TestBasicPolicy-04373873, ID : c5a4a9a5-fef5-4873-8cfb-7a8c6dcc24eb