2025-10-23 02:00:28,934 - INFO - Domain Default found not creating 2025-10-23 02:00:29,113 - INFO - Project ctest-TestBasicPolicy-96251021 not found, creating it 2025-10-23 02:00:29,594 - INFO - Created Project:ctest-TestBasicPolicy-96251021, ID : b3d49387-48dd-43ce-bf08-6510f37b27a7 2025-10-23 02:00:31,089 - INFO - ================================================================================ 2025-10-23 02:00:31,090 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-23 02:00:31,090 - 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-23 02:00:31,346 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.252': '0'}} with 2025-10-23 02:00:31,347 - INFO - Initial checks done. Running the testcase now 2025-10-23 02:00:31,347 - INFO - 2025-10-23 02:00:31,906 - DEBUG - Response for create_network : {'network': {'id': '604938e6-6fdd-4905-a0e5-b736091b0ca5', 'name': 'ctest-vn-67688402', 'tenant_id': 'b3d4938748dd43cebf086510f37b27a7', 'project_id': 'b3d4938748dd43cebf086510f37b27a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96251021', 'ctest-vn-67688402'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 02:00:32,065 - DEBUG - Response for create_subnet : {'subnet': {'id': '19b13c6f-845e-452f-8a36-3438810990f0', 'name': '', 'tenant_id': 'b3d4938748dd43cebf086510f37b27a7', 'network_id': '604938e6-6fdd-4905-a0e5-b736091b0ca5', 'ip_version': 4, 'cidr': '135.172.167.128/26', 'allocation_pools': [{'start': '135.172.167.130', 'end': '135.172.167.190'}], 'gateway_ip': '135.172.167.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.172.167.130', 'tags': [], 'project_id': 'b3d4938748dd43cebf086510f37b27a7'}} 2025-10-23 02:00:32,085 - INFO - Created VN ctest-vn-67688402 2025-10-23 02:00:32,143 - DEBUG - VN ctest-vn-67688402 UUID is 604938e6-6fdd-4905-a0e5-b736091b0ca5 2025-10-23 02:00:32,451 - DEBUG - Response for create_network : {'network': {'id': 'f0453ad8-e028-4ac2-b457-5214528b18e2', 'name': 'ctest-vn-64922839', 'tenant_id': 'b3d4938748dd43cebf086510f37b27a7', 'project_id': 'b3d4938748dd43cebf086510f37b27a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96251021', 'ctest-vn-64922839'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 02:00:32,653 - DEBUG - Response for create_subnet : {'subnet': {'id': '31bee35c-4986-47d1-9acf-e7433c0a428b', 'name': '', 'tenant_id': 'b3d4938748dd43cebf086510f37b27a7', 'network_id': 'f0453ad8-e028-4ac2-b457-5214528b18e2', 'ip_version': 4, 'cidr': '80.149.17.64/26', 'allocation_pools': [{'start': '80.149.17.66', 'end': '80.149.17.126'}], 'gateway_ip': '80.149.17.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.149.17.66', 'tags': [], 'project_id': 'b3d4938748dd43cebf086510f37b27a7'}} 2025-10-23 02:00:32,676 - INFO - Created VN ctest-vn-64922839 2025-10-23 02:00:32,727 - DEBUG - VN ctest-vn-64922839 UUID is f0453ad8-e028-4ac2-b457-5214528b18e2 2025-10-23 02:00:32,857 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96251021:ctest-vn-67688402, 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-96251021:ctest-vn-64922839, 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-23 02:00:33,160 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '604938e6-6fdd-4905-a0e5-b736091b0ca5', 'name': 'ctest-vn-67688402', 'tenant_id': 'b3d4938748dd43cebf086510f37b27a7', 'project_id': 'b3d4938748dd43cebf086510f37b27a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['19b13c6f-845e-452f-8a36-3438810990f0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96251021', 'ctest-vn-67688402'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96251021', 'ctest-policy-allow-all-79032045']], 'subnet_ipam': [{'subnet_cidr': '135.172.167.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 02:00:33,395 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f0453ad8-e028-4ac2-b457-5214528b18e2', 'name': 'ctest-vn-64922839', 'tenant_id': 'b3d4938748dd43cebf086510f37b27a7', 'project_id': 'b3d4938748dd43cebf086510f37b27a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['31bee35c-4986-47d1-9acf-e7433c0a428b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96251021', 'ctest-vn-64922839'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96251021', 'ctest-policy-allow-all-79032045']], 'subnet_ipam': [{'subnet_cidr': '80.149.17.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 02:00:33,567 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-10-23 02:00:33,874 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-10-23 02:00:33,909 - DEBUG - Requesting: http://10.0.0.241:8082/domain/50f717e1-7edc-43de-8b5a-5b897134ccb4 2025-10-23 02:00:33,921 - DEBUG - Requesting: http://10.0.0.241:8082/project/b3d49387-48dd-43ce-bf08-6510f37b27a7 2025-10-23 02:00:33,996 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/604938e6-6fdd-4905-a0e5-b736091b0ca5 2025-10-23 02:00:34,007 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/604938e6-6fdd-4905-a0e5-b736091b0ca5 2025-10-23 02:00:34,018 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/dae4b4de-99bb-443b-950a-1f9856f94cae 2025-10-23 02:00:34,025 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/dae4b4de-99bb-443b-950a-1f9856f94cae 2025-10-23 02:00:34,033 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/9065df49-60bc-491f-bbb0-5736f10d4659 2025-10-23 02:00:34,040 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 02:00:34,040 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/604938e6-6fdd-4905-a0e5-b736091b0ca5 2025-10-23 02:00:34,050 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/dae4b4de-99bb-443b-950a-1f9856f94cae 2025-10-23 02:00:34,067 - INFO - Verified VN network id 11 for VN 604938e6-6fdd-4905-a0e5-b736091b0ca5 2025-10-23 02:00:34,067 - INFO - Verifications in API Server for VN ctest-vn-67688402 passed 2025-10-23 02:00:34,067 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/604938e6-6fdd-4905-a0e5-b736091b0ca5 2025-10-23 02:00:34,077 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/dae4b4de-99bb-443b-950a-1f9856f94cae 2025-10-23 02:00:34,084 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/dae4b4de-99bb-443b-950a-1f9856f94cae 2025-10-23 02:00:34,093 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/9065df49-60bc-491f-bbb0-5736f10d4659 2025-10-23 02:00:34,106 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96251021:ctest-vn-67688402', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96251021', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6938139263311366405', 'uuid-lslong': '11593874258444094629'}, 'enable': 'true', 'created': '2025-10-23T02:00:31', 'last-modified': '2025-10-23T02:00:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.974499'} 2025-10-23 02:00:34,112 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 02:00:34,112 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67688402 passed 2025-10-23 02:00:34,113 - DEBUG - ====Verifying policy data for ctest-vn-67688402 in API_Server ====== 2025-10-23 02:00:34,113 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-10-23 02:00:34,118 - DEBUG - Requesting: http://10.0.0.241:8082/domain/50f717e1-7edc-43de-8b5a-5b897134ccb4 2025-10-23 02:00:34,131 - DEBUG - Requesting: http://10.0.0.241:8082/project/b3d49387-48dd-43ce-bf08-6510f37b27a7 2025-10-23 02:00:34,203 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/604938e6-6fdd-4905-a0e5-b736091b0ca5 2025-10-23 02:00:34,215 - DEBUG - ==>Verifying data for policy with id: 5893b691-af55-480f-b2fa-e15b8450d20e, fqn: ['default-domain', 'ctest-TestBasicPolicy-96251021', 'ctest-policy-allow-all-79032045'] 2025-10-23 02:00:34,215 - INFO - VN ctest-vn-67688402 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 02:00:34,215 - DEBUG - Verifying the vn in opserver 2025-10-23 02:00:34,215 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96251021:ctest-vn-67688402 virtual network link through opserver 10.0.0.241 2025-10-23 02:00:34,215 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-10-23 02:00:34,511 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-10-23 02:00:34,571 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96251021:ctest-vn-67688402', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96251021:ctest-vn-67688402?flat'} 2025-10-23 02:00:34,571 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96251021:ctest-vn-67688402 is found in opserver 2025-10-23 02:00:34,582 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 02:00:34,587 - DEBUG - VRF ids for VN ctest-vn-67688402: {} 2025-10-23 02:00:34,587 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-10-23 02:00:34,594 - DEBUG - Requesting: http://10.0.0.241:8082/domain/50f717e1-7edc-43de-8b5a-5b897134ccb4 2025-10-23 02:00:34,606 - DEBUG - Requesting: http://10.0.0.241:8082/project/b3d49387-48dd-43ce-bf08-6510f37b27a7 2025-10-23 02:00:34,677 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/f0453ad8-e028-4ac2-b457-5214528b18e2 2025-10-23 02:00:34,690 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/f0453ad8-e028-4ac2-b457-5214528b18e2 2025-10-23 02:00:34,700 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/1be77238-684a-4486-bb91-46c9ac796e1a 2025-10-23 02:00:34,707 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/1be77238-684a-4486-bb91-46c9ac796e1a 2025-10-23 02:00:34,714 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/3e00be8a-3cc3-4ded-ab81-db2cc9151076 2025-10-23 02:00:34,723 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 02:00:34,723 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/f0453ad8-e028-4ac2-b457-5214528b18e2 2025-10-23 02:00:34,732 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/1be77238-684a-4486-bb91-46c9ac796e1a 2025-10-23 02:00:34,747 - INFO - Verified VN network id 12 for VN f0453ad8-e028-4ac2-b457-5214528b18e2 2025-10-23 02:00:34,747 - INFO - Verifications in API Server for VN ctest-vn-64922839 passed 2025-10-23 02:00:34,747 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/f0453ad8-e028-4ac2-b457-5214528b18e2 2025-10-23 02:00:34,756 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/1be77238-684a-4486-bb91-46c9ac796e1a 2025-10-23 02:00:34,764 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/1be77238-684a-4486-bb91-46c9ac796e1a 2025-10-23 02:00:34,771 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/3e00be8a-3cc3-4ded-ab81-db2cc9151076 2025-10-23 02:00:34,784 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96251021:ctest-vn-64922839', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96251021', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17313309045643823810', 'uuid-lslong': '12994945497038526690'}, 'enable': 'true', 'created': '2025-10-23T02:00:32', 'last-modified': '2025-10-23T02:00:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.413681'} 2025-10-23 02:00:34,790 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 02:00:34,790 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64922839 passed 2025-10-23 02:00:34,791 - DEBUG - ====Verifying policy data for ctest-vn-64922839 in API_Server ====== 2025-10-23 02:00:34,791 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-10-23 02:00:34,797 - DEBUG - Requesting: http://10.0.0.241:8082/domain/50f717e1-7edc-43de-8b5a-5b897134ccb4 2025-10-23 02:00:34,807 - DEBUG - Requesting: http://10.0.0.241:8082/project/b3d49387-48dd-43ce-bf08-6510f37b27a7 2025-10-23 02:00:34,883 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/f0453ad8-e028-4ac2-b457-5214528b18e2 2025-10-23 02:00:34,896 - DEBUG - ==>Verifying data for policy with id: 5893b691-af55-480f-b2fa-e15b8450d20e, fqn: ['default-domain', 'ctest-TestBasicPolicy-96251021', 'ctest-policy-allow-all-79032045'] 2025-10-23 02:00:34,896 - INFO - VN ctest-vn-64922839 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 02:00:34,896 - DEBUG - Verifying the vn in opserver 2025-10-23 02:00:34,896 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96251021:ctest-vn-64922839 virtual network link through opserver 10.0.0.241 2025-10-23 02:00:34,896 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-10-23 02:00:34,907 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96251021:ctest-vn-64922839', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96251021:ctest-vn-64922839?flat'} 2025-10-23 02:00:34,907 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96251021:ctest-vn-64922839 is found in opserver 2025-10-23 02:00:34,916 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 02:00:34,921 - DEBUG - VRF ids for VN ctest-vn-64922839: {} 2025-10-23 02:00:34,986 - DEBUG - Services list from nova: [, , ] 2025-10-23 02:00:36,075 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4451-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4451-1) 2025-10-23 02:00:37,301 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4451-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4451-1) 2025-10-23 02:00:37,302 - INFO - Waiting for VM ctest-TestBasicPolicy-96251021-14496231 to be up.. 2025-10-23 02:00:37,388 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 02:00:42,495 - DEBUG - VM is in ACTIVE state now 2025-10-23 02:00:42,495 - INFO - VM name : ctest-TestBasicPolicy-96251021-14496231 2025-10-23 02:00:42,594 - DEBUG - VM ctest-TestBasicPolicy-96251021-14496231 ID is ea8ad7bf-a720-4717-bbbb-8adb77b22e54 2025-10-23 02:00:42,616 - DEBUG - VM ctest-TestBasicPolicy-96251021-14496231 launched on Node cn-jenkins-deploy-platform-ansible-os-4451-1 2025-10-23 02:00:42,698 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/ea8ad7bf-a720-4717-bbbb-8adb77b22e54 2025-10-23 02:00:42,706 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/f451f99a-f4da-4bd2-86c7-8f0ef9d0e0ab 2025-10-23 02:00:45,979 - 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 1014ms') 2025-10-23 02:00:45,979 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96251021-14496231 failed! 2025-10-23 02:00:46,035 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-96251021:ctest-vn-67688402 is 135.172.167.129 and allocation pool is NOT set 2025-10-23 02:00:48,097 - 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=8.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.607 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 = 0.607/4.308/8.009/3.701 ms') 2025-10-23 02:00:48,097 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96251021-14496231 passed 2025-10-23 02:00:48,251 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 02:00:48,251 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96251021-14496231, IP 135.172.167.131, Port 22 2025-10-23 02:00:48,406 - DEBUG - VM ctest-TestBasicPolicy-96251021-14496231 is ready for SSH connections 2025-10-23 02:00:48,406 - INFO - Waiting for VM ctest-TestBasicPolicy-96251021-51972302 to be up.. 2025-10-23 02:00:48,491 - DEBUG - VM is in ACTIVE state now 2025-10-23 02:00:48,491 - INFO - VM name : ctest-TestBasicPolicy-96251021-51972302 2025-10-23 02:00:48,569 - DEBUG - VM ctest-TestBasicPolicy-96251021-51972302 ID is 8613a658-2935-4313-ba0b-084a92c36364 2025-10-23 02:00:48,569 - DEBUG - VM ctest-TestBasicPolicy-96251021-51972302 launched on Node cn-jenkins-deploy-platform-ansible-os-4451-1 2025-10-23 02:00:48,649 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/8613a658-2935-4313-ba0b-084a92c36364 2025-10-23 02:00:48,659 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/ae89e66d-ff04-4b51-aba0-c1bbab643015 2025-10-23 02:00:49,901 - 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.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.11 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.113/2.817/4.521/1.704 ms') 2025-10-23 02:00:49,901 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-96251021-51972302 passed 2025-10-23 02:00:50,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 02:00:50,059 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96251021-51972302, IP 80.149.17.67, Port 22 2025-10-23 02:00:50,226 - DEBUG - VM ctest-TestBasicPolicy-96251021-51972302 is ready for SSH connections 2025-10-23 02:00:50,226 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 02:00:50,226 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.149.17.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-23 02:00:50,226 - DEBUG - ping -s 56 -c 3 -W 1 80.149.17.67 2025-10-23 02:00:54,304 - DEBUG - PING 80.149.17.67 (80.149.17.67): 56 data bytes 64 bytes from 80.149.17.67: seq=0 ttl=63 time=4.409 ms 64 bytes from 80.149.17.67: seq=1 ttl=63 time=1.096 ms 64 bytes from 80.149.17.67: seq=2 ttl=63 time=1.353 ms --- 80.149.17.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.096/2.286/4.409 ms 2025-10-23 02:00:54,304 - INFO - Ping to IP 80.149.17.67 from VM ctest-TestBasicPolicy-96251021-14496231 passed 2025-10-23 02:00:54,487 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5893b691-af55-480f-b2fa-e15b8450d20e", "href": "http://10.0.0.241:8082/network-policy/5893b691-af55-480f-b2fa-e15b8450d20e"}} 2025-10-23 02:00:54,487 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 02:00:54,487 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.149.17.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-23 02:00:54,487 - DEBUG - ping -s 56 -c 3 -W 1 80.149.17.67 2025-10-23 02:00:57,742 - DEBUG - PING 80.149.17.67 (80.149.17.67): 56 data bytes --- 80.149.17.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 02:00:57,742 - WARNING - Ping to IP 80.149.17.67 from VM ctest-TestBasicPolicy-96251021-14496231 failed 2025-10-23 02:00:57,742 - INFO - Deleting VM ctest-TestBasicPolicy-96251021-51972302 2025-10-23 02:00:57,821 - INFO - Deleting VM ctest-TestBasicPolicy-96251021-14496231 2025-10-23 02:00:58,236 - INFO - Deleted policy ctest-policy-allow-all-79032045 2025-10-23 02:00:58,237 - INFO - Deleting VN ctest-vn-64922839 2025-10-23 02:00:58,278 - DEBUG - VN f0453ad8-e028-4ac2-b457-5214528b18e2 still in use: Unable to complete operation on network f0453ad8-e028-4ac2-b457-5214528b18e2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-57743f3e-69eb-47db-bb04-edc92e369dde'] 2025-10-23 02:00:58,279 - WARNING - Deleting VN ctest-vn-64922839 failed..Will retry 2025-10-23 02:01:00,434 - DEBUG - Response for deleting network () 2025-10-23 02:01:00,434 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/1be77238-684a-4486-bb91-46c9ac796e1a 2025-10-23 02:01:00,440 - DEBUG - Response Code: 404 2025-10-23 02:01:00,440 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-10-23 02:01:00,447 - DEBUG - Requesting: http://10.0.0.241:8082/domain/50f717e1-7edc-43de-8b5a-5b897134ccb4 2025-10-23 02:01:00,504 - DEBUG - Requesting: http://10.0.0.241:8082/project/b3d49387-48dd-43ce-bf08-6510f37b27a7 2025-10-23 02:01:00,578 - INFO - Validated that VN ctest-vn-64922839 is not found in API Server 2025-10-23 02:01:00,590 - DEBUG - VN ctest-vn-64922839 is not present in Agent 10.0.0.241 2025-10-23 02:01:00,590 - INFO - Validated that VN ctest-vn-64922839 is not in any agent 2025-10-23 02:01:00,606 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64922839 info 2025-10-23 02:01:00,606 - INFO - Deleting VN ctest-vn-67688402 2025-10-23 02:01:00,719 - DEBUG - Response for deleting network () 2025-10-23 02:01:00,719 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/dae4b4de-99bb-443b-950a-1f9856f94cae 2025-10-23 02:01:00,724 - DEBUG - Response Code: 404 2025-10-23 02:01:00,724 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-10-23 02:01:00,732 - DEBUG - Requesting: http://10.0.0.241:8082/domain/50f717e1-7edc-43de-8b5a-5b897134ccb4 2025-10-23 02:01:00,785 - DEBUG - Requesting: http://10.0.0.241:8082/project/b3d49387-48dd-43ce-bf08-6510f37b27a7 2025-10-23 02:01:00,861 - INFO - Validated that VN ctest-vn-67688402 is not found in API Server 2025-10-23 02:01:00,872 - DEBUG - VN ctest-vn-67688402 is not present in Agent 10.0.0.241 2025-10-23 02:01:00,872 - INFO - Validated that VN ctest-vn-67688402 is not in any agent 2025-10-23 02:01:00,886 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67688402 info 2025-10-23 02:01:01,152 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 02:01:01,152 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-23 02:01:01,152 - INFO - -------------------------------------------------------------------------------- 2025-10-23 02:01:01,857 - INFO - Deleted project: ctest-TestBasicPolicy-96251021, ID : b3d49387-48dd-43ce-bf08-6510f37b27a7