2025-04-25 00:26:21,391 - INFO - Domain Default found not creating 2025-04-25 00:26:21,525 - INFO - Project ctest-TestBasicPolicy-72795414 not found, creating it 2025-04-25 00:26:22,017 - INFO - Created Project:ctest-TestBasicPolicy-72795414, ID : 05fe6cce-0d44-4f2c-b116-0dbff8504709 2025-04-25 00:26:23,423 - INFO - ================================================================================ 2025-04-25 00:26:23,423 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-25 00:26:23,423 - 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-04-25 00:26:23,678 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.254': '0'}} with 2025-04-25 00:26:23,678 - INFO - Initial checks done. Running the testcase now 2025-04-25 00:26:23,678 - INFO - 2025-04-25 00:26:24,228 - DEBUG - Response for create_network : {'network': {'id': '1e6b0f06-fa59-4584-865b-060b8e1b12d7', 'name': 'ctest-vn-20896077', 'tenant_id': '05fe6cce0d444f2cb1160dbff8504709', 'project_id': '05fe6cce0d444f2cb1160dbff8504709', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72795414', 'ctest-vn-20896077'], 'port_security_enabled': True, 'description': ''}} 2025-04-25 00:26:24,398 - DEBUG - Response for create_subnet : {'subnet': {'id': '91af8f9a-25cd-4263-b816-e0c7651baef8', 'name': '', 'tenant_id': '05fe6cce0d444f2cb1160dbff8504709', 'network_id': '1e6b0f06-fa59-4584-865b-060b8e1b12d7', 'ip_version': 4, 'cidr': '170.13.228.64/26', 'allocation_pools': [{'start': '170.13.228.66', 'end': '170.13.228.126'}], 'gateway_ip': '170.13.228.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.13.228.66', 'tags': [], 'project_id': '05fe6cce0d444f2cb1160dbff8504709'}} 2025-04-25 00:26:24,415 - INFO - Created VN ctest-vn-20896077 2025-04-25 00:26:24,465 - DEBUG - VN ctest-vn-20896077 UUID is 1e6b0f06-fa59-4584-865b-060b8e1b12d7 2025-04-25 00:26:24,794 - DEBUG - Response for create_network : {'network': {'id': '2bd88b41-e571-4049-8054-5b07b700cadd', 'name': 'ctest-vn-79304549', 'tenant_id': '05fe6cce0d444f2cb1160dbff8504709', 'project_id': '05fe6cce0d444f2cb1160dbff8504709', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72795414', 'ctest-vn-79304549'], 'port_security_enabled': True, 'description': ''}} 2025-04-25 00:26:24,943 - DEBUG - Response for create_subnet : {'subnet': {'id': '7523a89a-c946-4564-a758-36856140f2b2', 'name': '', 'tenant_id': '05fe6cce0d444f2cb1160dbff8504709', 'network_id': '2bd88b41-e571-4049-8054-5b07b700cadd', 'ip_version': 4, 'cidr': '90.153.68.0/26', 'allocation_pools': [{'start': '90.153.68.2', 'end': '90.153.68.62'}], 'gateway_ip': '90.153.68.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.153.68.2', 'tags': [], 'project_id': '05fe6cce0d444f2cb1160dbff8504709'}} 2025-04-25 00:26:24,963 - INFO - Created VN ctest-vn-79304549 2025-04-25 00:26:25,017 - DEBUG - VN ctest-vn-79304549 UUID is 2bd88b41-e571-4049-8054-5b07b700cadd 2025-04-25 00:26:25,241 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-72795414:ctest-vn-20896077, 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-72795414:ctest-vn-79304549, 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-04-25 00:26:25,530 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1e6b0f06-fa59-4584-865b-060b8e1b12d7', 'name': 'ctest-vn-20896077', 'tenant_id': '05fe6cce0d444f2cb1160dbff8504709', 'project_id': '05fe6cce0d444f2cb1160dbff8504709', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['91af8f9a-25cd-4263-b816-e0c7651baef8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72795414', 'ctest-vn-20896077'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72795414', 'ctest-policy-allow-all-15070647']], 'subnet_ipam': [{'subnet_cidr': '170.13.228.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-25 00:26:25,725 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2bd88b41-e571-4049-8054-5b07b700cadd', 'name': 'ctest-vn-79304549', 'tenant_id': '05fe6cce0d444f2cb1160dbff8504709', 'project_id': '05fe6cce0d444f2cb1160dbff8504709', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7523a89a-c946-4564-a758-36856140f2b2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72795414', 'ctest-vn-79304549'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72795414', 'ctest-policy-allow-all-15070647']], 'subnet_ipam': [{'subnet_cidr': '90.153.68.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-25 00:26:25,881 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-04-25 00:26:26,171 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-04-25 00:26:26,197 - DEBUG - Requesting: http://10.0.0.241:8082/domain/26e15901-b182-4546-afde-31ab87cffee7 2025-04-25 00:26:26,210 - DEBUG - Requesting: http://10.0.0.241:8082/project/05fe6cce-0d44-4f2c-b116-0dbff8504709 2025-04-25 00:26:26,288 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/1e6b0f06-fa59-4584-865b-060b8e1b12d7 2025-04-25 00:26:26,299 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/1e6b0f06-fa59-4584-865b-060b8e1b12d7 2025-04-25 00:26:26,308 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/0f82dee1-e9b4-4a6c-9b3e-cc83857f8736 2025-04-25 00:26:26,316 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/0f82dee1-e9b4-4a6c-9b3e-cc83857f8736 2025-04-25 00:26:26,324 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/53f1a955-da5f-4e35-9286-b479f0b3949d 2025-04-25 00:26:26,331 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-25 00:26:26,331 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/1e6b0f06-fa59-4584-865b-060b8e1b12d7 2025-04-25 00:26:26,342 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/0f82dee1-e9b4-4a6c-9b3e-cc83857f8736 2025-04-25 00:26:26,361 - INFO - Verified VN network id 7 for VN 1e6b0f06-fa59-4584-865b-060b8e1b12d7 2025-04-25 00:26:26,361 - INFO - Verifications in API Server for VN ctest-vn-20896077 passed 2025-04-25 00:26:26,361 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/1e6b0f06-fa59-4584-865b-060b8e1b12d7 2025-04-25 00:26:26,371 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/0f82dee1-e9b4-4a6c-9b3e-cc83857f8736 2025-04-25 00:26:26,378 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/0f82dee1-e9b4-4a6c-9b3e-cc83857f8736 2025-04-25 00:26:26,384 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/53f1a955-da5f-4e35-9286-b479f0b3949d 2025-04-25 00:26:26,395 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72795414:ctest-vn-20896077', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72795414', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2191862166290253188', 'uuid-lslong': '9681338470661558999'}, 'enable': 'true', 'created': '2025-04-25T00:26:24', 'last-modified': '2025-04-25T00:26:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.885219'} 2025-04-25 00:26:26,402 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-25 00:26:26,402 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20896077 passed 2025-04-25 00:26:26,402 - DEBUG - ====Verifying policy data for ctest-vn-20896077 in API_Server ====== 2025-04-25 00:26:26,402 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-04-25 00:26:26,407 - DEBUG - Requesting: http://10.0.0.241:8082/domain/26e15901-b182-4546-afde-31ab87cffee7 2025-04-25 00:26:26,418 - DEBUG - Requesting: http://10.0.0.241:8082/project/05fe6cce-0d44-4f2c-b116-0dbff8504709 2025-04-25 00:26:26,485 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/1e6b0f06-fa59-4584-865b-060b8e1b12d7 2025-04-25 00:26:26,495 - DEBUG - ==>Verifying data for policy with id: 04be5999-e64c-4835-a58e-c49c97709dcd, fqn: ['default-domain', 'ctest-TestBasicPolicy-72795414', 'ctest-policy-allow-all-15070647'] 2025-04-25 00:26:26,495 - INFO - VN ctest-vn-20896077 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-25 00:26:26,495 - DEBUG - Verifying the vn in opserver 2025-04-25 00:26:26,495 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72795414:ctest-vn-20896077 virtual network link through opserver 10.0.0.241 2025-04-25 00:26:26,495 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-04-25 00:26:26,783 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-04-25 00:26:26,837 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72795414:ctest-vn-20896077', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72795414:ctest-vn-20896077?flat'} 2025-04-25 00:26:26,837 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72795414:ctest-vn-20896077 is found in opserver 2025-04-25 00:26:26,850 - DEBUG - Do not have enough data to verify VN in agent 2025-04-25 00:26:26,856 - DEBUG - VRF ids for VN ctest-vn-20896077: {} 2025-04-25 00:26:26,856 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-04-25 00:26:26,862 - DEBUG - Requesting: http://10.0.0.241:8082/domain/26e15901-b182-4546-afde-31ab87cffee7 2025-04-25 00:26:26,874 - DEBUG - Requesting: http://10.0.0.241:8082/project/05fe6cce-0d44-4f2c-b116-0dbff8504709 2025-04-25 00:26:26,946 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/2bd88b41-e571-4049-8054-5b07b700cadd 2025-04-25 00:26:26,961 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/2bd88b41-e571-4049-8054-5b07b700cadd 2025-04-25 00:26:26,971 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/34c9e701-21b5-48a0-83a0-73759258e84a 2025-04-25 00:26:26,981 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/34c9e701-21b5-48a0-83a0-73759258e84a 2025-04-25 00:26:26,988 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/b721e84e-82f9-4f29-a4c6-d7b32ec82de8 2025-04-25 00:26:26,995 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-25 00:26:26,995 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/2bd88b41-e571-4049-8054-5b07b700cadd 2025-04-25 00:26:27,004 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/34c9e701-21b5-48a0-83a0-73759258e84a 2025-04-25 00:26:27,020 - INFO - Verified VN network id 8 for VN 2bd88b41-e571-4049-8054-5b07b700cadd 2025-04-25 00:26:27,020 - INFO - Verifications in API Server for VN ctest-vn-79304549 passed 2025-04-25 00:26:27,020 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/2bd88b41-e571-4049-8054-5b07b700cadd 2025-04-25 00:26:27,030 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/34c9e701-21b5-48a0-83a0-73759258e84a 2025-04-25 00:26:27,037 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/34c9e701-21b5-48a0-83a0-73759258e84a 2025-04-25 00:26:27,044 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/b721e84e-82f9-4f29-a4c6-d7b32ec82de8 2025-04-25 00:26:27,057 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72795414:ctest-vn-79304549', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72795414', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3159428253738942537', 'uuid-lslong': '9247116023591652061'}, 'enable': 'true', 'created': '2025-04-25T00:26:24', 'last-modified': '2025-04-25T00:26:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.354972'} 2025-04-25 00:26:27,064 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-25 00:26:27,064 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79304549 passed 2025-04-25 00:26:27,064 - DEBUG - ====Verifying policy data for ctest-vn-79304549 in API_Server ====== 2025-04-25 00:26:27,065 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-04-25 00:26:27,070 - DEBUG - Requesting: http://10.0.0.241:8082/domain/26e15901-b182-4546-afde-31ab87cffee7 2025-04-25 00:26:27,083 - DEBUG - Requesting: http://10.0.0.241:8082/project/05fe6cce-0d44-4f2c-b116-0dbff8504709 2025-04-25 00:26:27,152 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/2bd88b41-e571-4049-8054-5b07b700cadd 2025-04-25 00:26:27,162 - DEBUG - ==>Verifying data for policy with id: 04be5999-e64c-4835-a58e-c49c97709dcd, fqn: ['default-domain', 'ctest-TestBasicPolicy-72795414', 'ctest-policy-allow-all-15070647'] 2025-04-25 00:26:27,162 - INFO - VN ctest-vn-79304549 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-25 00:26:27,162 - DEBUG - Verifying the vn in opserver 2025-04-25 00:26:27,162 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72795414:ctest-vn-79304549 virtual network link through opserver 10.0.0.241 2025-04-25 00:26:27,162 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-04-25 00:26:27,173 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72795414:ctest-vn-79304549', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72795414:ctest-vn-79304549?flat'} 2025-04-25 00:26:27,173 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72795414:ctest-vn-79304549 is found in opserver 2025-04-25 00:26:27,183 - DEBUG - Do not have enough data to verify VN in agent 2025-04-25 00:26:27,187 - DEBUG - VRF ids for VN ctest-vn-79304549: {} 2025-04-25 00:26:27,249 - DEBUG - Services list from nova: [, , ] 2025-04-25 00:26:28,223 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3212-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3212-1) 2025-04-25 00:26:29,444 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3212-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3212-1) 2025-04-25 00:26:29,444 - INFO - Waiting for VM ctest-TestBasicPolicy-72795414-82081342 to be up.. 2025-04-25 00:26:29,525 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-25 00:26:34,593 - DEBUG - VM is in ACTIVE state now 2025-04-25 00:26:34,593 - INFO - VM name : ctest-TestBasicPolicy-72795414-82081342 2025-04-25 00:26:34,658 - DEBUG - VM ctest-TestBasicPolicy-72795414-82081342 ID is 22582f8f-08cd-456e-afec-0e81fe356a9c 2025-04-25 00:26:34,676 - DEBUG - VM ctest-TestBasicPolicy-72795414-82081342 launched on Node cn-jenkins-deploy-platform-ansible-os-3212-1 2025-04-25 00:26:34,748 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/22582f8f-08cd-456e-afec-0e81fe356a9c 2025-04-25 00:26:34,757 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/7bb53d9a-646d-4d7d-8455-49e50602705f 2025-04-25 00:26:38,026 - 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 1020ms') 2025-04-25 00:26:38,026 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72795414-82081342 failed! 2025-04-25 00:26:38,085 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72795414:ctest-vn-20896077 is 170.13.228.65 and allocation pool is NOT set 2025-04-25 00:26:40,145 - 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=5.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.841 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.841/3.112/5.383/2.271 ms') 2025-04-25 00:26:40,145 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72795414-82081342 passed 2025-04-25 00:26:40,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 00:26:40,305 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72795414-82081342, IP 170.13.228.67, Port 22 2025-04-25 00:26:40,457 - DEBUG - VM ctest-TestBasicPolicy-72795414-82081342 is ready for SSH connections 2025-04-25 00:26:40,457 - INFO - Waiting for VM ctest-TestBasicPolicy-72795414-49843875 to be up.. 2025-04-25 00:26:40,528 - DEBUG - VM is in ACTIVE state now 2025-04-25 00:26:40,528 - INFO - VM name : ctest-TestBasicPolicy-72795414-49843875 2025-04-25 00:26:40,600 - DEBUG - VM ctest-TestBasicPolicy-72795414-49843875 ID is 6a76fe7f-df12-42ea-b67e-db9a0b16d93f 2025-04-25 00:26:40,600 - DEBUG - VM ctest-TestBasicPolicy-72795414-49843875 launched on Node cn-jenkins-deploy-platform-ansible-os-3212-1 2025-04-25 00:26:40,675 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/6a76fe7f-df12-42ea-b67e-db9a0b16d93f 2025-04-25 00:26:40,683 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/339d6692-6ba5-4c5f-8456-18859668e238 2025-04-25 00:26:41,924 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.375 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 = 0.375/1.551/2.727/1.176 ms') 2025-04-25 00:26:41,924 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-72795414-49843875 passed 2025-04-25 00:26:42,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 00:26:42,073 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72795414-49843875, IP 90.153.68.3, Port 22 2025-04-25 00:26:42,232 - DEBUG - VM ctest-TestBasicPolicy-72795414-49843875 is ready for SSH connections 2025-04-25 00:26:42,232 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 00:26:42,232 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.153.68.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-04-25 00:26:42,232 - DEBUG - ping -s 56 -c 3 -W 1 90.153.68.3 2025-04-25 00:26:45,902 - DEBUG - PING 90.153.68.3 (90.153.68.3): 56 data bytes 64 bytes from 90.153.68.3: seq=0 ttl=63 time=4.015 ms 64 bytes from 90.153.68.3: seq=1 ttl=63 time=0.812 ms 64 bytes from 90.153.68.3: seq=2 ttl=63 time=0.817 ms --- 90.153.68.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.812/1.881/4.015 ms 2025-04-25 00:26:45,902 - INFO - Ping to IP 90.153.68.3 from VM ctest-TestBasicPolicy-72795414-82081342 passed 2025-04-25 00:26:46,081 - DEBUG - Policy Update Response {"network-policy": {"uuid": "04be5999-e64c-4835-a58e-c49c97709dcd", "href": "http://10.0.0.241:8082/network-policy/04be5999-e64c-4835-a58e-c49c97709dcd"}} 2025-04-25 00:26:46,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 00:26:46,081 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.153.68.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-04-25 00:26:46,081 - DEBUG - ping -s 56 -c 3 -W 1 90.153.68.3 2025-04-25 00:26:49,287 - DEBUG - PING 90.153.68.3 (90.153.68.3): 56 data bytes --- 90.153.68.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-25 00:26:49,287 - WARNING - Ping to IP 90.153.68.3 from VM ctest-TestBasicPolicy-72795414-82081342 failed 2025-04-25 00:26:49,287 - INFO - Deleting VM ctest-TestBasicPolicy-72795414-49843875 2025-04-25 00:26:49,345 - INFO - Deleting VM ctest-TestBasicPolicy-72795414-82081342 2025-04-25 00:26:49,707 - INFO - Deleted policy ctest-policy-allow-all-15070647 2025-04-25 00:26:49,707 - INFO - Deleting VN ctest-vn-79304549 2025-04-25 00:26:49,745 - DEBUG - VN 2bd88b41-e571-4049-8054-5b07b700cadd still in use: Unable to complete operation on network 2bd88b41-e571-4049-8054-5b07b700cadd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cc0e15f0-6fc9-4573-8d4b-e0e54a6769dc'] 2025-04-25 00:26:49,745 - WARNING - Deleting VN ctest-vn-79304549 failed..Will retry 2025-04-25 00:26:51,848 - DEBUG - Response for deleting network () 2025-04-25 00:26:51,848 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/34c9e701-21b5-48a0-83a0-73759258e84a 2025-04-25 00:26:51,854 - DEBUG - Response Code: 404 2025-04-25 00:26:51,855 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-04-25 00:26:51,862 - DEBUG - Requesting: http://10.0.0.241:8082/domain/26e15901-b182-4546-afde-31ab87cffee7 2025-04-25 00:26:51,915 - DEBUG - Requesting: http://10.0.0.241:8082/project/05fe6cce-0d44-4f2c-b116-0dbff8504709 2025-04-25 00:26:51,987 - INFO - Validated that VN ctest-vn-79304549 is not found in API Server 2025-04-25 00:26:51,998 - DEBUG - VN ctest-vn-79304549 is not present in Agent 10.0.0.241 2025-04-25 00:26:51,998 - INFO - Validated that VN ctest-vn-79304549 is not in any agent 2025-04-25 00:26:52,013 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79304549 info 2025-04-25 00:26:52,013 - INFO - Deleting VN ctest-vn-20896077 2025-04-25 00:26:52,119 - DEBUG - Response for deleting network () 2025-04-25 00:26:52,119 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/0f82dee1-e9b4-4a6c-9b3e-cc83857f8736 2025-04-25 00:26:52,125 - DEBUG - Response Code: 404 2025-04-25 00:26:52,125 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-04-25 00:26:52,131 - DEBUG - Requesting: http://10.0.0.241:8082/domain/26e15901-b182-4546-afde-31ab87cffee7 2025-04-25 00:26:52,187 - DEBUG - Requesting: http://10.0.0.241:8082/project/05fe6cce-0d44-4f2c-b116-0dbff8504709 2025-04-25 00:26:52,262 - INFO - Validated that VN ctest-vn-20896077 is not found in API Server 2025-04-25 00:26:52,273 - DEBUG - VN ctest-vn-20896077 is not present in Agent 10.0.0.241 2025-04-25 00:26:52,273 - INFO - Validated that VN ctest-vn-20896077 is not in any agent 2025-04-25 00:26:52,289 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20896077 info 2025-04-25 00:26:52,543 - DEBUG - No XMPP flaps were noticed during the test 2025-04-25 00:26:52,543 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-04-25 00:26:52,543 - INFO - -------------------------------------------------------------------------------- 2025-04-25 00:26:53,198 - INFO - Deleted project: ctest-TestBasicPolicy-72795414, ID : 05fe6cce-0d44-4f2c-b116-0dbff8504709