2025-07-23 06:24:37,031 - INFO - Domain Default found not creating 2025-07-23 06:24:37,185 - INFO - Project ctest-TestBasicPolicy-49257773 not found, creating it 2025-07-23 06:24:37,641 - INFO - Created Project:ctest-TestBasicPolicy-49257773, ID : 75ab6892-5e7b-492f-bf00-751edd588ce2 2025-07-23 06:24:39,337 - INFO - ================================================================================ 2025-07-23 06:24:39,337 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-23 06:24:39,338 - 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-07-23 06:24:39,591 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-07-23 06:24:39,591 - INFO - Initial checks done. Running the testcase now 2025-07-23 06:24:39,591 - INFO - 2025-07-23 06:24:40,135 - DEBUG - Response for create_network : {'network': {'id': '04022994-e8a7-4d9d-9824-4f21c7906e48', 'name': 'ctest-vn-32884084', 'tenant_id': '75ab68925e7b492fbf00751edd588ce2', 'project_id': '75ab68925e7b492fbf00751edd588ce2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49257773', 'ctest-vn-32884084'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 06:24:40,315 - DEBUG - Response for create_subnet : {'subnet': {'id': '5dc40138-ea8d-4f10-96d6-a7ea3e855348', 'name': '', 'tenant_id': '75ab68925e7b492fbf00751edd588ce2', 'network_id': '04022994-e8a7-4d9d-9824-4f21c7906e48', 'ip_version': 4, 'cidr': '197.104.44.128/26', 'allocation_pools': [{'start': '197.104.44.130', 'end': '197.104.44.190'}], 'gateway_ip': '197.104.44.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.104.44.130', 'tags': [], 'project_id': '75ab68925e7b492fbf00751edd588ce2'}} 2025-07-23 06:24:40,336 - INFO - Created VN ctest-vn-32884084 2025-07-23 06:24:40,389 - DEBUG - VN ctest-vn-32884084 UUID is 04022994-e8a7-4d9d-9824-4f21c7906e48 2025-07-23 06:24:40,702 - DEBUG - Response for create_network : {'network': {'id': '84a8d755-2809-453b-9b09-4420cb2dddac', 'name': 'ctest-vn-75157303', 'tenant_id': '75ab68925e7b492fbf00751edd588ce2', 'project_id': '75ab68925e7b492fbf00751edd588ce2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49257773', 'ctest-vn-75157303'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 06:24:40,883 - DEBUG - Response for create_subnet : {'subnet': {'id': '9babfad8-5dfc-4ce0-a8d7-7004f2d094a5', 'name': '', 'tenant_id': '75ab68925e7b492fbf00751edd588ce2', 'network_id': '84a8d755-2809-453b-9b09-4420cb2dddac', 'ip_version': 4, 'cidr': '146.69.130.128/26', 'allocation_pools': [{'start': '146.69.130.130', 'end': '146.69.130.190'}], 'gateway_ip': '146.69.130.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.69.130.130', 'tags': [], 'project_id': '75ab68925e7b492fbf00751edd588ce2'}} 2025-07-23 06:24:40,901 - INFO - Created VN ctest-vn-75157303 2025-07-23 06:24:40,957 - DEBUG - VN ctest-vn-75157303 UUID is 84a8d755-2809-453b-9b09-4420cb2dddac 2025-07-23 06:24:41,081 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49257773:ctest-vn-32884084, 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-49257773:ctest-vn-75157303, 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-07-23 06:24:41,388 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '04022994-e8a7-4d9d-9824-4f21c7906e48', 'name': 'ctest-vn-32884084', 'tenant_id': '75ab68925e7b492fbf00751edd588ce2', 'project_id': '75ab68925e7b492fbf00751edd588ce2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5dc40138-ea8d-4f10-96d6-a7ea3e855348'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49257773', 'ctest-vn-32884084'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49257773', 'ctest-policy-allow-all-79406967']], 'subnet_ipam': [{'subnet_cidr': '197.104.44.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-23 06:24:41,632 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '84a8d755-2809-453b-9b09-4420cb2dddac', 'name': 'ctest-vn-75157303', 'tenant_id': '75ab68925e7b492fbf00751edd588ce2', 'project_id': '75ab68925e7b492fbf00751edd588ce2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9babfad8-5dfc-4ce0-a8d7-7004f2d094a5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49257773', 'ctest-vn-75157303'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49257773', 'ctest-policy-allow-all-79406967']], 'subnet_ipam': [{'subnet_cidr': '146.69.130.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-23 06:24:41,789 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-07-23 06:24:42,093 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-07-23 06:24:42,120 - DEBUG - Requesting: http://10.0.0.141:8082/domain/644e7c77-5632-4339-b359-95639eedac10 2025-07-23 06:24:42,137 - DEBUG - Requesting: http://10.0.0.141:8082/project/75ab6892-5e7b-492f-bf00-751edd588ce2 2025-07-23 06:24:42,213 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/04022994-e8a7-4d9d-9824-4f21c7906e48 2025-07-23 06:24:42,225 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/04022994-e8a7-4d9d-9824-4f21c7906e48 2025-07-23 06:24:42,235 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4da9ab49-85d8-4195-b4ac-8876333396c9 2025-07-23 06:24:42,243 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4da9ab49-85d8-4195-b4ac-8876333396c9 2025-07-23 06:24:42,250 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/4f55546b-9116-40ae-9282-d7948e48748b 2025-07-23 06:24:42,257 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-23 06:24:42,257 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/04022994-e8a7-4d9d-9824-4f21c7906e48 2025-07-23 06:24:42,268 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4da9ab49-85d8-4195-b4ac-8876333396c9 2025-07-23 06:24:42,283 - INFO - Verified VN network id 9 for VN 04022994-e8a7-4d9d-9824-4f21c7906e48 2025-07-23 06:24:42,283 - INFO - Verifications in API Server for VN ctest-vn-32884084 passed 2025-07-23 06:24:42,283 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/04022994-e8a7-4d9d-9824-4f21c7906e48 2025-07-23 06:24:42,294 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4da9ab49-85d8-4195-b4ac-8876333396c9 2025-07-23 06:24:42,301 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4da9ab49-85d8-4195-b4ac-8876333396c9 2025-07-23 06:24:42,311 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/4f55546b-9116-40ae-9282-d7948e48748b 2025-07-23 06:24:42,324 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49257773:ctest-vn-32884084', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49257773', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '288839045640310173', 'uuid-lslong': '10962974399427276360'}, 'enable': 'true', 'created': '2025-07-23T06:24:40', 'last-modified': '2025-07-23T06:24:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.960338'} 2025-07-23 06:24:42,332 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-23 06:24:42,332 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32884084 passed 2025-07-23 06:24:42,332 - DEBUG - ====Verifying policy data for ctest-vn-32884084 in API_Server ====== 2025-07-23 06:24:42,333 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-07-23 06:24:42,339 - DEBUG - Requesting: http://10.0.0.141:8082/domain/644e7c77-5632-4339-b359-95639eedac10 2025-07-23 06:24:42,351 - DEBUG - Requesting: http://10.0.0.141:8082/project/75ab6892-5e7b-492f-bf00-751edd588ce2 2025-07-23 06:24:42,430 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/04022994-e8a7-4d9d-9824-4f21c7906e48 2025-07-23 06:24:42,442 - DEBUG - ==>Verifying data for policy with id: 9b33241a-c061-4e87-8782-58560073bbb1, fqn: ['default-domain', 'ctest-TestBasicPolicy-49257773', 'ctest-policy-allow-all-79406967'] 2025-07-23 06:24:42,442 - INFO - VN ctest-vn-32884084 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-23 06:24:42,442 - DEBUG - Verifying the vn in opserver 2025-07-23 06:24:42,442 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49257773:ctest-vn-32884084 virtual network link through opserver 10.0.0.141 2025-07-23 06:24:42,442 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-07-23 06:24:42,737 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-07-23 06:24:42,789 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49257773:ctest-vn-32884084', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49257773:ctest-vn-32884084?flat'} 2025-07-23 06:24:42,790 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49257773:ctest-vn-32884084 is found in opserver 2025-07-23 06:24:42,803 - DEBUG - Do not have enough data to verify VN in agent 2025-07-23 06:24:42,808 - DEBUG - VRF ids for VN ctest-vn-32884084: {} 2025-07-23 06:24:42,808 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-07-23 06:24:42,814 - DEBUG - Requesting: http://10.0.0.141:8082/domain/644e7c77-5632-4339-b359-95639eedac10 2025-07-23 06:24:42,825 - DEBUG - Requesting: http://10.0.0.141:8082/project/75ab6892-5e7b-492f-bf00-751edd588ce2 2025-07-23 06:24:42,893 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/84a8d755-2809-453b-9b09-4420cb2dddac 2025-07-23 06:24:42,905 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/84a8d755-2809-453b-9b09-4420cb2dddac 2025-07-23 06:24:42,917 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/bfa3d210-9bae-41f2-9d10-db4d00912243 2025-07-23 06:24:42,926 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/bfa3d210-9bae-41f2-9d10-db4d00912243 2025-07-23 06:24:42,933 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/296a605a-feb4-4448-9929-7922f7e2ea76 2025-07-23 06:24:42,940 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-23 06:24:42,940 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/84a8d755-2809-453b-9b09-4420cb2dddac 2025-07-23 06:24:42,949 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/bfa3d210-9bae-41f2-9d10-db4d00912243 2025-07-23 06:24:42,964 - INFO - Verified VN network id 10 for VN 84a8d755-2809-453b-9b09-4420cb2dddac 2025-07-23 06:24:42,964 - INFO - Verifications in API Server for VN ctest-vn-75157303 passed 2025-07-23 06:24:42,965 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/84a8d755-2809-453b-9b09-4420cb2dddac 2025-07-23 06:24:42,975 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/bfa3d210-9bae-41f2-9d10-db4d00912243 2025-07-23 06:24:42,983 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/bfa3d210-9bae-41f2-9d10-db4d00912243 2025-07-23 06:24:42,990 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/296a605a-feb4-4448-9929-7922f7e2ea76 2025-07-23 06:24:43,003 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49257773:ctest-vn-75157303', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49257773', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9559126969837765947', 'uuid-lslong': '11171535258307648940'}, 'enable': 'true', 'created': '2025-07-23T06:24:40', 'last-modified': '2025-07-23T06:24:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.394375'} 2025-07-23 06:24:43,009 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-23 06:24:43,009 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75157303 passed 2025-07-23 06:24:43,009 - DEBUG - ====Verifying policy data for ctest-vn-75157303 in API_Server ====== 2025-07-23 06:24:43,010 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-07-23 06:24:43,016 - DEBUG - Requesting: http://10.0.0.141:8082/domain/644e7c77-5632-4339-b359-95639eedac10 2025-07-23 06:24:43,028 - DEBUG - Requesting: http://10.0.0.141:8082/project/75ab6892-5e7b-492f-bf00-751edd588ce2 2025-07-23 06:24:43,099 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/84a8d755-2809-453b-9b09-4420cb2dddac 2025-07-23 06:24:43,108 - DEBUG - ==>Verifying data for policy with id: 9b33241a-c061-4e87-8782-58560073bbb1, fqn: ['default-domain', 'ctest-TestBasicPolicy-49257773', 'ctest-policy-allow-all-79406967'] 2025-07-23 06:24:43,108 - INFO - VN ctest-vn-75157303 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-23 06:24:43,108 - DEBUG - Verifying the vn in opserver 2025-07-23 06:24:43,108 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49257773:ctest-vn-75157303 virtual network link through opserver 10.0.0.141 2025-07-23 06:24:43,108 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-07-23 06:24:43,119 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49257773:ctest-vn-75157303', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49257773:ctest-vn-75157303?flat'} 2025-07-23 06:24:43,119 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49257773:ctest-vn-75157303 is found in opserver 2025-07-23 06:24:43,131 - DEBUG - Do not have enough data to verify VN in agent 2025-07-23 06:24:43,136 - DEBUG - VRF ids for VN ctest-vn-75157303: {} 2025-07-23 06:24:43,191 - DEBUG - Services list from nova: [, , ] 2025-07-23 06:24:44,209 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3698-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3698-1) 2025-07-23 06:24:45,435 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3698-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3698-1) 2025-07-23 06:24:45,435 - INFO - Waiting for VM ctest-TestBasicPolicy-49257773-76523226 to be up.. 2025-07-23 06:24:45,537 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-23 06:24:50,620 - DEBUG - VM is in ACTIVE state now 2025-07-23 06:24:50,620 - INFO - VM name : ctest-TestBasicPolicy-49257773-76523226 2025-07-23 06:24:50,698 - DEBUG - VM ctest-TestBasicPolicy-49257773-76523226 ID is e082dcc0-ab83-412d-b845-46fdb9a8f91b 2025-07-23 06:24:50,718 - DEBUG - VM ctest-TestBasicPolicy-49257773-76523226 launched on Node cn-jenkins-deploy-platform-ansible-os-3698-1 2025-07-23 06:24:50,793 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/e082dcc0-ab83-412d-b845-46fdb9a8f91b 2025-07-23 06:24:50,804 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/8895044c-619d-4b23-a7b7-6dac56313e33 2025-07-23 06:24:54,052 - 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 1009ms') 2025-07-23 06:24:54,052 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49257773-76523226 failed! 2025-07-23 06:24:54,108 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49257773:ctest-vn-32884084 is 197.104.44.129 and allocation pool is NOT set 2025-07-23 06:24:56,171 - 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=9.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.909 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.909/5.156/9.403/4.247 ms') 2025-07-23 06:24:56,171 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49257773-76523226 passed 2025-07-23 06:24:56,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 06:24:56,321 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49257773-76523226, IP 197.104.44.131, Port 22 2025-07-23 06:24:56,480 - DEBUG - VM ctest-TestBasicPolicy-49257773-76523226 is ready for SSH connections 2025-07-23 06:24:56,480 - INFO - Waiting for VM ctest-TestBasicPolicy-49257773-67155721 to be up.. 2025-07-23 06:24:56,551 - DEBUG - VM is in ACTIVE state now 2025-07-23 06:24:56,551 - INFO - VM name : ctest-TestBasicPolicy-49257773-67155721 2025-07-23 06:24:56,622 - DEBUG - VM ctest-TestBasicPolicy-49257773-67155721 ID is 2e7b484b-98c6-4182-bd10-817a79bcc809 2025-07-23 06:24:56,622 - DEBUG - VM ctest-TestBasicPolicy-49257773-67155721 launched on Node cn-jenkins-deploy-platform-ansible-os-3698-1 2025-07-23 06:24:56,693 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/2e7b484b-98c6-4182-bd10-817a79bcc809 2025-07-23 06:24:56,702 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/20bccf50-da81-46de-a128-6eed3b66af9f 2025-07-23 06:24:57,946 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.763 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.763/1.792/2.821/1.029 ms') 2025-07-23 06:24:57,946 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-49257773-67155721 passed 2025-07-23 06:24:58,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 06:24:58,101 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49257773-67155721, IP 146.69.130.131, Port 22 2025-07-23 06:24:58,260 - DEBUG - VM ctest-TestBasicPolicy-49257773-67155721 is ready for SSH connections 2025-07-23 06:24:58,260 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 06:24:58,260 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.69.130.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-07-23 06:24:58,261 - DEBUG - ping -s 56 -c 3 -W 1 146.69.130.131 2025-07-23 06:25:02,294 - DEBUG - PING 146.69.130.131 (146.69.130.131): 56 data bytes 64 bytes from 146.69.130.131: seq=0 ttl=63 time=4.132 ms 64 bytes from 146.69.130.131: seq=1 ttl=63 time=0.953 ms 64 bytes from 146.69.130.131: seq=2 ttl=63 time=0.784 ms --- 146.69.130.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.784/1.956/4.132 ms 2025-07-23 06:25:02,294 - INFO - Ping to IP 146.69.130.131 from VM ctest-TestBasicPolicy-49257773-76523226 passed 2025-07-23 06:25:02,476 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9b33241a-c061-4e87-8782-58560073bbb1", "href": "http://10.0.0.141:8082/network-policy/9b33241a-c061-4e87-8782-58560073bbb1"}} 2025-07-23 06:25:02,476 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 06:25:02,477 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.69.130.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-07-23 06:25:02,477 - DEBUG - ping -s 56 -c 3 -W 1 146.69.130.131 2025-07-23 06:25:05,723 - DEBUG - PING 146.69.130.131 (146.69.130.131): 56 data bytes --- 146.69.130.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-23 06:25:05,723 - WARNING - Ping to IP 146.69.130.131 from VM ctest-TestBasicPolicy-49257773-76523226 failed 2025-07-23 06:25:05,724 - INFO - Deleting VM ctest-TestBasicPolicy-49257773-67155721 2025-07-23 06:25:05,797 - INFO - Deleting VM ctest-TestBasicPolicy-49257773-76523226 2025-07-23 06:25:06,247 - INFO - Deleted policy ctest-policy-allow-all-79406967 2025-07-23 06:25:06,247 - INFO - Deleting VN ctest-vn-75157303 2025-07-23 06:25:06,295 - DEBUG - VN 84a8d755-2809-453b-9b09-4420cb2dddac still in use: Unable to complete operation on network 84a8d755-2809-453b-9b09-4420cb2dddac. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fb19383c-5f1c-44a1-ab1e-5668458c3221'] 2025-07-23 06:25:06,295 - WARNING - Deleting VN ctest-vn-75157303 failed..Will retry 2025-07-23 06:25:08,410 - DEBUG - Response for deleting network () 2025-07-23 06:25:08,410 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/bfa3d210-9bae-41f2-9d10-db4d00912243 2025-07-23 06:25:08,418 - DEBUG - Response Code: 404 2025-07-23 06:25:08,419 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-07-23 06:25:08,426 - DEBUG - Requesting: http://10.0.0.141:8082/domain/644e7c77-5632-4339-b359-95639eedac10 2025-07-23 06:25:08,484 - DEBUG - Requesting: http://10.0.0.141:8082/project/75ab6892-5e7b-492f-bf00-751edd588ce2 2025-07-23 06:25:08,565 - INFO - Validated that VN ctest-vn-75157303 is not found in API Server 2025-07-23 06:25:08,579 - DEBUG - VN ctest-vn-75157303 is not present in Agent 10.0.0.141 2025-07-23 06:25:08,579 - INFO - Validated that VN ctest-vn-75157303 is not in any agent 2025-07-23 06:25:08,597 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75157303 info 2025-07-23 06:25:08,598 - INFO - Deleting VN ctest-vn-32884084 2025-07-23 06:25:08,710 - DEBUG - Response for deleting network () 2025-07-23 06:25:08,710 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/4da9ab49-85d8-4195-b4ac-8876333396c9 2025-07-23 06:25:08,719 - DEBUG - Response Code: 404 2025-07-23 06:25:08,719 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-07-23 06:25:08,725 - DEBUG - Requesting: http://10.0.0.141:8082/domain/644e7c77-5632-4339-b359-95639eedac10 2025-07-23 06:25:08,783 - DEBUG - Requesting: http://10.0.0.141:8082/project/75ab6892-5e7b-492f-bf00-751edd588ce2 2025-07-23 06:25:08,863 - INFO - Validated that VN ctest-vn-32884084 is not found in API Server 2025-07-23 06:25:08,875 - DEBUG - VN ctest-vn-32884084 is not present in Agent 10.0.0.141 2025-07-23 06:25:08,875 - INFO - Validated that VN ctest-vn-32884084 is not in any agent 2025-07-23 06:25:08,894 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32884084 info 2025-07-23 06:25:09,153 - DEBUG - No XMPP flaps were noticed during the test 2025-07-23 06:25:09,153 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-07-23 06:25:09,153 - INFO - -------------------------------------------------------------------------------- 2025-07-23 06:25:09,861 - INFO - Deleted project: ctest-TestBasicPolicy-49257773, ID : 75ab6892-5e7b-492f-bf00-751edd588ce2