2025-08-06 07:25:19,735 - INFO - Domain Default found not creating 2025-08-06 07:25:19,904 - INFO - Project ctest-TestBasicPolicy-71199424 not found, creating it 2025-08-06 07:25:20,392 - INFO - Created Project:ctest-TestBasicPolicy-71199424, ID : 515d1ead-969e-4e24-a2c0-e71834b7f39f 2025-08-06 07:25:21,993 - INFO - ================================================================================ 2025-08-06 07:25:21,993 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-06 07:25:21,993 - 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-08-06 07:25:22,251 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-06 07:25:22,251 - INFO - Initial checks done. Running the testcase now 2025-08-06 07:25:22,252 - INFO - 2025-08-06 07:25:22,790 - DEBUG - Response for create_network : {'network': {'id': '444194b0-4793-4727-8ce9-525d167347c9', 'name': 'ctest-vn-31280049', 'tenant_id': '515d1ead969e4e24a2c0e71834b7f39f', 'project_id': '515d1ead969e4e24a2c0e71834b7f39f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71199424', 'ctest-vn-31280049'], 'port_security_enabled': True, 'description': ''}} 2025-08-06 07:25:22,982 - DEBUG - Response for create_subnet : {'subnet': {'id': '79bb4cca-4fcb-404a-a9c3-f25e43126ee0', 'name': '', 'tenant_id': '515d1ead969e4e24a2c0e71834b7f39f', 'network_id': '444194b0-4793-4727-8ce9-525d167347c9', 'ip_version': 4, 'cidr': '102.32.43.64/26', 'allocation_pools': [{'start': '102.32.43.66', 'end': '102.32.43.126'}], 'gateway_ip': '102.32.43.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.32.43.66', 'tags': [], 'project_id': '515d1ead969e4e24a2c0e71834b7f39f'}} 2025-08-06 07:25:23,002 - INFO - Created VN ctest-vn-31280049 2025-08-06 07:25:23,057 - DEBUG - VN ctest-vn-31280049 UUID is 444194b0-4793-4727-8ce9-525d167347c9 2025-08-06 07:25:23,366 - DEBUG - Response for create_network : {'network': {'id': 'a74af2df-108d-4987-92c7-e64c5ac970dc', 'name': 'ctest-vn-57676565', 'tenant_id': '515d1ead969e4e24a2c0e71834b7f39f', 'project_id': '515d1ead969e4e24a2c0e71834b7f39f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71199424', 'ctest-vn-57676565'], 'port_security_enabled': True, 'description': ''}} 2025-08-06 07:25:23,587 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de3169c3-00c8-4f54-9d0b-00ef556549ed', 'name': '', 'tenant_id': '515d1ead969e4e24a2c0e71834b7f39f', 'network_id': 'a74af2df-108d-4987-92c7-e64c5ac970dc', 'ip_version': 4, 'cidr': '143.101.182.192/26', 'allocation_pools': [{'start': '143.101.182.194', 'end': '143.101.182.254'}], 'gateway_ip': '143.101.182.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.101.182.194', 'tags': [], 'project_id': '515d1ead969e4e24a2c0e71834b7f39f'}} 2025-08-06 07:25:23,605 - INFO - Created VN ctest-vn-57676565 2025-08-06 07:25:23,657 - DEBUG - VN ctest-vn-57676565 UUID is a74af2df-108d-4987-92c7-e64c5ac970dc 2025-08-06 07:25:23,771 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71199424:ctest-vn-31280049, 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-71199424:ctest-vn-57676565, 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-08-06 07:25:24,070 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '444194b0-4793-4727-8ce9-525d167347c9', 'name': 'ctest-vn-31280049', 'tenant_id': '515d1ead969e4e24a2c0e71834b7f39f', 'project_id': '515d1ead969e4e24a2c0e71834b7f39f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['79bb4cca-4fcb-404a-a9c3-f25e43126ee0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71199424', 'ctest-vn-31280049'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71199424', 'ctest-policy-allow-all-52213550']], 'subnet_ipam': [{'subnet_cidr': '102.32.43.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-06 07:25:24,308 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a74af2df-108d-4987-92c7-e64c5ac970dc', 'name': 'ctest-vn-57676565', 'tenant_id': '515d1ead969e4e24a2c0e71834b7f39f', 'project_id': '515d1ead969e4e24a2c0e71834b7f39f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['de3169c3-00c8-4f54-9d0b-00ef556549ed'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71199424', 'ctest-vn-57676565'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71199424', 'ctest-policy-allow-all-52213550']], 'subnet_ipam': [{'subnet_cidr': '143.101.182.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-06 07:25:24,501 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-06 07:25:24,797 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-06 07:25:24,832 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2a737637-7d29-4639-922a-91f5300d9f2c 2025-08-06 07:25:24,845 - DEBUG - Requesting: http://10.0.0.50:8082/project/515d1ead-969e-4e24-a2c0-e71834b7f39f 2025-08-06 07:25:24,927 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/444194b0-4793-4727-8ce9-525d167347c9 2025-08-06 07:25:24,945 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/444194b0-4793-4727-8ce9-525d167347c9 2025-08-06 07:25:24,959 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/196243d2-8930-4882-85ff-e8b4b9e3444f 2025-08-06 07:25:24,969 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/196243d2-8930-4882-85ff-e8b4b9e3444f 2025-08-06 07:25:24,978 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/591e7aa3-f1a5-4893-9fcd-d39de5be3a05 2025-08-06 07:25:24,985 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-06 07:25:24,985 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/444194b0-4793-4727-8ce9-525d167347c9 2025-08-06 07:25:24,997 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/196243d2-8930-4882-85ff-e8b4b9e3444f 2025-08-06 07:25:25,013 - INFO - Verified VN network id 10 for VN 444194b0-4793-4727-8ce9-525d167347c9 2025-08-06 07:25:25,014 - INFO - Verifications in API Server for VN ctest-vn-31280049 passed 2025-08-06 07:25:25,014 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/444194b0-4793-4727-8ce9-525d167347c9 2025-08-06 07:25:25,025 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/196243d2-8930-4882-85ff-e8b4b9e3444f 2025-08-06 07:25:25,035 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/196243d2-8930-4882-85ff-e8b4b9e3444f 2025-08-06 07:25:25,043 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/591e7aa3-f1a5-4893-9fcd-d39de5be3a05 2025-08-06 07:25:25,057 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71199424:ctest-vn-31280049', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71199424', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4918375752901281575', 'uuid-lslong': '10153737394645583817'}, 'enable': 'true', 'created': '2025-08-06T07:25:22', 'last-modified': '2025-08-06T07:25:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.016097'} 2025-08-06 07:25:25,064 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-06 07:25:25,065 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31280049 passed 2025-08-06 07:25:25,065 - DEBUG - ====Verifying policy data for ctest-vn-31280049 in API_Server ====== 2025-08-06 07:25:25,065 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-06 07:25:25,071 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2a737637-7d29-4639-922a-91f5300d9f2c 2025-08-06 07:25:25,091 - DEBUG - Requesting: http://10.0.0.50:8082/project/515d1ead-969e-4e24-a2c0-e71834b7f39f 2025-08-06 07:25:25,166 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/444194b0-4793-4727-8ce9-525d167347c9 2025-08-06 07:25:25,176 - DEBUG - ==>Verifying data for policy with id: 3a2731bf-7e98-4254-831e-caa66cabee74, fqn: ['default-domain', 'ctest-TestBasicPolicy-71199424', 'ctest-policy-allow-all-52213550'] 2025-08-06 07:25:25,176 - INFO - VN ctest-vn-31280049 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-06 07:25:25,176 - DEBUG - Verifying the vn in opserver 2025-08-06 07:25:25,176 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71199424:ctest-vn-31280049 virtual network link through opserver 10.0.0.50 2025-08-06 07:25:25,176 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-06 07:25:25,470 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-06 07:25:25,539 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71199424:ctest-vn-31280049', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71199424:ctest-vn-31280049?flat'} 2025-08-06 07:25:25,540 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71199424:ctest-vn-31280049 is found in opserver 2025-08-06 07:25:25,552 - DEBUG - Do not have enough data to verify VN in agent 2025-08-06 07:25:25,558 - DEBUG - VRF ids for VN ctest-vn-31280049: {} 2025-08-06 07:25:25,558 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-06 07:25:25,564 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2a737637-7d29-4639-922a-91f5300d9f2c 2025-08-06 07:25:25,576 - DEBUG - Requesting: http://10.0.0.50:8082/project/515d1ead-969e-4e24-a2c0-e71834b7f39f 2025-08-06 07:25:25,656 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a74af2df-108d-4987-92c7-e64c5ac970dc 2025-08-06 07:25:25,669 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a74af2df-108d-4987-92c7-e64c5ac970dc 2025-08-06 07:25:25,681 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/058aa8f8-6994-4cb0-965e-5f24db1f8a7e 2025-08-06 07:25:25,689 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/058aa8f8-6994-4cb0-965e-5f24db1f8a7e 2025-08-06 07:25:25,697 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f3318233-a5ab-408b-bd6b-98dff37bcc30 2025-08-06 07:25:25,704 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-06 07:25:25,704 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a74af2df-108d-4987-92c7-e64c5ac970dc 2025-08-06 07:25:25,715 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/058aa8f8-6994-4cb0-965e-5f24db1f8a7e 2025-08-06 07:25:25,731 - INFO - Verified VN network id 11 for VN a74af2df-108d-4987-92c7-e64c5ac970dc 2025-08-06 07:25:25,732 - INFO - Verifications in API Server for VN ctest-vn-57676565 passed 2025-08-06 07:25:25,732 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a74af2df-108d-4987-92c7-e64c5ac970dc 2025-08-06 07:25:25,743 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/058aa8f8-6994-4cb0-965e-5f24db1f8a7e 2025-08-06 07:25:25,752 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/058aa8f8-6994-4cb0-965e-5f24db1f8a7e 2025-08-06 07:25:25,761 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f3318233-a5ab-408b-bd6b-98dff37bcc30 2025-08-06 07:25:25,776 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71199424:ctest-vn-57676565', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71199424', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12054714392479877511', 'uuid-lslong': '10576675465517953244'}, 'enable': 'true', 'created': '2025-08-06T07:25:23', 'last-modified': '2025-08-06T07:25:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.488290'} 2025-08-06 07:25:25,784 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-06 07:25:25,784 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57676565 passed 2025-08-06 07:25:25,784 - DEBUG - ====Verifying policy data for ctest-vn-57676565 in API_Server ====== 2025-08-06 07:25:25,784 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-06 07:25:25,790 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2a737637-7d29-4639-922a-91f5300d9f2c 2025-08-06 07:25:25,806 - DEBUG - Requesting: http://10.0.0.50:8082/project/515d1ead-969e-4e24-a2c0-e71834b7f39f 2025-08-06 07:25:25,887 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a74af2df-108d-4987-92c7-e64c5ac970dc 2025-08-06 07:25:25,898 - DEBUG - ==>Verifying data for policy with id: 3a2731bf-7e98-4254-831e-caa66cabee74, fqn: ['default-domain', 'ctest-TestBasicPolicy-71199424', 'ctest-policy-allow-all-52213550'] 2025-08-06 07:25:25,898 - INFO - VN ctest-vn-57676565 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-06 07:25:25,898 - DEBUG - Verifying the vn in opserver 2025-08-06 07:25:25,898 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71199424:ctest-vn-57676565 virtual network link through opserver 10.0.0.50 2025-08-06 07:25:25,898 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-06 07:25:25,910 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71199424:ctest-vn-57676565', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71199424:ctest-vn-57676565?flat'} 2025-08-06 07:25:25,910 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71199424:ctest-vn-57676565 is found in opserver 2025-08-06 07:25:25,922 - DEBUG - Do not have enough data to verify VN in agent 2025-08-06 07:25:25,928 - DEBUG - VRF ids for VN ctest-vn-57676565: {} 2025-08-06 07:25:25,986 - DEBUG - Services list from nova: [, , ] 2025-08-06 07:25:27,021 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3760-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3760-1) 2025-08-06 07:25:28,223 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3760-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3760-1) 2025-08-06 07:25:28,223 - INFO - Waiting for VM ctest-TestBasicPolicy-71199424-08018298 to be up.. 2025-08-06 07:25:28,330 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-06 07:25:33,417 - DEBUG - VM is in ACTIVE state now 2025-08-06 07:25:33,417 - INFO - VM name : ctest-TestBasicPolicy-71199424-08018298 2025-08-06 07:25:33,501 - DEBUG - VM ctest-TestBasicPolicy-71199424-08018298 ID is e9c5ca9d-c2c8-4105-8618-273c7c67e1a2 2025-08-06 07:25:33,523 - DEBUG - VM ctest-TestBasicPolicy-71199424-08018298 launched on Node cn-jenkins-deploy-platform-ansible-os-3760-1 2025-08-06 07:25:33,602 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e9c5ca9d-c2c8-4105-8618-273c7c67e1a2 2025-08-06 07:25:33,614 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/dd2f61a8-20c3-436b-822f-d9bb734e9b67 2025-08-06 07:25:36,867 - 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 1007ms') 2025-08-06 07:25:36,867 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71199424-08018298 failed! 2025-08-06 07:25:36,925 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-71199424:ctest-vn-31280049 is 102.32.43.65 and allocation pool is NOT set 2025-08-06 07:25:38,989 - 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.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.541 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.541/4.491/8.442/3.950 ms') 2025-08-06 07:25:38,989 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71199424-08018298 passed 2025-08-06 07:25:39,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:25:39,153 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71199424-08018298, IP 102.32.43.67, Port 22 2025-08-06 07:25:39,314 - DEBUG - VM ctest-TestBasicPolicy-71199424-08018298 is ready for SSH connections 2025-08-06 07:25:39,314 - INFO - Waiting for VM ctest-TestBasicPolicy-71199424-05085987 to be up.. 2025-08-06 07:25:39,391 - DEBUG - VM is in ACTIVE state now 2025-08-06 07:25:39,392 - INFO - VM name : ctest-TestBasicPolicy-71199424-05085987 2025-08-06 07:25:39,466 - DEBUG - VM ctest-TestBasicPolicy-71199424-05085987 ID is 58bf1133-9386-4917-b75d-f8478fd23528 2025-08-06 07:25:39,467 - DEBUG - VM ctest-TestBasicPolicy-71199424-05085987 launched on Node cn-jenkins-deploy-platform-ansible-os-3760-1 2025-08-06 07:25:39,543 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/58bf1133-9386-4917-b75d-f8478fd23528 2025-08-06 07:25:39,552 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c3d7536b-4b05-4b3b-9f9a-a967c50bb377 2025-08-06 07:25:40,802 - 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=3.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.781 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.781/2.009/3.237/1.228 ms') 2025-08-06 07:25:40,802 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-71199424-05085987 passed 2025-08-06 07:25:40,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:25:40,957 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71199424-05085987, IP 143.101.182.195, Port 22 2025-08-06 07:25:41,127 - DEBUG - VM ctest-TestBasicPolicy-71199424-05085987 is ready for SSH connections 2025-08-06 07:25:41,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:25:41,127 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 143.101.182.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-06 07:25:41,128 - DEBUG - ping -s 56 -c 3 -W 1 143.101.182.195 2025-08-06 07:25:45,143 - DEBUG - PING 143.101.182.195 (143.101.182.195): 56 data bytes 64 bytes from 143.101.182.195: seq=0 ttl=63 time=8.679 ms 64 bytes from 143.101.182.195: seq=1 ttl=63 time=1.031 ms 64 bytes from 143.101.182.195: seq=2 ttl=63 time=0.764 ms --- 143.101.182.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.764/3.491/8.679 ms 2025-08-06 07:25:45,143 - INFO - Ping to IP 143.101.182.195 from VM ctest-TestBasicPolicy-71199424-08018298 passed 2025-08-06 07:25:45,325 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3a2731bf-7e98-4254-831e-caa66cabee74", "href": "http://10.0.0.50:8082/network-policy/3a2731bf-7e98-4254-831e-caa66cabee74"}} 2025-08-06 07:25:45,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:25:45,325 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 143.101.182.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-06 07:25:45,325 - DEBUG - ping -s 56 -c 3 -W 1 143.101.182.195 2025-08-06 07:25:48,592 - DEBUG - PING 143.101.182.195 (143.101.182.195): 56 data bytes --- 143.101.182.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-06 07:25:48,592 - WARNING - Ping to IP 143.101.182.195 from VM ctest-TestBasicPolicy-71199424-08018298 failed 2025-08-06 07:25:48,592 - INFO - Deleting VM ctest-TestBasicPolicy-71199424-05085987 2025-08-06 07:25:48,667 - INFO - Deleting VM ctest-TestBasicPolicy-71199424-08018298 2025-08-06 07:25:49,077 - INFO - Deleted policy ctest-policy-allow-all-52213550 2025-08-06 07:25:49,077 - INFO - Deleting VN ctest-vn-57676565 2025-08-06 07:25:49,126 - DEBUG - VN a74af2df-108d-4987-92c7-e64c5ac970dc still in use: Unable to complete operation on network a74af2df-108d-4987-92c7-e64c5ac970dc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3cfd0570-b0ee-475e-b63e-36f6ce689f05'] 2025-08-06 07:25:49,126 - WARNING - Deleting VN ctest-vn-57676565 failed..Will retry 2025-08-06 07:25:51,250 - DEBUG - Response for deleting network () 2025-08-06 07:25:51,251 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/058aa8f8-6994-4cb0-965e-5f24db1f8a7e 2025-08-06 07:25:51,259 - DEBUG - Response Code: 404 2025-08-06 07:25:51,259 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-06 07:25:51,266 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2a737637-7d29-4639-922a-91f5300d9f2c 2025-08-06 07:25:51,322 - DEBUG - Requesting: http://10.0.0.50:8082/project/515d1ead-969e-4e24-a2c0-e71834b7f39f 2025-08-06 07:25:51,396 - INFO - Validated that VN ctest-vn-57676565 is not found in API Server 2025-08-06 07:25:51,407 - DEBUG - VN ctest-vn-57676565 is not present in Agent 10.0.0.50 2025-08-06 07:25:51,407 - INFO - Validated that VN ctest-vn-57676565 is not in any agent 2025-08-06 07:25:51,424 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57676565 info 2025-08-06 07:25:51,424 - INFO - Deleting VN ctest-vn-31280049 2025-08-06 07:25:51,525 - DEBUG - Response for deleting network () 2025-08-06 07:25:51,525 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/196243d2-8930-4882-85ff-e8b4b9e3444f 2025-08-06 07:25:51,538 - DEBUG - Response Code: 404 2025-08-06 07:25:51,538 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-06 07:25:51,547 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2a737637-7d29-4639-922a-91f5300d9f2c 2025-08-06 07:25:51,603 - DEBUG - Requesting: http://10.0.0.50:8082/project/515d1ead-969e-4e24-a2c0-e71834b7f39f 2025-08-06 07:25:51,680 - INFO - Validated that VN ctest-vn-31280049 is not found in API Server 2025-08-06 07:25:51,691 - DEBUG - VN ctest-vn-31280049 is not present in Agent 10.0.0.50 2025-08-06 07:25:51,691 - INFO - Validated that VN ctest-vn-31280049 is not in any agent 2025-08-06 07:25:51,707 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31280049 info 2025-08-06 07:25:51,963 - DEBUG - No XMPP flaps were noticed during the test
2025-08-06 07:25:51,963 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-08-06 07:25:51,963 - INFO - -------------------------------------------------------------------------------- 2025-08-06 07:25:52,646 - INFO - Deleted project: ctest-TestBasicPolicy-71199424, ID : 515d1ead-969e-4e24-a2c0-e71834b7f39f