2025-10-15 19:02:28,235 - INFO - Domain Default found not creating 2025-10-15 19:02:28,448 - INFO - Project ctest-TestBasicPolicy-58095825 not found, creating it 2025-10-15 19:02:29,048 - INFO - Created Project:ctest-TestBasicPolicy-58095825, ID : bdfa121d-b6c3-4cef-ad47-0e188d939eb8 2025-10-15 19:02:30,639 - INFO - ================================================================================ 2025-10-15 19:02:30,639 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-15 19:02:30,640 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-10-15 19:02:30,915 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-10-15 19:02:30,915 - INFO - Initial checks done. Running the testcase now 2025-10-15 19:02:30,916 - INFO - 2025-10-15 19:02:31,535 - DEBUG - Response for create_network : {'network': {'id': 'e1ef5f47-6b80-4500-8b52-7fe267e67ab9', 'name': 'ctest-vn-29878870', 'tenant_id': 'bdfa121db6c34cefad470e188d939eb8', 'project_id': 'bdfa121db6c34cefad470e188d939eb8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58095825', 'ctest-vn-29878870'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 19:02:31,775 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd801b5e3-ea54-4808-a27b-26b9780f7f88', 'name': '', 'tenant_id': 'bdfa121db6c34cefad470e188d939eb8', 'network_id': 'e1ef5f47-6b80-4500-8b52-7fe267e67ab9', 'ip_version': 4, 'cidr': '60.117.234.64/26', 'allocation_pools': [{'start': '60.117.234.66', 'end': '60.117.234.126'}], 'gateway_ip': '60.117.234.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.117.234.66', 'tags': [], 'project_id': 'bdfa121db6c34cefad470e188d939eb8'}} 2025-10-15 19:02:31,801 - INFO - Created VN ctest-vn-29878870 2025-10-15 19:02:31,854 - DEBUG - VN ctest-vn-29878870 UUID is e1ef5f47-6b80-4500-8b52-7fe267e67ab9 2025-10-15 19:02:32,193 - DEBUG - Response for create_network : {'network': {'id': '7ca52ca8-7baa-4067-a200-70c31bca0147', 'name': 'ctest-vn-43441522', 'tenant_id': 'bdfa121db6c34cefad470e188d939eb8', 'project_id': 'bdfa121db6c34cefad470e188d939eb8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58095825', 'ctest-vn-43441522'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 19:02:32,379 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c548d6c7-215d-4c53-9c65-0612b3d5a18d', 'name': '', 'tenant_id': 'bdfa121db6c34cefad470e188d939eb8', 'network_id': '7ca52ca8-7baa-4067-a200-70c31bca0147', 'ip_version': 4, 'cidr': '155.161.136.64/26', 'allocation_pools': [{'start': '155.161.136.66', 'end': '155.161.136.126'}], 'gateway_ip': '155.161.136.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.161.136.66', 'tags': [], 'project_id': 'bdfa121db6c34cefad470e188d939eb8'}} 2025-10-15 19:02:32,403 - INFO - Created VN ctest-vn-43441522 2025-10-15 19:02:32,459 - DEBUG - VN ctest-vn-43441522 UUID is 7ca52ca8-7baa-4067-a200-70c31bca0147 2025-10-15 19:02:32,601 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-58095825:ctest-vn-29878870, 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-58095825:ctest-vn-43441522, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-10-15 19:02:32,952 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e1ef5f47-6b80-4500-8b52-7fe267e67ab9', 'name': 'ctest-vn-29878870', 'tenant_id': 'bdfa121db6c34cefad470e188d939eb8', 'project_id': 'bdfa121db6c34cefad470e188d939eb8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d801b5e3-ea54-4808-a27b-26b9780f7f88'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58095825', 'ctest-vn-29878870'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58095825', 'ctest-policy-allow-all-03549315']], 'subnet_ipam': [{'subnet_cidr': '60.117.234.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-15 19:02:33,211 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7ca52ca8-7baa-4067-a200-70c31bca0147', 'name': 'ctest-vn-43441522', 'tenant_id': 'bdfa121db6c34cefad470e188d939eb8', 'project_id': 'bdfa121db6c34cefad470e188d939eb8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c548d6c7-215d-4c53-9c65-0612b3d5a18d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58095825', 'ctest-vn-43441522'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58095825', 'ctest-policy-allow-all-03549315']], 'subnet_ipam': [{'subnet_cidr': '155.161.136.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-15 19:02:33,359 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-15 19:02:33,667 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-15 19:02:33,702 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c0fa54ac-e6aa-4533-a786-9fab53a774f9 2025-10-15 19:02:33,717 - DEBUG - Requesting: http://10.0.0.38:8082/project/bdfa121d-b6c3-4cef-ad47-0e188d939eb8 2025-10-15 19:02:33,797 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e1ef5f47-6b80-4500-8b52-7fe267e67ab9 2025-10-15 19:02:33,814 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e1ef5f47-6b80-4500-8b52-7fe267e67ab9 2025-10-15 19:02:33,824 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/660745de-19c2-4dab-9c94-cd4ad54e61b8 2025-10-15 19:02:33,833 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/660745de-19c2-4dab-9c94-cd4ad54e61b8 2025-10-15 19:02:33,841 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/dcc627aa-86d3-4304-96f5-537c8b0726e2 2025-10-15 19:02:33,849 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-15 19:02:33,849 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e1ef5f47-6b80-4500-8b52-7fe267e67ab9 2025-10-15 19:02:33,859 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/660745de-19c2-4dab-9c94-cd4ad54e61b8 2025-10-15 19:02:33,874 - INFO - Verified VN network id 11 for VN e1ef5f47-6b80-4500-8b52-7fe267e67ab9 2025-10-15 19:02:33,874 - INFO - Verifications in API Server for VN ctest-vn-29878870 passed 2025-10-15 19:02:33,874 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e1ef5f47-6b80-4500-8b52-7fe267e67ab9 2025-10-15 19:02:33,884 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/660745de-19c2-4dab-9c94-cd4ad54e61b8 2025-10-15 19:02:33,894 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/660745de-19c2-4dab-9c94-cd4ad54e61b8 2025-10-15 19:02:33,902 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/dcc627aa-86d3-4304-96f5-537c8b0726e2 2025-10-15 19:02:33,915 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58095825:ctest-vn-29878870', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58095825', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16280335938318517504', 'uuid-lslong': '10039227129744751289'}, 'enable': 'true', 'created': '2025-10-15T19:02:31', 'last-modified': '2025-10-15T19:02:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.993175'} 2025-10-15 19:02:33,921 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-15 19:02:33,921 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29878870 passed 2025-10-15 19:02:33,921 - DEBUG - ====Verifying policy data for ctest-vn-29878870 in API_Server ====== 2025-10-15 19:02:33,922 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-15 19:02:33,928 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c0fa54ac-e6aa-4533-a786-9fab53a774f9 2025-10-15 19:02:33,942 - DEBUG - Requesting: http://10.0.0.38:8082/project/bdfa121d-b6c3-4cef-ad47-0e188d939eb8 2025-10-15 19:02:34,016 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e1ef5f47-6b80-4500-8b52-7fe267e67ab9 2025-10-15 19:02:34,027 - DEBUG - ==>Verifying data for policy with id: a0fbec10-1751-4014-ad0b-564848672934, fqn: ['default-domain', 'ctest-TestBasicPolicy-58095825', 'ctest-policy-allow-all-03549315'] 2025-10-15 19:02:34,028 - INFO - VN ctest-vn-29878870 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-15 19:02:34,028 - DEBUG - Verifying the vn in opserver 2025-10-15 19:02:34,028 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58095825:ctest-vn-29878870 virtual network link through opserver 10.0.0.38 2025-10-15 19:02:34,028 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-15 19:02:34,325 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-15 19:02:34,395 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58095825:ctest-vn-29878870', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58095825:ctest-vn-29878870?flat'} 2025-10-15 19:02:34,396 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58095825:ctest-vn-29878870 is found in opserver 2025-10-15 19:02:34,406 - DEBUG - Do not have enough data to verify VN in agent 2025-10-15 19:02:34,411 - DEBUG - VRF ids for VN ctest-vn-29878870: {} 2025-10-15 19:02:34,411 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-15 19:02:34,417 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c0fa54ac-e6aa-4533-a786-9fab53a774f9 2025-10-15 19:02:34,432 - DEBUG - Requesting: http://10.0.0.38:8082/project/bdfa121d-b6c3-4cef-ad47-0e188d939eb8 2025-10-15 19:02:34,508 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7ca52ca8-7baa-4067-a200-70c31bca0147 2025-10-15 19:02:34,522 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7ca52ca8-7baa-4067-a200-70c31bca0147 2025-10-15 19:02:34,535 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1d63c7c1-7d9f-499f-8749-7790725485d8 2025-10-15 19:02:34,545 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1d63c7c1-7d9f-499f-8749-7790725485d8 2025-10-15 19:02:34,553 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6c81c034-9b5c-44f2-a242-d6eadabeb345 2025-10-15 19:02:34,561 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-15 19:02:34,561 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7ca52ca8-7baa-4067-a200-70c31bca0147 2025-10-15 19:02:34,572 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1d63c7c1-7d9f-499f-8749-7790725485d8 2025-10-15 19:02:34,592 - INFO - Verified VN network id 12 for VN 7ca52ca8-7baa-4067-a200-70c31bca0147 2025-10-15 19:02:34,592 - INFO - Verifications in API Server for VN ctest-vn-43441522 passed 2025-10-15 19:02:34,592 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7ca52ca8-7baa-4067-a200-70c31bca0147 2025-10-15 19:02:34,606 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1d63c7c1-7d9f-499f-8749-7790725485d8 2025-10-15 19:02:34,616 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1d63c7c1-7d9f-499f-8749-7790725485d8 2025-10-15 19:02:34,627 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6c81c034-9b5c-44f2-a242-d6eadabeb345 2025-10-15 19:02:34,643 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58095825:ctest-vn-43441522', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58095825', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8981634134001205351', 'uuid-lslong': '11673454217431482695'}, 'enable': 'true', 'created': '2025-10-15T19:02:32', 'last-modified': '2025-10-15T19:02:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.458593'} 2025-10-15 19:02:34,651 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-15 19:02:34,651 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43441522 passed 2025-10-15 19:02:34,651 - DEBUG - ====Verifying policy data for ctest-vn-43441522 in API_Server ====== 2025-10-15 19:02:34,651 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-15 19:02:34,658 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c0fa54ac-e6aa-4533-a786-9fab53a774f9 2025-10-15 19:02:34,679 - DEBUG - Requesting: http://10.0.0.38:8082/project/bdfa121d-b6c3-4cef-ad47-0e188d939eb8 2025-10-15 19:02:34,760 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7ca52ca8-7baa-4067-a200-70c31bca0147 2025-10-15 19:02:34,770 - DEBUG - ==>Verifying data for policy with id: a0fbec10-1751-4014-ad0b-564848672934, fqn: ['default-domain', 'ctest-TestBasicPolicy-58095825', 'ctest-policy-allow-all-03549315'] 2025-10-15 19:02:34,770 - INFO - VN ctest-vn-43441522 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-15 19:02:34,770 - DEBUG - Verifying the vn in opserver 2025-10-15 19:02:34,770 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58095825:ctest-vn-43441522 virtual network link through opserver 10.0.0.38 2025-10-15 19:02:34,770 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-15 19:02:34,782 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58095825:ctest-vn-43441522', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58095825:ctest-vn-43441522?flat'} 2025-10-15 19:02:34,782 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58095825:ctest-vn-43441522 is found in opserver 2025-10-15 19:02:34,792 - DEBUG - Do not have enough data to verify VN in agent 2025-10-15 19:02:34,797 - DEBUG - VRF ids for VN ctest-vn-43441522: {} 2025-10-15 19:02:34,866 - DEBUG - Services list from nova: [, , ] 2025-10-15 19:02:35,977 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4334-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4334-1) 2025-10-15 19:02:37,396 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4334-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4334-1) 2025-10-15 19:02:37,396 - INFO - Waiting for VM ctest-TestBasicPolicy-58095825-83076347 to be up.. 2025-10-15 19:02:37,484 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-15 19:02:42,594 - DEBUG - VM is in ACTIVE state now 2025-10-15 19:02:42,594 - INFO - VM name : ctest-TestBasicPolicy-58095825-83076347 2025-10-15 19:02:42,685 - DEBUG - VM ctest-TestBasicPolicy-58095825-83076347 ID is 00ed9850-26a7-40e2-ac10-a11cfebb18cf 2025-10-15 19:02:42,711 - DEBUG - VM ctest-TestBasicPolicy-58095825-83076347 launched on Node cn-jenkins-deploy-platform-ansible-os-4334-1 2025-10-15 19:02:42,811 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/00ed9850-26a7-40e2-ac10-a11cfebb18cf 2025-10-15 19:02:42,822 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fa3adeb0-61d7-4c8c-9ee1-5a7fd36edf86 2025-10-15 19:02:46,058 - 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 1031ms') 2025-10-15 19:02:46,058 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58095825-83076347 failed! 2025-10-15 19:02:46,119 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-58095825:ctest-vn-29878870 is 60.117.234.65 and allocation pool is NOT set 2025-10-15 19:02:48,194 - 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=4.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.35 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 = 3.353/4.144/4.936/0.791 ms') 2025-10-15 19:02:48,194 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58095825-83076347 passed 2025-10-15 19:02:48,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 19:02:48,351 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58095825-83076347, IP 60.117.234.67, Port 22 2025-10-15 19:02:48,428 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-15 19:02:48,535 - DEBUG - VM ctest-TestBasicPolicy-58095825-83076347 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-15 19:02:53,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 19:02:53,536 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58095825-83076347, IP 60.117.234.67, Port 22 2025-10-15 19:02:53,709 - DEBUG - VM ctest-TestBasicPolicy-58095825-83076347 is ready for SSH connections 2025-10-15 19:02:53,709 - INFO - Waiting for VM ctest-TestBasicPolicy-58095825-96564088 to be up.. 2025-10-15 19:02:53,815 - DEBUG - VM is in ACTIVE state now 2025-10-15 19:02:53,815 - INFO - VM name : ctest-TestBasicPolicy-58095825-96564088 2025-10-15 19:02:53,909 - DEBUG - VM ctest-TestBasicPolicy-58095825-96564088 ID is 9acb376a-6002-42b0-8f94-14aa21a365f1 2025-10-15 19:02:53,909 - DEBUG - VM ctest-TestBasicPolicy-58095825-96564088 launched on Node cn-jenkins-deploy-platform-ansible-os-4334-1 2025-10-15 19:02:54,008 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9acb376a-6002-42b0-8f94-14aa21a365f1 2025-10-15 19:02:54,020 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/df6752dd-23a5-40d8-8dd2-493952f39098 2025-10-15 19:02:55,265 - 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.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.576 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.576/2.047/3.518/1.471 ms') 2025-10-15 19:02:55,266 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-58095825-96564088 passed 2025-10-15 19:02:55,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 19:02:55,423 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58095825-96564088, IP 155.161.136.67, Port 22 2025-10-15 19:02:55,578 - DEBUG - VM ctest-TestBasicPolicy-58095825-96564088 is ready for SSH connections 2025-10-15 19:02:55,578 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 19:02:55,579 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.161.136.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-15 19:02:55,579 - DEBUG - ping -s 56 -c 3 -W 1 155.161.136.67 2025-10-15 19:02:59,782 - DEBUG - PING 155.161.136.67 (155.161.136.67): 56 data bytes 64 bytes from 155.161.136.67: seq=0 ttl=63 time=4.564 ms 64 bytes from 155.161.136.67: seq=1 ttl=63 time=1.354 ms 64 bytes from 155.161.136.67: seq=2 ttl=63 time=1.207 ms --- 155.161.136.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.207/2.375/4.564 ms 2025-10-15 19:02:59,782 - INFO - Ping to IP 155.161.136.67 from VM ctest-TestBasicPolicy-58095825-83076347 passed 2025-10-15 19:02:59,974 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a0fbec10-1751-4014-ad0b-564848672934", "href": "http://10.0.0.38:8082/network-policy/a0fbec10-1751-4014-ad0b-564848672934"}} 2025-10-15 19:02:59,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 19:02:59,975 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.161.136.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-15 19:02:59,975 - DEBUG - ping -s 56 -c 3 -W 1 155.161.136.67 2025-10-15 19:03:03,219 - DEBUG - PING 155.161.136.67 (155.161.136.67): 56 data bytes --- 155.161.136.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-15 19:03:03,219 - WARNING - Ping to IP 155.161.136.67 from VM ctest-TestBasicPolicy-58095825-83076347 failed 2025-10-15 19:03:03,219 - INFO - Deleting VM ctest-TestBasicPolicy-58095825-96564088 2025-10-15 19:03:03,312 - INFO - Deleting VM ctest-TestBasicPolicy-58095825-83076347 2025-10-15 19:03:03,787 - INFO - Deleted policy ctest-policy-allow-all-03549315 2025-10-15 19:03:03,788 - INFO - Deleting VN ctest-vn-43441522 2025-10-15 19:03:03,842 - DEBUG - VN 7ca52ca8-7baa-4067-a200-70c31bca0147 still in use: Unable to complete operation on network 7ca52ca8-7baa-4067-a200-70c31bca0147. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-31177728-8d83-45df-8a83-fd2b811d624a'] 2025-10-15 19:03:03,842 - WARNING - Deleting VN ctest-vn-43441522 failed..Will retry 2025-10-15 19:03:05,987 - DEBUG - Response for deleting network () 2025-10-15 19:03:05,987 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1d63c7c1-7d9f-499f-8749-7790725485d8 2025-10-15 19:03:05,995 - DEBUG - Response Code: 404 2025-10-15 19:03:05,995 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-15 19:03:06,002 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c0fa54ac-e6aa-4533-a786-9fab53a774f9 2025-10-15 19:03:06,063 - DEBUG - Requesting: http://10.0.0.38:8082/project/bdfa121d-b6c3-4cef-ad47-0e188d939eb8 2025-10-15 19:03:06,145 - INFO - Validated that VN ctest-vn-43441522 is not found in API Server 2025-10-15 19:03:06,157 - DEBUG - VN ctest-vn-43441522 is not present in Agent 10.0.0.38 2025-10-15 19:03:06,157 - INFO - Validated that VN ctest-vn-43441522 is not in any agent 2025-10-15 19:03:06,173 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43441522 info 2025-10-15 19:03:06,174 - INFO - Deleting VN ctest-vn-29878870 2025-10-15 19:03:06,295 - DEBUG - Response for deleting network () 2025-10-15 19:03:06,295 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/660745de-19c2-4dab-9c94-cd4ad54e61b8 2025-10-15 19:03:06,304 - DEBUG - Response Code: 404 2025-10-15 19:03:06,305 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-15 19:03:06,314 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c0fa54ac-e6aa-4533-a786-9fab53a774f9 2025-10-15 19:03:06,370 - DEBUG - Requesting: http://10.0.0.38:8082/project/bdfa121d-b6c3-4cef-ad47-0e188d939eb8 2025-10-15 19:03:06,445 - INFO - Validated that VN ctest-vn-29878870 is not found in API Server 2025-10-15 19:03:06,456 - DEBUG - VN ctest-vn-29878870 is not present in Agent 10.0.0.38 2025-10-15 19:03:06,456 - INFO - Validated that VN ctest-vn-29878870 is not in any agent 2025-10-15 19:03:06,475 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29878870 info 2025-10-15 19:03:06,744 - DEBUG - No XMPP flaps were noticed during the test
2025-10-15 19:03:06,744 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2025-10-15 19:03:06,744 - INFO - -------------------------------------------------------------------------------- 2025-10-15 19:03:07,537 - INFO - Deleted project: ctest-TestBasicPolicy-58095825, ID : bdfa121d-b6c3-4cef-ad47-0e188d939eb8