2026-11-03 00:49:17,357 - INFO - Domain Default found not creating 2026-11-03 00:49:17,529 - INFO - Project ctest-TestBasicPolicy-91850428 not found, creating it 2026-11-03 00:49:18,003 - INFO - Created Project:ctest-TestBasicPolicy-91850428, ID : 282e5f5a-14c2-42d9-8859-efe3433830a1 2026-11-03 00:49:19,573 - INFO - ================================================================================ 2026-11-03 00:49:19,573 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-03 00:49:19,573 - 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-11-03 00:49:19,831 - DEBUG - Nothing to compare xmpp stats {'10.0.0.251': {'10.20.0.29': '0'}} with 2026-11-03 00:49:19,831 - INFO - Initial checks done. Running the testcase now 2026-11-03 00:49:19,831 - INFO - 2026-11-03 00:49:20,403 - DEBUG - Response for create_network : {'network': {'id': 'e09962a5-9e5b-494f-b93d-bf70f823477f', 'name': 'ctest-vn-13121422', 'tenant_id': '282e5f5a14c242d98859efe3433830a1', 'project_id': '282e5f5a14c242d98859efe3433830a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91850428', 'ctest-vn-13121422'], 'port_security_enabled': True, 'description': ''}} 2026-11-03 00:49:20,602 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f3aa7c7-245a-4b52-8a89-c37821a58772', 'name': '', 'tenant_id': '282e5f5a14c242d98859efe3433830a1', 'network_id': 'e09962a5-9e5b-494f-b93d-bf70f823477f', 'ip_version': 4, 'cidr': '212.249.155.128/26', 'allocation_pools': [{'start': '212.249.155.130', 'end': '212.249.155.190'}], 'gateway_ip': '212.249.155.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.249.155.130', 'tags': [], 'project_id': '282e5f5a14c242d98859efe3433830a1'}} 2026-11-03 00:49:20,617 - INFO - Created VN ctest-vn-13121422 2026-11-03 00:49:20,670 - DEBUG - VN ctest-vn-13121422 UUID is e09962a5-9e5b-494f-b93d-bf70f823477f 2026-11-03 00:49:21,015 - DEBUG - Response for create_network : {'network': {'id': '7a3cdc3a-1e72-470a-b2f5-7c6f523addb1', 'name': 'ctest-vn-08464283', 'tenant_id': '282e5f5a14c242d98859efe3433830a1', 'project_id': '282e5f5a14c242d98859efe3433830a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91850428', 'ctest-vn-08464283'], 'port_security_enabled': True, 'description': ''}} 2026-11-03 00:49:21,241 - DEBUG - Response for create_subnet : {'subnet': {'id': '04c6e096-4f9d-4c69-9d0b-a382c771537d', 'name': '', 'tenant_id': '282e5f5a14c242d98859efe3433830a1', 'network_id': '7a3cdc3a-1e72-470a-b2f5-7c6f523addb1', 'ip_version': 4, 'cidr': '56.174.232.0/26', 'allocation_pools': [{'start': '56.174.232.2', 'end': '56.174.232.62'}], 'gateway_ip': '56.174.232.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.174.232.2', 'tags': [], 'project_id': '282e5f5a14c242d98859efe3433830a1'}} 2026-11-03 00:49:21,256 - INFO - Created VN ctest-vn-08464283 2026-11-03 00:49:21,310 - DEBUG - VN ctest-vn-08464283 UUID is 7a3cdc3a-1e72-470a-b2f5-7c6f523addb1 2026-11-03 00:49:21,458 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-91850428:ctest-vn-13121422, 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-91850428:ctest-vn-08464283, 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-11-03 00:49:21,752 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e09962a5-9e5b-494f-b93d-bf70f823477f', 'name': 'ctest-vn-13121422', 'tenant_id': '282e5f5a14c242d98859efe3433830a1', 'project_id': '282e5f5a14c242d98859efe3433830a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['0f3aa7c7-245a-4b52-8a89-c37821a58772'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91850428', 'ctest-vn-13121422'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91850428', 'ctest-policy-allow-all-18730692']], 'subnet_ipam': [{'subnet_cidr': '212.249.155.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-03 00:49:21,994 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7a3cdc3a-1e72-470a-b2f5-7c6f523addb1', 'name': 'ctest-vn-08464283', 'tenant_id': '282e5f5a14c242d98859efe3433830a1', 'project_id': '282e5f5a14c242d98859efe3433830a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['04c6e096-4f9d-4c69-9d0b-a382c771537d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91850428', 'ctest-vn-08464283'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91850428', 'ctest-policy-allow-all-18730692']], 'subnet_ipam': [{'subnet_cidr': '56.174.232.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-03 00:49:22,158 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-11-03 00:49:22,474 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-11-03 00:49:22,501 - DEBUG - Requesting: http://10.0.0.251:8082/domain/13ea2d17-de7d-421b-91c6-939d93d64f03 2026-11-03 00:49:22,512 - DEBUG - Requesting: http://10.0.0.251:8082/project/282e5f5a-14c2-42d9-8859-efe3433830a1 2026-11-03 00:49:22,581 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/e09962a5-9e5b-494f-b93d-bf70f823477f 2026-11-03 00:49:22,592 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/e09962a5-9e5b-494f-b93d-bf70f823477f 2026-11-03 00:49:22,600 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/2e0dd678-399e-4ced-9abc-e3ec539d4a2e 2026-11-03 00:49:22,606 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/2e0dd678-399e-4ced-9abc-e3ec539d4a2e 2026-11-03 00:49:22,611 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/64a79290-2ec7-49cd-a73a-87cb2876de1b 2026-11-03 00:49:22,616 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-03 00:49:22,616 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/e09962a5-9e5b-494f-b93d-bf70f823477f 2026-11-03 00:49:22,623 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/2e0dd678-399e-4ced-9abc-e3ec539d4a2e 2026-11-03 00:49:22,634 - INFO - Verified VN network id 12 for VN e09962a5-9e5b-494f-b93d-bf70f823477f 2026-11-03 00:49:22,634 - INFO - Verifications in API Server for VN ctest-vn-13121422 passed 2026-11-03 00:49:22,634 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/e09962a5-9e5b-494f-b93d-bf70f823477f 2026-11-03 00:49:22,642 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/2e0dd678-399e-4ced-9abc-e3ec539d4a2e 2026-11-03 00:49:22,648 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/2e0dd678-399e-4ced-9abc-e3ec539d4a2e 2026-11-03 00:49:22,653 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/64a79290-2ec7-49cd-a73a-87cb2876de1b 2026-11-03 00:49:22,664 - DEBUG - Control-node 10.0.0.251 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91850428:ctest-vn-13121422', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91850428', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16184075199398496591', 'uuid-lslong': '13348035362516322175'}, 'enable': 'true', 'created': '2026-11-03T00:49:20', 'last-modified': '2026-11-03T00:49:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.933147'} 2026-11-03 00:49:22,670 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-03 00:49:22,670 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13121422 passed 2026-11-03 00:49:22,670 - DEBUG - ====Verifying policy data for ctest-vn-13121422 in API_Server ====== 2026-11-03 00:49:22,670 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-11-03 00:49:22,675 - DEBUG - Requesting: http://10.0.0.251:8082/domain/13ea2d17-de7d-421b-91c6-939d93d64f03 2026-11-03 00:49:22,685 - DEBUG - Requesting: http://10.0.0.251:8082/project/282e5f5a-14c2-42d9-8859-efe3433830a1 2026-11-03 00:49:22,754 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/e09962a5-9e5b-494f-b93d-bf70f823477f 2026-11-03 00:49:22,763 - DEBUG - ==>Verifying data for policy with id: b79d5463-05d2-4852-8f09-8758400764cb, fqn: ['default-domain', 'ctest-TestBasicPolicy-91850428', 'ctest-policy-allow-all-18730692'] 2026-11-03 00:49:22,763 - INFO - VN ctest-vn-13121422 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-03 00:49:22,764 - DEBUG - Verifying the vn in opserver 2026-11-03 00:49:22,764 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91850428:ctest-vn-13121422 virtual network link through opserver 10.0.0.251 2026-11-03 00:49:22,764 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks 2026-11-03 00:49:23,083 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks 2026-11-03 00:49:23,135 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91850428:ctest-vn-13121422', 'href': 'http://10.0.0.251:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91850428:ctest-vn-13121422?flat'} 2026-11-03 00:49:23,135 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91850428:ctest-vn-13121422 is found in opserver 2026-11-03 00:49:23,147 - DEBUG - Do not have enough data to verify VN in agent 2026-11-03 00:49:23,151 - DEBUG - VRF ids for VN ctest-vn-13121422: {} 2026-11-03 00:49:23,151 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-11-03 00:49:23,157 - DEBUG - Requesting: http://10.0.0.251:8082/domain/13ea2d17-de7d-421b-91c6-939d93d64f03 2026-11-03 00:49:23,166 - DEBUG - Requesting: http://10.0.0.251:8082/project/282e5f5a-14c2-42d9-8859-efe3433830a1 2026-11-03 00:49:23,238 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/7a3cdc3a-1e72-470a-b2f5-7c6f523addb1 2026-11-03 00:49:23,250 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/7a3cdc3a-1e72-470a-b2f5-7c6f523addb1 2026-11-03 00:49:23,258 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/df42b32e-13c3-4dcf-aed5-894ef516fd20 2026-11-03 00:49:23,265 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/df42b32e-13c3-4dcf-aed5-894ef516fd20 2026-11-03 00:49:23,273 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/df0254d4-3ec3-4b82-9559-6b4c998206a7 2026-11-03 00:49:23,280 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-03 00:49:23,280 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/7a3cdc3a-1e72-470a-b2f5-7c6f523addb1 2026-11-03 00:49:23,288 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/df42b32e-13c3-4dcf-aed5-894ef516fd20 2026-11-03 00:49:23,301 - INFO - Verified VN network id 13 for VN 7a3cdc3a-1e72-470a-b2f5-7c6f523addb1 2026-11-03 00:49:23,301 - INFO - Verifications in API Server for VN ctest-vn-08464283 passed 2026-11-03 00:49:23,301 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/7a3cdc3a-1e72-470a-b2f5-7c6f523addb1 2026-11-03 00:49:23,309 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/df42b32e-13c3-4dcf-aed5-894ef516fd20 2026-11-03 00:49:23,317 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/df42b32e-13c3-4dcf-aed5-894ef516fd20 2026-11-03 00:49:23,323 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/df0254d4-3ec3-4b82-9559-6b4c998206a7 2026-11-03 00:49:23,333 - DEBUG - Control-node 10.0.0.251 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91850428:ctest-vn-08464283', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91850428', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8808157113406867210', 'uuid-lslong': '12895349925608086961'}, 'enable': 'true', 'created': '2026-11-03T00:49:20', 'last-modified': '2026-11-03T00:49:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.378124'} 2026-11-03 00:49:23,339 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-03 00:49:23,340 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08464283 passed 2026-11-03 00:49:23,340 - DEBUG - ====Verifying policy data for ctest-vn-08464283 in API_Server ====== 2026-11-03 00:49:23,340 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-11-03 00:49:23,346 - DEBUG - Requesting: http://10.0.0.251:8082/domain/13ea2d17-de7d-421b-91c6-939d93d64f03 2026-11-03 00:49:23,356 - DEBUG - Requesting: http://10.0.0.251:8082/project/282e5f5a-14c2-42d9-8859-efe3433830a1 2026-11-03 00:49:23,428 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/7a3cdc3a-1e72-470a-b2f5-7c6f523addb1 2026-11-03 00:49:23,437 - DEBUG - ==>Verifying data for policy with id: b79d5463-05d2-4852-8f09-8758400764cb, fqn: ['default-domain', 'ctest-TestBasicPolicy-91850428', 'ctest-policy-allow-all-18730692'] 2026-11-03 00:49:23,438 - INFO - VN ctest-vn-08464283 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-03 00:49:23,438 - DEBUG - Verifying the vn in opserver 2026-11-03 00:49:23,438 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91850428:ctest-vn-08464283 virtual network link through opserver 10.0.0.251 2026-11-03 00:49:23,438 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks 2026-11-03 00:49:23,448 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91850428:ctest-vn-08464283', 'href': 'http://10.0.0.251:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91850428:ctest-vn-08464283?flat'} 2026-11-03 00:49:23,448 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91850428:ctest-vn-08464283 is found in opserver 2026-11-03 00:49:23,458 - DEBUG - Do not have enough data to verify VN in agent 2026-11-03 00:49:23,462 - DEBUG - VRF ids for VN ctest-vn-08464283: {} 2026-11-03 00:49:23,518 - DEBUG - Services list from nova: [, , ] 2026-11-03 00:49:23,963 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6474-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6474-1) 2026-11-03 00:49:24,345 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6474-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6474-1) 2026-11-03 00:49:24,345 - INFO - Waiting for VM ctest-TestBasicPolicy-91850428-23193219 to be up.. 2026-11-03 00:49:24,388 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-03 00:49:29,457 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-03 00:49:34,545 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-03 00:49:39,620 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-03 00:49:44,705 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-03 00:49:49,782 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-03 00:49:54,869 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-03 00:49:59,952 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-03 00:50:05,036 - DEBUG - VM is in ACTIVE state now 2026-11-03 00:50:05,036 - INFO - VM name : ctest-TestBasicPolicy-91850428-23193219 2026-11-03 00:50:05,113 - DEBUG - VM ctest-TestBasicPolicy-91850428-23193219 ID is 745bafab-7e94-43b7-8dba-1eb5d768d79b 2026-11-03 00:50:05,134 - DEBUG - VM ctest-TestBasicPolicy-91850428-23193219 launched on Node cn-jenkins-deploy-platform-ansible-os-6474-1 2026-11-03 00:50:05,212 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/745bafab-7e94-43b7-8dba-1eb5d768d79b 2026-11-03 00:50:05,225 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine-interface/98720408-f27f-4c02-bd10-dc8a4a84eca1 2026-11-03 00:50:08,480 - 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=5.25 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 5.248/5.248/5.248/0.000 ms') 2026-11-03 00:50:08,480 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91850428-23193219 passed 2026-11-03 00:50:08,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-03 00:50:08,646 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91850428-23193219, IP 212.249.155.131, Port 22 2026-11-03 00:50:08,801 - DEBUG - VM ctest-TestBasicPolicy-91850428-23193219 is ready for SSH connections 2026-11-03 00:50:08,801 - INFO - Waiting for VM ctest-TestBasicPolicy-91850428-95102197 to be up.. 2026-11-03 00:50:08,878 - DEBUG - VM is in ACTIVE state now 2026-11-03 00:50:08,878 - INFO - VM name : ctest-TestBasicPolicy-91850428-95102197 2026-11-03 00:50:08,947 - DEBUG - VM ctest-TestBasicPolicy-91850428-95102197 ID is 7c6b3703-0f1f-4e23-801a-dd37d7eb223c 2026-11-03 00:50:08,948 - DEBUG - VM ctest-TestBasicPolicy-91850428-95102197 launched on Node cn-jenkins-deploy-platform-ansible-os-6474-1 2026-11-03 00:50:09,025 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/7c6b3703-0f1f-4e23-801a-dd37d7eb223c 2026-11-03 00:50:09,036 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine-interface/fd5dd818-5757-464a-9eb4-bb33bb001faa 2026-11-03 00:50:10,288 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.566 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.566/2.014/3.462/1.448 ms') 2026-11-03 00:50:10,289 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-91850428-95102197 passed 2026-11-03 00:50:10,438 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-03 00:50:10,438 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91850428-95102197, IP 56.174.232.3, Port 22 2026-11-03 00:50:10,608 - DEBUG - VM ctest-TestBasicPolicy-91850428-95102197 is ready for SSH connections 2026-11-03 00:50:10,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-03 00:50:10,608 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.174.232.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.251, gateway password: c0ntrail123 2026-11-03 00:50:10,608 - DEBUG - ping -s 56 -c 3 -W 1 56.174.232.3 2026-11-03 00:50:14,574 - DEBUG - PING 56.174.232.3 (56.174.232.3): 56 data bytes 64 bytes from 56.174.232.3: seq=0 ttl=63 time=5.287 ms 64 bytes from 56.174.232.3: seq=1 ttl=63 time=1.138 ms 64 bytes from 56.174.232.3: seq=2 ttl=63 time=0.980 ms --- 56.174.232.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.980/2.468/5.287 ms 2026-11-03 00:50:14,574 - INFO - Ping to IP 56.174.232.3 from VM ctest-TestBasicPolicy-91850428-23193219 passed 2026-11-03 00:50:14,753 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b79d5463-05d2-4852-8f09-8758400764cb", "href": "http://10.0.0.251:8082/network-policy/b79d5463-05d2-4852-8f09-8758400764cb"}} 2026-11-03 00:50:14,753 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-03 00:50:14,754 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.174.232.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.251, gateway password: c0ntrail123 2026-11-03 00:50:14,754 - DEBUG - ping -s 56 -c 3 -W 1 56.174.232.3 2026-11-03 00:50:17,880 - DEBUG - PING 56.174.232.3 (56.174.232.3): 56 data bytes 64 bytes from 56.174.232.3: seq=0 ttl=63 time=1.553 ms --- 56.174.232.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.553/1.553/1.553 ms 2026-11-03 00:50:17,880 - WARNING - Ping to IP 56.174.232.3 from VM ctest-TestBasicPolicy-91850428-23193219 failed 2026-11-03 00:50:17,880 - INFO - Deleting VM ctest-TestBasicPolicy-91850428-95102197 2026-11-03 00:50:17,959 - INFO - Deleting VM ctest-TestBasicPolicy-91850428-23193219 2026-11-03 00:50:18,329 - INFO - Deleted policy ctest-policy-allow-all-18730692 2026-11-03 00:50:18,329 - INFO - Deleting VN ctest-vn-08464283 2026-11-03 00:50:18,361 - DEBUG - VN 7a3cdc3a-1e72-470a-b2f5-7c6f523addb1 still in use: Unable to complete operation on network 7a3cdc3a-1e72-470a-b2f5-7c6f523addb1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d781401e-c860-4536-84d5-18fbad633479'] 2026-11-03 00:50:18,362 - WARNING - Deleting VN ctest-vn-08464283 failed..Will retry 2026-11-03 00:50:20,396 - DEBUG - VN 7a3cdc3a-1e72-470a-b2f5-7c6f523addb1 still in use: Unable to complete operation on network 7a3cdc3a-1e72-470a-b2f5-7c6f523addb1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a8afae78-cb8d-403e-a140-90cd3c4e2945'] 2026-11-03 00:50:20,396 - WARNING - Deleting VN ctest-vn-08464283 failed..Will retry 2026-11-03 00:50:22,513 - DEBUG - Response for deleting network () 2026-11-03 00:50:22,514 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/df42b32e-13c3-4dcf-aed5-894ef516fd20 2026-11-03 00:50:22,521 - DEBUG - Response Code: 404 2026-11-03 00:50:22,521 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-11-03 00:50:22,527 - DEBUG - Requesting: http://10.0.0.251:8082/domain/13ea2d17-de7d-421b-91c6-939d93d64f03 2026-11-03 00:50:22,580 - DEBUG - Requesting: http://10.0.0.251:8082/project/282e5f5a-14c2-42d9-8859-efe3433830a1 2026-11-03 00:50:22,657 - INFO - Validated that VN ctest-vn-08464283 is not found in API Server 2026-11-03 00:50:22,669 - DEBUG - VN ctest-vn-08464283 is not present in Agent 10.0.0.251 2026-11-03 00:50:22,669 - INFO - Validated that VN ctest-vn-08464283 is not in any agent 2026-11-03 00:50:22,686 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08464283 info 2026-11-03 00:50:22,686 - INFO - Deleting VN ctest-vn-13121422 2026-11-03 00:50:22,804 - DEBUG - Response for deleting network () 2026-11-03 00:50:22,805 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/2e0dd678-399e-4ced-9abc-e3ec539d4a2e 2026-11-03 00:50:22,812 - DEBUG - Response Code: 404 2026-11-03 00:50:22,812 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-11-03 00:50:22,819 - DEBUG - Requesting: http://10.0.0.251:8082/domain/13ea2d17-de7d-421b-91c6-939d93d64f03 2026-11-03 00:50:22,872 - DEBUG - Requesting: http://10.0.0.251:8082/project/282e5f5a-14c2-42d9-8859-efe3433830a1 2026-11-03 00:50:22,948 - INFO - Validated that VN ctest-vn-13121422 is not found in API Server 2026-11-03 00:50:22,960 - DEBUG - VN ctest-vn-13121422 is not present in Agent 10.0.0.251 2026-11-03 00:50:22,960 - INFO - Validated that VN ctest-vn-13121422 is not in any agent 2026-11-03 00:50:22,976 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13121422 info 2026-11-03 00:50:23,233 - DEBUG - No XMPP flaps were noticed during the test
2026-11-03 00:50:23,233 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:04]
2026-11-03 00:50:23,233 - INFO - -------------------------------------------------------------------------------- 2026-11-03 00:50:23,991 - INFO - Deleted project: ctest-TestBasicPolicy-91850428, ID : 282e5f5a-14c2-42d9-8859-efe3433830a1