2025-05-08 02:35:22,597 - INFO - Domain Default found not creating 2025-05-08 02:35:22,988 - INFO - Project ctest-TestBasicPolicy-20686070 not found, creating it 2025-05-08 02:35:23,709 - INFO - Created Project:ctest-TestBasicPolicy-20686070, ID : 77c9427a-3d88-4091-8b12-be20c66f6c5c 2025-05-08 02:35:25,871 - INFO - ================================================================================ 2025-05-08 02:35:25,871 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-08 02:35:25,871 - 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-05-08 02:35:26,145 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.129': '0'}} with 2025-05-08 02:35:26,145 - INFO - Initial checks done. Running the testcase now 2025-05-08 02:35:26,146 - INFO - 2025-05-08 02:35:26,879 - DEBUG - Response for create_network : {'network': {'id': '5c8ba44c-c941-45b9-856c-62931965323e', 'name': 'ctest-vn-18513103', 'tenant_id': '77c9427a3d8840918b12be20c66f6c5c', 'project_id': '77c9427a3d8840918b12be20c66f6c5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20686070', 'ctest-vn-18513103'], 'port_security_enabled': True, 'description': ''}} 2025-05-08 02:35:27,088 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d4afd12-4d6a-4da2-aaa0-23fbc3b9514f', 'name': '', 'tenant_id': '77c9427a3d8840918b12be20c66f6c5c', 'network_id': '5c8ba44c-c941-45b9-856c-62931965323e', 'ip_version': 4, 'cidr': '166.68.198.192/26', 'allocation_pools': [{'start': '166.68.198.194', 'end': '166.68.198.254'}], 'gateway_ip': '166.68.198.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.68.198.194', 'tags': [], 'project_id': '77c9427a3d8840918b12be20c66f6c5c'}} 2025-05-08 02:35:27,110 - INFO - Created VN ctest-vn-18513103 2025-05-08 02:35:27,166 - DEBUG - VN ctest-vn-18513103 UUID is 5c8ba44c-c941-45b9-856c-62931965323e 2025-05-08 02:35:27,748 - DEBUG - Response for create_network : {'network': {'id': 'f691e28d-622a-47c7-96d0-5aa114a767c3', 'name': 'ctest-vn-70828339', 'tenant_id': '77c9427a3d8840918b12be20c66f6c5c', 'project_id': '77c9427a3d8840918b12be20c66f6c5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20686070', 'ctest-vn-70828339'], 'port_security_enabled': True, 'description': ''}} 2025-05-08 02:35:27,943 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd37207c2-2bc9-4a2d-b832-7ec900ee4b99', 'name': '', 'tenant_id': '77c9427a3d8840918b12be20c66f6c5c', 'network_id': 'f691e28d-622a-47c7-96d0-5aa114a767c3', 'ip_version': 4, 'cidr': '34.38.144.0/26', 'allocation_pools': [{'start': '34.38.144.2', 'end': '34.38.144.62'}], 'gateway_ip': '34.38.144.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.38.144.2', 'tags': [], 'project_id': '77c9427a3d8840918b12be20c66f6c5c'}} 2025-05-08 02:35:27,965 - INFO - Created VN ctest-vn-70828339 2025-05-08 02:35:28,022 - DEBUG - VN ctest-vn-70828339 UUID is f691e28d-622a-47c7-96d0-5aa114a767c3 2025-05-08 02:35:28,200 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20686070:ctest-vn-18513103, 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-20686070:ctest-vn-70828339, 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-05-08 02:35:28,666 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5c8ba44c-c941-45b9-856c-62931965323e', 'name': 'ctest-vn-18513103', 'tenant_id': '77c9427a3d8840918b12be20c66f6c5c', 'project_id': '77c9427a3d8840918b12be20c66f6c5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6d4afd12-4d6a-4da2-aaa0-23fbc3b9514f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20686070', 'ctest-vn-18513103'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20686070', 'ctest-policy-allow-all-44730355']], 'subnet_ipam': [{'subnet_cidr': '166.68.198.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-08 02:35:29,013 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f691e28d-622a-47c7-96d0-5aa114a767c3', 'name': 'ctest-vn-70828339', 'tenant_id': '77c9427a3d8840918b12be20c66f6c5c', 'project_id': '77c9427a3d8840918b12be20c66f6c5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d37207c2-2bc9-4a2d-b832-7ec900ee4b99'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20686070', 'ctest-vn-70828339'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20686070', 'ctest-policy-allow-all-44730355']], 'subnet_ipam': [{'subnet_cidr': '34.38.144.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-08 02:35:29,206 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-08 02:35:29,595 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-08 02:35:29,672 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9cdfd9c2-b37b-4bfc-aab0-c483ccac200c 2025-05-08 02:35:29,720 - DEBUG - Requesting: http://10.0.0.38:8082/project/77c9427a-3d88-4091-8b12-be20c66f6c5c 2025-05-08 02:35:29,809 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5c8ba44c-c941-45b9-856c-62931965323e 2025-05-08 02:35:29,848 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5c8ba44c-c941-45b9-856c-62931965323e 2025-05-08 02:35:29,879 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4098ad2c-f269-4a38-8674-6f7ea14b8a94 2025-05-08 02:35:29,904 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4098ad2c-f269-4a38-8674-6f7ea14b8a94 2025-05-08 02:35:29,930 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/224aa835-6948-4b20-9dd3-50d17189c498 2025-05-08 02:35:29,954 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-08 02:35:29,955 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5c8ba44c-c941-45b9-856c-62931965323e 2025-05-08 02:35:29,986 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4098ad2c-f269-4a38-8674-6f7ea14b8a94 2025-05-08 02:35:30,036 - INFO - Verified VN network id 8 for VN 5c8ba44c-c941-45b9-856c-62931965323e 2025-05-08 02:35:30,036 - INFO - Verifications in API Server for VN ctest-vn-18513103 passed 2025-05-08 02:35:30,036 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5c8ba44c-c941-45b9-856c-62931965323e 2025-05-08 02:35:30,069 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4098ad2c-f269-4a38-8674-6f7ea14b8a94 2025-05-08 02:35:30,093 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4098ad2c-f269-4a38-8674-6f7ea14b8a94 2025-05-08 02:35:30,115 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/224aa835-6948-4b20-9dd3-50d17189c498 2025-05-08 02:35:30,163 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20686070:ctest-vn-18513103', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20686070', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6668604322953119161', 'uuid-lslong': '9614167688454943294'}, 'enable': 'true', 'created': '2025-05-08T02:35:26', 'last-modified': '2025-05-08T02:35:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.541633'} 2025-05-08 02:35:30,189 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-08 02:35:30,189 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18513103 passed 2025-05-08 02:35:30,190 - DEBUG - ====Verifying policy data for ctest-vn-18513103 in API_Server ====== 2025-05-08 02:35:30,191 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-08 02:35:30,211 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9cdfd9c2-b37b-4bfc-aab0-c483ccac200c 2025-05-08 02:35:30,250 - DEBUG - Requesting: http://10.0.0.38:8082/project/77c9427a-3d88-4091-8b12-be20c66f6c5c 2025-05-08 02:35:30,386 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5c8ba44c-c941-45b9-856c-62931965323e 2025-05-08 02:35:30,417 - DEBUG - ==>Verifying data for policy with id: 78931848-aa70-41a8-818c-b5e08731e1a2, fqn: ['default-domain', 'ctest-TestBasicPolicy-20686070', 'ctest-policy-allow-all-44730355'] 2025-05-08 02:35:30,417 - INFO - VN ctest-vn-18513103 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-08 02:35:30,418 - DEBUG - Verifying the vn in opserver 2025-05-08 02:35:30,418 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20686070:ctest-vn-18513103 virtual network link through opserver 10.0.0.38 2025-05-08 02:35:30,418 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-08 02:35:30,738 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-08 02:35:30,864 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20686070:ctest-vn-18513103', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20686070:ctest-vn-18513103?flat'} 2025-05-08 02:35:30,864 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20686070:ctest-vn-18513103 is found in opserver 2025-05-08 02:35:30,895 - DEBUG - Do not have enough data to verify VN in agent 2025-05-08 02:35:30,908 - DEBUG - VRF ids for VN ctest-vn-18513103: {} 2025-05-08 02:35:30,909 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-08 02:35:30,924 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9cdfd9c2-b37b-4bfc-aab0-c483ccac200c 2025-05-08 02:35:30,950 - DEBUG - Requesting: http://10.0.0.38:8082/project/77c9427a-3d88-4091-8b12-be20c66f6c5c 2025-05-08 02:35:31,087 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f691e28d-622a-47c7-96d0-5aa114a767c3 2025-05-08 02:35:31,132 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f691e28d-622a-47c7-96d0-5aa114a767c3 2025-05-08 02:35:31,166 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4eb27b14-9f3a-4d7d-906d-b8e922c2d775 2025-05-08 02:35:31,191 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4eb27b14-9f3a-4d7d-906d-b8e922c2d775 2025-05-08 02:35:31,217 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a4af13a2-57c7-42d4-a6d9-5a01a545dcfb 2025-05-08 02:35:31,240 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-08 02:35:31,240 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f691e28d-622a-47c7-96d0-5aa114a767c3 2025-05-08 02:35:31,274 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4eb27b14-9f3a-4d7d-906d-b8e922c2d775 2025-05-08 02:35:31,324 - INFO - Verified VN network id 9 for VN f691e28d-622a-47c7-96d0-5aa114a767c3 2025-05-08 02:35:31,324 - INFO - Verifications in API Server for VN ctest-vn-70828339 passed 2025-05-08 02:35:31,325 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f691e28d-622a-47c7-96d0-5aa114a767c3 2025-05-08 02:35:31,363 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4eb27b14-9f3a-4d7d-906d-b8e922c2d775 2025-05-08 02:35:31,391 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4eb27b14-9f3a-4d7d-906d-b8e922c2d775 2025-05-08 02:35:31,422 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a4af13a2-57c7-42d4-a6d9-5a01a545dcfb 2025-05-08 02:35:31,465 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20686070:ctest-vn-70828339', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20686070', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17767231101818521543', 'uuid-lslong': '10867285548727756739'}, 'enable': 'true', 'created': '2025-05-08T02:35:27', 'last-modified': '2025-05-08T02:35:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.480828'} 2025-05-08 02:35:31,500 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-08 02:35:31,500 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70828339 passed 2025-05-08 02:35:31,501 - DEBUG - ====Verifying policy data for ctest-vn-70828339 in API_Server ====== 2025-05-08 02:35:31,501 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-08 02:35:31,521 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9cdfd9c2-b37b-4bfc-aab0-c483ccac200c 2025-05-08 02:35:31,558 - DEBUG - Requesting: http://10.0.0.38:8082/project/77c9427a-3d88-4091-8b12-be20c66f6c5c 2025-05-08 02:35:31,693 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f691e28d-622a-47c7-96d0-5aa114a767c3 2025-05-08 02:35:31,725 - DEBUG - ==>Verifying data for policy with id: 78931848-aa70-41a8-818c-b5e08731e1a2, fqn: ['default-domain', 'ctest-TestBasicPolicy-20686070', 'ctest-policy-allow-all-44730355'] 2025-05-08 02:35:31,726 - INFO - VN ctest-vn-70828339 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-08 02:35:31,726 - DEBUG - Verifying the vn in opserver 2025-05-08 02:35:31,726 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20686070:ctest-vn-70828339 virtual network link through opserver 10.0.0.38 2025-05-08 02:35:31,726 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-08 02:35:31,756 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20686070:ctest-vn-70828339', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20686070:ctest-vn-70828339?flat'} 2025-05-08 02:35:31,756 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20686070:ctest-vn-70828339 is found in opserver 2025-05-08 02:35:31,794 - DEBUG - Do not have enough data to verify VN in agent 2025-05-08 02:35:31,815 - DEBUG - VRF ids for VN ctest-vn-70828339: {} 2025-05-08 02:35:31,956 - DEBUG - Services list from nova: [, , ] 2025-05-08 02:35:33,501 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3287-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3287-1) 2025-05-08 02:35:35,037 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3287-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3287-1) 2025-05-08 02:35:35,037 - INFO - Waiting for VM ctest-TestBasicPolicy-20686070-52748388 to be up.. 2025-05-08 02:35:35,171 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-08 02:35:40,280 - DEBUG - VM is in ACTIVE state now 2025-05-08 02:35:40,280 - INFO - VM name : ctest-TestBasicPolicy-20686070-52748388 2025-05-08 02:35:40,400 - DEBUG - VM ctest-TestBasicPolicy-20686070-52748388 ID is c497f993-31fe-4af0-9e42-4e28804706f8 2025-05-08 02:35:40,420 - DEBUG - VM ctest-TestBasicPolicy-20686070-52748388 launched on Node cn-jenkins-deploy-platform-ansible-os-3287-1 2025-05-08 02:35:40,543 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c497f993-31fe-4af0-9e42-4e28804706f8 2025-05-08 02:35:40,554 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ec58f7e0-b54c-4da0-b5fd-3bceedd46c2c 2025-05-08 02:35:43,870 - 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 1029ms') 2025-05-08 02:35:43,870 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20686070-52748388 failed! 2025-05-08 02:35:43,926 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-20686070:ctest-vn-18513103 is 166.68.198.193 and allocation pool is NOT set 2025-05-08 02:35:48,029 - 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=2.28 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 2.280/2.280/2.280/0.000 ms') 2025-05-08 02:35:48,029 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20686070-52748388 passed 2025-05-08 02:35:48,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-08 02:35:48,207 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20686070-52748388, IP 166.68.198.195, Port 22 2025-05-08 02:35:48,395 - DEBUG - VM ctest-TestBasicPolicy-20686070-52748388 is ready for SSH connections 2025-05-08 02:35:48,395 - INFO - Waiting for VM ctest-TestBasicPolicy-20686070-42188743 to be up.. 2025-05-08 02:35:48,576 - DEBUG - VM is in ACTIVE state now 2025-05-08 02:35:48,576 - INFO - VM name : ctest-TestBasicPolicy-20686070-42188743 2025-05-08 02:35:48,702 - DEBUG - VM ctest-TestBasicPolicy-20686070-42188743 ID is e4ae8ba1-5438-42c6-919e-af454460570b 2025-05-08 02:35:48,702 - DEBUG - VM ctest-TestBasicPolicy-20686070-42188743 launched on Node cn-jenkins-deploy-platform-ansible-os-3287-1 2025-05-08 02:35:48,839 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e4ae8ba1-5438-42c6-919e-af454460570b 2025-05-08 02:35:48,858 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5b312b06-5ce9-45bc-97f6-956ba0834f15 2025-05-08 02:35:50,193 - 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=8.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.03 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 = 1.028/4.654/8.280/3.626 ms') 2025-05-08 02:35:50,193 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-20686070-42188743 passed 2025-05-08 02:35:50,395 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-08 02:35:50,395 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20686070-42188743, IP 34.38.144.3, Port 22 2025-05-08 02:35:50,610 - DEBUG - VM ctest-TestBasicPolicy-20686070-42188743 is ready for SSH connections 2025-05-08 02:35:50,611 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-08 02:35:50,611 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.38.144.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-08 02:35:50,611 - DEBUG - ping -s 56 -c 3 -W 1 34.38.144.3 2025-05-08 02:35:55,230 - DEBUG - PING 34.38.144.3 (34.38.144.3): 56 data bytes 64 bytes from 34.38.144.3: seq=0 ttl=63 time=9.072 ms 64 bytes from 34.38.144.3: seq=1 ttl=63 time=2.140 ms 64 bytes from 34.38.144.3: seq=2 ttl=63 time=1.619 ms --- 34.38.144.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.619/4.277/9.072 ms 2025-05-08 02:35:55,231 - INFO - Ping to IP 34.38.144.3 from VM ctest-TestBasicPolicy-20686070-52748388 passed 2025-05-08 02:35:55,510 - DEBUG - Policy Update Response {"network-policy": {"uuid": "78931848-aa70-41a8-818c-b5e08731e1a2", "href": "http://10.0.0.38:8082/network-policy/78931848-aa70-41a8-818c-b5e08731e1a2"}} 2025-05-08 02:35:55,511 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-08 02:35:55,511 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.38.144.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-08 02:35:55,511 - DEBUG - ping -s 56 -c 3 -W 1 34.38.144.3 2025-05-08 02:35:58,861 - DEBUG - PING 34.38.144.3 (34.38.144.3): 56 data bytes --- 34.38.144.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-08 02:35:58,861 - WARNING - Ping to IP 34.38.144.3 from VM ctest-TestBasicPolicy-20686070-52748388 failed 2025-05-08 02:35:58,862 - INFO - Deleting VM ctest-TestBasicPolicy-20686070-42188743 2025-05-08 02:35:58,993 - INFO - Deleting VM ctest-TestBasicPolicy-20686070-52748388 2025-05-08 02:35:59,557 - INFO - Deleted policy ctest-policy-allow-all-44730355 2025-05-08 02:35:59,558 - INFO - Deleting VN ctest-vn-70828339 2025-05-08 02:35:59,602 - DEBUG - VN f691e28d-622a-47c7-96d0-5aa114a767c3 still in use: Unable to complete operation on network f691e28d-622a-47c7-96d0-5aa114a767c3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-43d2653d-2d5e-44d3-8552-63f9fa47ed4e'] 2025-05-08 02:35:59,602 - WARNING - Deleting VN ctest-vn-70828339 failed..Will retry 2025-05-08 02:36:01,811 - DEBUG - Response for deleting network () 2025-05-08 02:36:01,811 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4eb27b14-9f3a-4d7d-906d-b8e922c2d775 2025-05-08 02:36:01,820 - DEBUG - Response Code: 404 2025-05-08 02:36:01,821 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-08 02:36:01,829 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9cdfd9c2-b37b-4bfc-aab0-c483ccac200c 2025-05-08 02:36:01,891 - DEBUG - Requesting: http://10.0.0.38:8082/project/77c9427a-3d88-4091-8b12-be20c66f6c5c 2025-05-08 02:36:02,000 - INFO - Validated that VN ctest-vn-70828339 is not found in API Server 2025-05-08 02:36:02,023 - DEBUG - VN ctest-vn-70828339 is not present in Agent 10.0.0.38 2025-05-08 02:36:02,023 - INFO - Validated that VN ctest-vn-70828339 is not in any agent 2025-05-08 02:36:02,064 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70828339 info 2025-05-08 02:36:02,064 - INFO - Deleting VN ctest-vn-18513103 2025-05-08 02:36:02,251 - DEBUG - Response for deleting network () 2025-05-08 02:36:02,251 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4098ad2c-f269-4a38-8674-6f7ea14b8a94 2025-05-08 02:36:02,259 - DEBUG - Response Code: 404 2025-05-08 02:36:02,259 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-08 02:36:02,270 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9cdfd9c2-b37b-4bfc-aab0-c483ccac200c 2025-05-08 02:36:02,331 - DEBUG - Requesting: http://10.0.0.38:8082/project/77c9427a-3d88-4091-8b12-be20c66f6c5c 2025-05-08 02:36:02,454 - INFO - Validated that VN ctest-vn-18513103 is not found in API Server 2025-05-08 02:36:02,490 - DEBUG - VN ctest-vn-18513103 is not present in Agent 10.0.0.38 2025-05-08 02:36:02,490 - INFO - Validated that VN ctest-vn-18513103 is not in any agent 2025-05-08 02:36:02,543 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18513103 info 2025-05-08 02:36:02,873 - DEBUG - No XMPP flaps were noticed during the test 2025-05-08 02:36:02,874 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37] 2025-05-08 02:36:02,874 - INFO - -------------------------------------------------------------------------------- 2025-05-08 02:36:03,749 - INFO - Deleted project: ctest-TestBasicPolicy-20686070, ID : 77c9427a-3d88-4091-8b12-be20c66f6c5c