2025-10-30 13:50:42,230 - INFO - Domain Default found not creating 2025-10-30 13:50:42,364 - INFO - Project ctest-TestBasicPolicy-75791023 not found, creating it 2025-10-30 13:50:42,782 - INFO - Created Project:ctest-TestBasicPolicy-75791023, ID : acb1a5da-d3fa-443e-9f13-5f8e6e9d8bae 2025-10-30 13:50:44,152 - INFO - ================================================================================ 2025-10-30 13:50:44,153 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-30 13:50:44,153 - 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 2025-10-30 13:50:44,414 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with 2025-10-30 13:50:44,414 - INFO - Initial checks done. Running the testcase now 2025-10-30 13:50:44,414 - INFO - 2025-10-30 13:50:44,932 - DEBUG - Response for create_network : {'network': {'id': 'da1af666-4dcb-4c41-9090-8e2abbeb2aa4', 'name': 'ctest-vn-05362953', 'tenant_id': 'acb1a5dad3fa443e9f135f8e6e9d8bae', 'project_id': 'acb1a5dad3fa443e9f135f8e6e9d8bae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75791023', 'ctest-vn-05362953'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 13:50:45,102 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dcb70e02-88b3-417e-b74a-5959d6f0f0d9', 'name': '', 'tenant_id': 'acb1a5dad3fa443e9f135f8e6e9d8bae', 'network_id': 'da1af666-4dcb-4c41-9090-8e2abbeb2aa4', 'ip_version': 4, 'cidr': '103.17.142.128/26', 'allocation_pools': [{'start': '103.17.142.130', 'end': '103.17.142.190'}], 'gateway_ip': '103.17.142.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.17.142.130', 'tags': [], 'project_id': 'acb1a5dad3fa443e9f135f8e6e9d8bae'}} 2025-10-30 13:50:45,118 - INFO - Created VN ctest-vn-05362953 2025-10-30 13:50:45,168 - DEBUG - VN ctest-vn-05362953 UUID is da1af666-4dcb-4c41-9090-8e2abbeb2aa4 2025-10-30 13:50:45,469 - DEBUG - Response for create_network : {'network': {'id': 'da5fa23d-80d0-495a-9959-0364e86486a4', 'name': 'ctest-vn-46996189', 'tenant_id': 'acb1a5dad3fa443e9f135f8e6e9d8bae', 'project_id': 'acb1a5dad3fa443e9f135f8e6e9d8bae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75791023', 'ctest-vn-46996189'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 13:50:45,666 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc2f09ec-ad2f-440d-a45e-9bf9f224edfb', 'name': '', 'tenant_id': 'acb1a5dad3fa443e9f135f8e6e9d8bae', 'network_id': 'da5fa23d-80d0-495a-9959-0364e86486a4', 'ip_version': 4, 'cidr': '201.226.154.0/26', 'allocation_pools': [{'start': '201.226.154.2', 'end': '201.226.154.62'}], 'gateway_ip': '201.226.154.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.226.154.2', 'tags': [], 'project_id': 'acb1a5dad3fa443e9f135f8e6e9d8bae'}} 2025-10-30 13:50:45,682 - INFO - Created VN ctest-vn-46996189 2025-10-30 13:50:45,732 - DEBUG - VN ctest-vn-46996189 UUID is da5fa23d-80d0-495a-9959-0364e86486a4 2025-10-30 13:50:45,876 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-75791023:ctest-vn-05362953, 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-75791023:ctest-vn-46996189, 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] 2025-10-30 13:50:46,161 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'da1af666-4dcb-4c41-9090-8e2abbeb2aa4', 'name': 'ctest-vn-05362953', 'tenant_id': 'acb1a5dad3fa443e9f135f8e6e9d8bae', 'project_id': 'acb1a5dad3fa443e9f135f8e6e9d8bae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dcb70e02-88b3-417e-b74a-5959d6f0f0d9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75791023', 'ctest-vn-05362953'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75791023', 'ctest-policy-allow-all-19469155']], 'subnet_ipam': [{'subnet_cidr': '103.17.142.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 13:50:46,373 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'da5fa23d-80d0-495a-9959-0364e86486a4', 'name': 'ctest-vn-46996189', 'tenant_id': 'acb1a5dad3fa443e9f135f8e6e9d8bae', 'project_id': 'acb1a5dad3fa443e9f135f8e6e9d8bae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fc2f09ec-ad2f-440d-a45e-9bf9f224edfb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75791023', 'ctest-vn-46996189'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75791023', 'ctest-policy-allow-all-19469155']], 'subnet_ipam': [{'subnet_cidr': '201.226.154.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 13:50:46,560 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-30 13:50:46,850 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-30 13:50:46,876 - DEBUG - Requesting: http://10.0.0.141:8082/domain/a96023cb-56f4-4ce0-9a62-0b2ecdfbbca8 2025-10-30 13:50:46,886 - DEBUG - Requesting: http://10.0.0.141:8082/project/acb1a5da-d3fa-443e-9f13-5f8e6e9d8bae 2025-10-30 13:50:46,954 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/da1af666-4dcb-4c41-9090-8e2abbeb2aa4 2025-10-30 13:50:46,964 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/da1af666-4dcb-4c41-9090-8e2abbeb2aa4 2025-10-30 13:50:46,972 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/8e8f317f-6382-498b-bfed-e97eeb76e874 2025-10-30 13:50:46,979 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/8e8f317f-6382-498b-bfed-e97eeb76e874 2025-10-30 13:50:46,985 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/eba31fb1-162a-4318-8fad-277e0ca2881c 2025-10-30 13:50:46,990 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 13:50:46,990 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/da1af666-4dcb-4c41-9090-8e2abbeb2aa4 2025-10-30 13:50:46,998 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/8e8f317f-6382-498b-bfed-e97eeb76e874 2025-10-30 13:50:47,013 - INFO - Verified VN network id 12 for VN da1af666-4dcb-4c41-9090-8e2abbeb2aa4 2025-10-30 13:50:47,013 - INFO - Verifications in API Server for VN ctest-vn-05362953 passed 2025-10-30 13:50:47,013 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/da1af666-4dcb-4c41-9090-8e2abbeb2aa4 2025-10-30 13:50:47,021 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/8e8f317f-6382-498b-bfed-e97eeb76e874 2025-10-30 13:50:47,026 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/8e8f317f-6382-498b-bfed-e97eeb76e874 2025-10-30 13:50:47,031 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/eba31fb1-162a-4318-8fad-277e0ca2881c 2025-10-30 13:50:47,042 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75791023:ctest-vn-05362953', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75791023', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15716144768915033153', 'uuid-lslong': '10416982252300479140'}, 'enable': 'true', 'created': '2025-10-30T13:50:44', 'last-modified': '2025-10-30T13:50:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.899264'} 2025-10-30 13:50:47,048 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 13:50:47,048 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05362953 passed 2025-10-30 13:50:47,048 - DEBUG - ====Verifying policy data for ctest-vn-05362953 in API_Server ====== 2025-10-30 13:50:47,048 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-30 13:50:47,054 - DEBUG - Requesting: http://10.0.0.141:8082/domain/a96023cb-56f4-4ce0-9a62-0b2ecdfbbca8 2025-10-30 13:50:47,064 - DEBUG - Requesting: http://10.0.0.141:8082/project/acb1a5da-d3fa-443e-9f13-5f8e6e9d8bae 2025-10-30 13:50:47,134 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/da1af666-4dcb-4c41-9090-8e2abbeb2aa4 2025-10-30 13:50:47,143 - DEBUG - ==>Verifying data for policy with id: 3dbab379-0fc9-4c57-a52d-4adfad3c9369, fqn: ['default-domain', 'ctest-TestBasicPolicy-75791023', 'ctest-policy-allow-all-19469155'] 2025-10-30 13:50:47,143 - INFO - VN ctest-vn-05362953 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 13:50:47,143 - DEBUG - Verifying the vn in opserver 2025-10-30 13:50:47,143 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75791023:ctest-vn-05362953 virtual network link through opserver 10.0.0.141 2025-10-30 13:50:47,143 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-10-30 13:50:47,433 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-10-30 13:50:47,487 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75791023:ctest-vn-05362953', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75791023:ctest-vn-05362953?flat'} 2025-10-30 13:50:47,487 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75791023:ctest-vn-05362953 is found in opserver 2025-10-30 13:50:47,495 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 13:50:47,499 - DEBUG - VRF ids for VN ctest-vn-05362953: {} 2025-10-30 13:50:47,499 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-30 13:50:47,503 - DEBUG - Requesting: http://10.0.0.141:8082/domain/a96023cb-56f4-4ce0-9a62-0b2ecdfbbca8 2025-10-30 13:50:47,512 - DEBUG - Requesting: http://10.0.0.141:8082/project/acb1a5da-d3fa-443e-9f13-5f8e6e9d8bae 2025-10-30 13:50:47,587 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/da5fa23d-80d0-495a-9959-0364e86486a4 2025-10-30 13:50:47,596 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/da5fa23d-80d0-495a-9959-0364e86486a4 2025-10-30 13:50:47,604 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e1de9d26-99db-4208-8c1c-363180e32379 2025-10-30 13:50:47,609 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e1de9d26-99db-4208-8c1c-363180e32379 2025-10-30 13:50:47,614 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/5268d1bc-c78a-4c42-a0f5-1c7ed9b3e731 2025-10-30 13:50:47,619 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 13:50:47,619 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/da5fa23d-80d0-495a-9959-0364e86486a4 2025-10-30 13:50:47,626 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e1de9d26-99db-4208-8c1c-363180e32379 2025-10-30 13:50:47,637 - INFO - Verified VN network id 13 for VN da5fa23d-80d0-495a-9959-0364e86486a4 2025-10-30 13:50:47,637 - INFO - Verifications in API Server for VN ctest-vn-46996189 passed 2025-10-30 13:50:47,637 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/da5fa23d-80d0-495a-9959-0364e86486a4 2025-10-30 13:50:47,644 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e1de9d26-99db-4208-8c1c-363180e32379 2025-10-30 13:50:47,650 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e1de9d26-99db-4208-8c1c-363180e32379 2025-10-30 13:50:47,656 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/5268d1bc-c78a-4c42-a0f5-1c7ed9b3e731 2025-10-30 13:50:47,666 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75791023:ctest-vn-46996189', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75791023', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15735474008093641050', 'uuid-lslong': '11049866892660737700'}, 'enable': 'true', 'created': '2025-10-30T13:50:45', 'last-modified': '2025-10-30T13:50:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.311515'} 2025-10-30 13:50:47,671 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 13:50:47,671 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46996189 passed 2025-10-30 13:50:47,671 - DEBUG - ====Verifying policy data for ctest-vn-46996189 in API_Server ====== 2025-10-30 13:50:47,671 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-30 13:50:47,677 - DEBUG - Requesting: http://10.0.0.141:8082/domain/a96023cb-56f4-4ce0-9a62-0b2ecdfbbca8 2025-10-30 13:50:47,688 - DEBUG - Requesting: http://10.0.0.141:8082/project/acb1a5da-d3fa-443e-9f13-5f8e6e9d8bae 2025-10-30 13:50:47,758 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/da5fa23d-80d0-495a-9959-0364e86486a4 2025-10-30 13:50:47,766 - DEBUG - ==>Verifying data for policy with id: 3dbab379-0fc9-4c57-a52d-4adfad3c9369, fqn: ['default-domain', 'ctest-TestBasicPolicy-75791023', 'ctest-policy-allow-all-19469155'] 2025-10-30 13:50:47,766 - INFO - VN ctest-vn-46996189 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 13:50:47,766 - DEBUG - Verifying the vn in opserver 2025-10-30 13:50:47,766 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75791023:ctest-vn-46996189 virtual network link through opserver 10.0.0.141 2025-10-30 13:50:47,766 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-10-30 13:50:47,774 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75791023:ctest-vn-46996189', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75791023:ctest-vn-46996189?flat'} 2025-10-30 13:50:47,774 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75791023:ctest-vn-46996189 is found in opserver 2025-10-30 13:50:47,784 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 13:50:47,789 - DEBUG - VRF ids for VN ctest-vn-46996189: {} 2025-10-30 13:50:47,842 - DEBUG - Services list from nova: [, , ] 2025-10-30 13:50:48,821 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4543-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4543-1) 2025-10-30 13:50:49,926 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4543-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4543-1) 2025-10-30 13:50:49,926 - INFO - Waiting for VM ctest-TestBasicPolicy-75791023-34124428 to be up.. 2025-10-30 13:50:50,000 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 13:50:55,077 - DEBUG - VM is in ACTIVE state now 2025-10-30 13:50:55,077 - INFO - VM name : ctest-TestBasicPolicy-75791023-34124428 2025-10-30 13:50:55,155 - DEBUG - VM ctest-TestBasicPolicy-75791023-34124428 ID is 5195fa14-c2b1-45a8-bb20-cd884b23a0ab 2025-10-30 13:50:55,178 - DEBUG - VM ctest-TestBasicPolicy-75791023-34124428 launched on Node cn-jenkins-deploy-platform-ansible-os-4543-1 2025-10-30 13:50:55,265 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/5195fa14-c2b1-45a8-bb20-cd884b23a0ab 2025-10-30 13:50:55,276 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/6da8915b-92e6-4783-8f78-78ea957362e0 2025-10-30 13:50:58,530 - 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 1016ms') 2025-10-30 13:50:58,530 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75791023-34124428 failed! 2025-10-30 13:50:58,584 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-75791023:ctest-vn-05362953 is 103.17.142.129 and allocation pool is NOT set 2025-10-30 13:51:00,643 - 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=4.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.71 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.712/3.356/4.000/0.644 ms') 2025-10-30 13:51:00,644 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75791023-34124428 passed 2025-10-30 13:51:00,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 13:51:00,792 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75791023-34124428, IP 103.17.142.131, Port 22 2025-10-30 13:51:00,944 - DEBUG - VM ctest-TestBasicPolicy-75791023-34124428 is ready for SSH connections 2025-10-30 13:51:00,944 - INFO - Waiting for VM ctest-TestBasicPolicy-75791023-75178982 to be up.. 2025-10-30 13:51:01,010 - DEBUG - VM is in ACTIVE state now 2025-10-30 13:51:01,010 - INFO - VM name : ctest-TestBasicPolicy-75791023-75178982 2025-10-30 13:51:01,075 - DEBUG - VM ctest-TestBasicPolicy-75791023-75178982 ID is 529ed0bb-b3cb-46e2-b659-f421a7a92beb 2025-10-30 13:51:01,075 - DEBUG - VM ctest-TestBasicPolicy-75791023-75178982 launched on Node cn-jenkins-deploy-platform-ansible-os-4543-1 2025-10-30 13:51:01,144 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/529ed0bb-b3cb-46e2-b659-f421a7a92beb 2025-10-30 13:51:01,151 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/fad49a63-b4f3-478e-8af6-92a8e103e975 2025-10-30 13:51:02,384 - 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=2.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.623 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.623/1.730/2.837/1.107 ms') 2025-10-30 13:51:02,384 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-75791023-75178982 passed 2025-10-30 13:51:02,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 13:51:02,544 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75791023-75178982, IP 201.226.154.3, Port 22 2025-10-30 13:51:02,699 - DEBUG - VM ctest-TestBasicPolicy-75791023-75178982 is ready for SSH connections 2025-10-30 13:51:02,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 13:51:02,699 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.226.154.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-30 13:51:02,700 - DEBUG - ping -s 56 -c 3 -W 1 201.226.154.3 2025-10-30 13:51:06,406 - DEBUG - PING 201.226.154.3 (201.226.154.3): 56 data bytes 64 bytes from 201.226.154.3: seq=0 ttl=63 time=3.315 ms 64 bytes from 201.226.154.3: seq=1 ttl=63 time=0.863 ms 64 bytes from 201.226.154.3: seq=2 ttl=63 time=0.824 ms --- 201.226.154.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.824/1.667/3.315 ms 2025-10-30 13:51:06,407 - INFO - Ping to IP 201.226.154.3 from VM ctest-TestBasicPolicy-75791023-34124428 passed 2025-10-30 13:51:06,572 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3dbab379-0fc9-4c57-a52d-4adfad3c9369", "href": "http://10.0.0.141:8082/network-policy/3dbab379-0fc9-4c57-a52d-4adfad3c9369"}} 2025-10-30 13:51:06,572 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 13:51:06,572 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.226.154.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-30 13:51:06,572 - DEBUG - ping -s 56 -c 3 -W 1 201.226.154.3 2025-10-30 13:51:09,793 - DEBUG - PING 201.226.154.3 (201.226.154.3): 56 data bytes --- 201.226.154.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 13:51:09,793 - WARNING - Ping to IP 201.226.154.3 from VM ctest-TestBasicPolicy-75791023-34124428 failed 2025-10-30 13:51:09,793 - INFO - Deleting VM ctest-TestBasicPolicy-75791023-75178982 2025-10-30 13:51:09,878 - INFO - Deleting VM ctest-TestBasicPolicy-75791023-34124428 2025-10-30 13:51:10,267 - INFO - Deleted policy ctest-policy-allow-all-19469155 2025-10-30 13:51:10,267 - INFO - Deleting VN ctest-vn-46996189 2025-10-30 13:51:10,302 - DEBUG - VN da5fa23d-80d0-495a-9959-0364e86486a4 still in use: Unable to complete operation on network da5fa23d-80d0-495a-9959-0364e86486a4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-be6620f6-18fe-42f2-acf2-3805681e423a'] 2025-10-30 13:51:10,302 - WARNING - Deleting VN ctest-vn-46996189 failed..Will retry 2025-10-30 13:51:12,418 - DEBUG - Response for deleting network () 2025-10-30 13:51:12,418 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e1de9d26-99db-4208-8c1c-363180e32379 2025-10-30 13:51:12,425 - DEBUG - Response Code: 404 2025-10-30 13:51:12,425 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-30 13:51:12,433 - DEBUG - Requesting: http://10.0.0.141:8082/domain/a96023cb-56f4-4ce0-9a62-0b2ecdfbbca8 2025-10-30 13:51:12,485 - DEBUG - Requesting: http://10.0.0.141:8082/project/acb1a5da-d3fa-443e-9f13-5f8e6e9d8bae 2025-10-30 13:51:12,551 - INFO - Validated that VN ctest-vn-46996189 is not found in API Server 2025-10-30 13:51:12,560 - DEBUG - VN ctest-vn-46996189 is not present in Agent 10.0.0.141 2025-10-30 13:51:12,560 - INFO - Validated that VN ctest-vn-46996189 is not in any agent 2025-10-30 13:51:12,574 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46996189 info 2025-10-30 13:51:12,574 - INFO - Deleting VN ctest-vn-05362953 2025-10-30 13:51:12,676 - DEBUG - Response for deleting network () 2025-10-30 13:51:12,676 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/8e8f317f-6382-498b-bfed-e97eeb76e874 2025-10-30 13:51:12,682 - DEBUG - Response Code: 404 2025-10-30 13:51:12,682 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-30 13:51:12,687 - DEBUG - Requesting: http://10.0.0.141:8082/domain/a96023cb-56f4-4ce0-9a62-0b2ecdfbbca8 2025-10-30 13:51:12,740 - DEBUG - Requesting: http://10.0.0.141:8082/project/acb1a5da-d3fa-443e-9f13-5f8e6e9d8bae 2025-10-30 13:51:12,807 - INFO - Validated that VN ctest-vn-05362953 is not found in API Server 2025-10-30 13:51:12,817 - DEBUG - VN ctest-vn-05362953 is not present in Agent 10.0.0.141 2025-10-30 13:51:12,817 - INFO - Validated that VN ctest-vn-05362953 is not in any agent 2025-10-30 13:51:12,831 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05362953 info 2025-10-30 13:51:13,089 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 13:51:13,089 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-30 13:51:13,089 - INFO - -------------------------------------------------------------------------------- 2025-10-30 13:51:13,742 - INFO - Deleted project: ctest-TestBasicPolicy-75791023, ID : acb1a5da-d3fa-443e-9f13-5f8e6e9d8bae