2026-01-27 10:39:15,095 - INFO - Domain Default found not creating 2026-01-27 10:39:15,269 - INFO - Project ctest-TestBasicPolicy-78241315 not found, creating it 2026-01-27 10:39:15,748 - INFO - Created Project:ctest-TestBasicPolicy-78241315, ID : 83861721-15a2-41c0-ba6c-de0f8345d14c 2026-01-27 10:39:17,378 - INFO - ================================================================================ 2026-01-27 10:39:17,379 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-27 10:39:17,379 - 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-01-27 10:39:17,634 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-01-27 10:39:17,634 - INFO - Initial checks done. Running the testcase now 2026-01-27 10:39:17,634 - INFO - 2026-01-27 10:39:18,243 - DEBUG - Response for create_network : {'network': {'id': 'b0bdbc3b-fb46-40e5-8b60-c72c2374e606', 'name': 'ctest-vn-94692637', 'tenant_id': '8386172115a241c0ba6cde0f8345d14c', 'project_id': '8386172115a241c0ba6cde0f8345d14c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78241315', 'ctest-vn-94692637'], 'port_security_enabled': True, 'description': ''}} 2026-01-27 10:39:18,451 - DEBUG - Response for create_subnet : {'subnet': {'id': 'df64b7e1-6738-43e0-a139-2f742c81666d', 'name': '', 'tenant_id': '8386172115a241c0ba6cde0f8345d14c', 'network_id': 'b0bdbc3b-fb46-40e5-8b60-c72c2374e606', 'ip_version': 4, 'cidr': '27.172.210.128/26', 'allocation_pools': [{'start': '27.172.210.130', 'end': '27.172.210.190'}], 'gateway_ip': '27.172.210.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.172.210.130', 'tags': [], 'project_id': '8386172115a241c0ba6cde0f8345d14c'}} 2026-01-27 10:39:18,471 - INFO - Created VN ctest-vn-94692637 2026-01-27 10:39:18,523 - DEBUG - VN ctest-vn-94692637 UUID is b0bdbc3b-fb46-40e5-8b60-c72c2374e606 2026-01-27 10:39:18,813 - DEBUG - Response for create_network : {'network': {'id': '36f860b3-476f-4e64-9559-b61c5cf2204e', 'name': 'ctest-vn-25849572', 'tenant_id': '8386172115a241c0ba6cde0f8345d14c', 'project_id': '8386172115a241c0ba6cde0f8345d14c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78241315', 'ctest-vn-25849572'], 'port_security_enabled': True, 'description': ''}} 2026-01-27 10:39:18,990 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fba51612-cf80-4ec3-9a99-f27c452ed728', 'name': '', 'tenant_id': '8386172115a241c0ba6cde0f8345d14c', 'network_id': '36f860b3-476f-4e64-9559-b61c5cf2204e', 'ip_version': 4, 'cidr': '28.165.3.64/26', 'allocation_pools': [{'start': '28.165.3.66', 'end': '28.165.3.126'}], 'gateway_ip': '28.165.3.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.165.3.66', 'tags': [], 'project_id': '8386172115a241c0ba6cde0f8345d14c'}} 2026-01-27 10:39:19,007 - INFO - Created VN ctest-vn-25849572 2026-01-27 10:39:19,059 - DEBUG - VN ctest-vn-25849572 UUID is 36f860b3-476f-4e64-9559-b61c5cf2204e 2026-01-27 10:39:19,173 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78241315:ctest-vn-94692637, 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-78241315:ctest-vn-25849572, 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-01-27 10:39:19,458 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b0bdbc3b-fb46-40e5-8b60-c72c2374e606', 'name': 'ctest-vn-94692637', 'tenant_id': '8386172115a241c0ba6cde0f8345d14c', 'project_id': '8386172115a241c0ba6cde0f8345d14c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['df64b7e1-6738-43e0-a139-2f742c81666d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78241315', 'ctest-vn-94692637'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78241315', 'ctest-policy-allow-all-25134915']], 'subnet_ipam': [{'subnet_cidr': '27.172.210.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-27 10:39:19,757 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '36f860b3-476f-4e64-9559-b61c5cf2204e', 'name': 'ctest-vn-25849572', 'tenant_id': '8386172115a241c0ba6cde0f8345d14c', 'project_id': '8386172115a241c0ba6cde0f8345d14c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fba51612-cf80-4ec3-9a99-f27c452ed728'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78241315', 'ctest-vn-25849572'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78241315', 'ctest-policy-allow-all-25134915']], 'subnet_ipam': [{'subnet_cidr': '28.165.3.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-27 10:39:19,907 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-27 10:39:20,244 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-27 10:39:20,275 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7a1bdd52-d4fd-45ed-a53e-8bdd6c90a83f 2026-01-27 10:39:20,287 - DEBUG - Requesting: http://10.0.0.38:8082/project/83861721-15a2-41c0-ba6c-de0f8345d14c 2026-01-27 10:39:20,360 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b0bdbc3b-fb46-40e5-8b60-c72c2374e606 2026-01-27 10:39:20,370 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b0bdbc3b-fb46-40e5-8b60-c72c2374e606 2026-01-27 10:39:20,379 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bf88a2c6-d5eb-4f70-a0c1-ae5b0d3c7415 2026-01-27 10:39:20,386 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bf88a2c6-d5eb-4f70-a0c1-ae5b0d3c7415 2026-01-27 10:39:20,392 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e4975425-69ce-44bf-9740-0e7eb77b429b 2026-01-27 10:39:20,397 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-27 10:39:20,397 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b0bdbc3b-fb46-40e5-8b60-c72c2374e606 2026-01-27 10:39:20,406 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bf88a2c6-d5eb-4f70-a0c1-ae5b0d3c7415 2026-01-27 10:39:20,419 - INFO - Verified VN network id 11 for VN b0bdbc3b-fb46-40e5-8b60-c72c2374e606 2026-01-27 10:39:20,419 - INFO - Verifications in API Server for VN ctest-vn-94692637 passed 2026-01-27 10:39:20,419 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b0bdbc3b-fb46-40e5-8b60-c72c2374e606 2026-01-27 10:39:20,427 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bf88a2c6-d5eb-4f70-a0c1-ae5b0d3c7415 2026-01-27 10:39:20,434 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bf88a2c6-d5eb-4f70-a0c1-ae5b0d3c7415 2026-01-27 10:39:20,440 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e4975425-69ce-44bf-9740-0e7eb77b429b 2026-01-27 10:39:20,451 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78241315:ctest-vn-94692637', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78241315', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12735542287078408421', 'uuid-lslong': '10043246161423558150'}, 'enable': 'true', 'created': '2026-01-27T10:39:18', 'last-modified': '2026-01-27T10:39:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.012998'} 2026-01-27 10:39:20,457 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-27 10:39:20,457 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94692637 passed 2026-01-27 10:39:20,458 - DEBUG - ====Verifying policy data for ctest-vn-94692637 in API_Server ====== 2026-01-27 10:39:20,458 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-27 10:39:20,463 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7a1bdd52-d4fd-45ed-a53e-8bdd6c90a83f 2026-01-27 10:39:20,473 - DEBUG - Requesting: http://10.0.0.38:8082/project/83861721-15a2-41c0-ba6c-de0f8345d14c 2026-01-27 10:39:20,543 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b0bdbc3b-fb46-40e5-8b60-c72c2374e606 2026-01-27 10:39:20,553 - DEBUG - ==>Verifying data for policy with id: 2483da72-0438-4099-bdb6-db615d72c869, fqn: ['default-domain', 'ctest-TestBasicPolicy-78241315', 'ctest-policy-allow-all-25134915'] 2026-01-27 10:39:20,553 - INFO - VN ctest-vn-94692637 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-27 10:39:20,553 - DEBUG - Verifying the vn in opserver 2026-01-27 10:39:20,553 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78241315:ctest-vn-94692637 virtual network link through opserver 10.0.0.38 2026-01-27 10:39:20,553 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-27 10:39:20,892 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-27 10:39:20,954 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78241315:ctest-vn-94692637', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78241315:ctest-vn-94692637?flat'} 2026-01-27 10:39:20,955 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78241315:ctest-vn-94692637 is found in opserver 2026-01-27 10:39:20,964 - DEBUG - Do not have enough data to verify VN in agent 2026-01-27 10:39:20,968 - DEBUG - VRF ids for VN ctest-vn-94692637: {} 2026-01-27 10:39:20,968 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-27 10:39:20,973 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7a1bdd52-d4fd-45ed-a53e-8bdd6c90a83f 2026-01-27 10:39:20,983 - DEBUG - Requesting: http://10.0.0.38:8082/project/83861721-15a2-41c0-ba6c-de0f8345d14c 2026-01-27 10:39:21,054 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/36f860b3-476f-4e64-9559-b61c5cf2204e 2026-01-27 10:39:21,065 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/36f860b3-476f-4e64-9559-b61c5cf2204e 2026-01-27 10:39:21,074 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/156bb2ed-6f3f-4280-a914-9679e02430dd 2026-01-27 10:39:21,080 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/156bb2ed-6f3f-4280-a914-9679e02430dd 2026-01-27 10:39:21,087 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3b989970-d3c0-45a7-a84a-0737842866b5 2026-01-27 10:39:21,093 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-27 10:39:21,093 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/36f860b3-476f-4e64-9559-b61c5cf2204e 2026-01-27 10:39:21,101 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/156bb2ed-6f3f-4280-a914-9679e02430dd 2026-01-27 10:39:21,113 - INFO - Verified VN network id 12 for VN 36f860b3-476f-4e64-9559-b61c5cf2204e 2026-01-27 10:39:21,113 - INFO - Verifications in API Server for VN ctest-vn-25849572 passed 2026-01-27 10:39:21,114 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/36f860b3-476f-4e64-9559-b61c5cf2204e 2026-01-27 10:39:21,122 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/156bb2ed-6f3f-4280-a914-9679e02430dd 2026-01-27 10:39:21,128 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/156bb2ed-6f3f-4280-a914-9679e02430dd 2026-01-27 10:39:21,135 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3b989970-d3c0-45a7-a84a-0737842866b5 2026-01-27 10:39:21,147 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78241315:ctest-vn-25849572', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78241315', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3961022195386240612', 'uuid-lslong': '10761833017513222222'}, 'enable': 'true', 'created': '2026-01-27T10:39:18', 'last-modified': '2026-01-27T10:39:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.471885'} 2026-01-27 10:39:21,154 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-27 10:39:21,154 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25849572 passed 2026-01-27 10:39:21,154 - DEBUG - ====Verifying policy data for ctest-vn-25849572 in API_Server ====== 2026-01-27 10:39:21,154 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-27 10:39:21,160 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7a1bdd52-d4fd-45ed-a53e-8bdd6c90a83f 2026-01-27 10:39:21,173 - DEBUG - Requesting: http://10.0.0.38:8082/project/83861721-15a2-41c0-ba6c-de0f8345d14c 2026-01-27 10:39:21,241 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/36f860b3-476f-4e64-9559-b61c5cf2204e 2026-01-27 10:39:21,250 - DEBUG - ==>Verifying data for policy with id: 2483da72-0438-4099-bdb6-db615d72c869, fqn: ['default-domain', 'ctest-TestBasicPolicy-78241315', 'ctest-policy-allow-all-25134915'] 2026-01-27 10:39:21,250 - INFO - VN ctest-vn-25849572 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-27 10:39:21,250 - DEBUG - Verifying the vn in opserver 2026-01-27 10:39:21,250 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78241315:ctest-vn-25849572 virtual network link through opserver 10.0.0.38 2026-01-27 10:39:21,250 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-27 10:39:21,260 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78241315:ctest-vn-25849572', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78241315:ctest-vn-25849572?flat'} 2026-01-27 10:39:21,260 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78241315:ctest-vn-25849572 is found in opserver 2026-01-27 10:39:21,270 - DEBUG - Do not have enough data to verify VN in agent 2026-01-27 10:39:21,274 - DEBUG - VRF ids for VN ctest-vn-25849572: {} 2026-01-27 10:39:21,332 - DEBUG - Services list from nova: [, , ] 2026-01-27 10:39:22,451 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5085-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5085-1) 2026-01-27 10:39:23,710 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5085-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5085-1) 2026-01-27 10:39:23,710 - INFO - Waiting for VM ctest-TestBasicPolicy-78241315-08340195 to be up.. 2026-01-27 10:39:23,788 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-27 10:39:28,878 - DEBUG - VM is in ACTIVE state now 2026-01-27 10:39:28,878 - INFO - VM name : ctest-TestBasicPolicy-78241315-08340195 2026-01-27 10:39:28,963 - DEBUG - VM ctest-TestBasicPolicy-78241315-08340195 ID is eb69fe7b-cbc8-4c84-b513-8a8c185a5f1f 2026-01-27 10:39:28,985 - DEBUG - VM ctest-TestBasicPolicy-78241315-08340195 launched on Node cn-jenkins-deploy-platform-ansible-os-5085-1 2026-01-27 10:39:29,065 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/eb69fe7b-cbc8-4c84-b513-8a8c185a5f1f 2026-01-27 10:39:29,073 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6d88ab6b-b0e5-4e4f-bab6-2715771a0f22 2026-01-27 10:39:32,329 - 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 1022ms') 2026-01-27 10:39:32,329 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78241315-08340195 failed! 2026-01-27 10:39:32,383 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-78241315:ctest-vn-94692637 is 27.172.210.129 and allocation pool is NOT set 2026-01-27 10:39:34,446 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.73 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.730/3.328/3.927/0.598 ms') 2026-01-27 10:39:34,446 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78241315-08340195 passed 2026-01-27 10:39:34,595 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-27 10:39:34,595 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78241315-08340195, IP 27.172.210.131, Port 22 2026-01-27 10:39:34,751 - DEBUG - VM ctest-TestBasicPolicy-78241315-08340195 is ready for SSH connections 2026-01-27 10:39:34,751 - INFO - Waiting for VM ctest-TestBasicPolicy-78241315-73218924 to be up.. 2026-01-27 10:39:34,832 - DEBUG - VM is in ACTIVE state now 2026-01-27 10:39:34,832 - INFO - VM name : ctest-TestBasicPolicy-78241315-73218924 2026-01-27 10:39:34,912 - DEBUG - VM ctest-TestBasicPolicy-78241315-73218924 ID is f0c5692b-c096-4cc6-b4e6-ce90ae4ffac8 2026-01-27 10:39:34,912 - DEBUG - VM ctest-TestBasicPolicy-78241315-73218924 launched on Node cn-jenkins-deploy-platform-ansible-os-5085-1 2026-01-27 10:39:34,988 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f0c5692b-c096-4cc6-b4e6-ce90ae4ffac8 2026-01-27 10:39:34,999 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b890c0b8-3897-4b69-9053-ccca5a27b23c 2026-01-27 10:39:36,242 - 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.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.41 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 = 1.405/2.418/3.432/1.013 ms') 2026-01-27 10:39:36,242 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-78241315-73218924 passed 2026-01-27 10:39:36,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-27 10:39:36,391 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78241315-73218924, IP 28.165.3.67, Port 22 2026-01-27 10:39:36,550 - DEBUG - VM ctest-TestBasicPolicy-78241315-73218924 is ready for SSH connections 2026-01-27 10:39:36,550 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-27 10:39:36,550 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.165.3.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-27 10:39:36,551 - DEBUG - ping -s 56 -c 3 -W 1 28.165.3.67 2026-01-27 10:39:40,647 - DEBUG - PING 28.165.3.67 (28.165.3.67): 56 data bytes 64 bytes from 28.165.3.67: seq=0 ttl=63 time=3.711 ms 64 bytes from 28.165.3.67: seq=1 ttl=63 time=0.893 ms 64 bytes from 28.165.3.67: seq=2 ttl=63 time=0.889 ms --- 28.165.3.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.889/1.831/3.711 ms 2026-01-27 10:39:40,647 - INFO - Ping to IP 28.165.3.67 from VM ctest-TestBasicPolicy-78241315-08340195 passed 2026-01-27 10:39:40,831 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2483da72-0438-4099-bdb6-db615d72c869", "href": "http://10.0.0.38:8082/network-policy/2483da72-0438-4099-bdb6-db615d72c869"}} 2026-01-27 10:39:40,831 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-27 10:39:40,831 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.165.3.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-27 10:39:40,831 - DEBUG - ping -s 56 -c 3 -W 1 28.165.3.67 2026-01-27 10:39:44,067 - DEBUG - PING 28.165.3.67 (28.165.3.67): 56 data bytes --- 28.165.3.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-27 10:39:44,067 - WARNING - Ping to IP 28.165.3.67 from VM ctest-TestBasicPolicy-78241315-08340195 failed 2026-01-27 10:39:44,068 - INFO - Deleting VM ctest-TestBasicPolicy-78241315-73218924 2026-01-27 10:39:44,137 - INFO - Deleting VM ctest-TestBasicPolicy-78241315-08340195 2026-01-27 10:39:44,520 - INFO - Deleted policy ctest-policy-allow-all-25134915 2026-01-27 10:39:44,520 - INFO - Deleting VN ctest-vn-25849572 2026-01-27 10:39:44,565 - DEBUG - VN 36f860b3-476f-4e64-9559-b61c5cf2204e still in use: Unable to complete operation on network 36f860b3-476f-4e64-9559-b61c5cf2204e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a3240e32-7ef7-4507-bb96-6f8fe8880db2'] 2026-01-27 10:39:44,565 - WARNING - Deleting VN ctest-vn-25849572 failed..Will retry 2026-01-27 10:39:46,666 - DEBUG - Response for deleting network () 2026-01-27 10:39:46,666 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/156bb2ed-6f3f-4280-a914-9679e02430dd 2026-01-27 10:39:46,671 - DEBUG - Response Code: 404 2026-01-27 10:39:46,671 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-27 10:39:46,676 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7a1bdd52-d4fd-45ed-a53e-8bdd6c90a83f 2026-01-27 10:39:46,728 - DEBUG - Requesting: http://10.0.0.38:8082/project/83861721-15a2-41c0-ba6c-de0f8345d14c 2026-01-27 10:39:46,800 - INFO - Validated that VN ctest-vn-25849572 is not found in API Server 2026-01-27 10:39:46,811 - DEBUG - VN ctest-vn-25849572 is not present in Agent 10.0.0.38 2026-01-27 10:39:46,811 - INFO - Validated that VN ctest-vn-25849572 is not in any agent 2026-01-27 10:39:46,829 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25849572 info 2026-01-27 10:39:46,829 - INFO - Deleting VN ctest-vn-94692637 2026-01-27 10:39:46,932 - DEBUG - Response for deleting network () 2026-01-27 10:39:46,933 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bf88a2c6-d5eb-4f70-a0c1-ae5b0d3c7415 2026-01-27 10:39:46,940 - DEBUG - Response Code: 404 2026-01-27 10:39:46,941 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-27 10:39:46,947 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7a1bdd52-d4fd-45ed-a53e-8bdd6c90a83f 2026-01-27 10:39:47,005 - DEBUG - Requesting: http://10.0.0.38:8082/project/83861721-15a2-41c0-ba6c-de0f8345d14c 2026-01-27 10:39:47,096 - INFO - Validated that VN ctest-vn-94692637 is not found in API Server 2026-01-27 10:39:47,109 - DEBUG - VN ctest-vn-94692637 is not present in Agent 10.0.0.38 2026-01-27 10:39:47,109 - INFO - Validated that VN ctest-vn-94692637 is not in any agent 2026-01-27 10:39:47,124 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94692637 info 2026-01-27 10:39:47,395 - DEBUG - No XMPP flaps were noticed during the test
2026-01-27 10:39:47,395 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-01-27 10:39:47,395 - INFO - -------------------------------------------------------------------------------- 2026-01-27 10:39:48,179 - INFO - Deleted project: ctest-TestBasicPolicy-78241315, ID : 83861721-15a2-41c0-ba6c-de0f8345d14c