2025-11-22 06:37:11,732 - INFO - Domain Default found not creating 2025-11-22 06:37:11,915 - INFO - Project ctest-TestBasicPolicy-46189064 not found, creating it 2025-11-22 06:37:12,406 - INFO - Created Project:ctest-TestBasicPolicy-46189064, ID : 2183329c-e40a-44c6-8d29-c77e76bf12d8 2025-11-22 06:37:13,962 - INFO - ================================================================================ 2025-11-22 06:37:13,962 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-22 06:37:13,962 - 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-11-22 06:37:14,226 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-22 06:37:14,226 - INFO - Initial checks done. Running the testcase now 2025-11-22 06:37:14,226 - INFO - 2025-11-22 06:37:14,792 - DEBUG - Response for create_network : {'network': {'id': '87c87b0e-da1f-46f2-a22b-fd5e30a186b2', 'name': 'ctest-vn-19526037', 'tenant_id': '2183329ce40a44c68d29c77e76bf12d8', 'project_id': '2183329ce40a44c68d29c77e76bf12d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46189064', 'ctest-vn-19526037'], 'port_security_enabled': True, 'description': ''}} 2025-11-22 06:37:14,939 - DEBUG - Response for create_subnet : {'subnet': {'id': '97ff6de8-ba9e-4e84-9fa3-ad986363fc9f', 'name': '', 'tenant_id': '2183329ce40a44c68d29c77e76bf12d8', 'network_id': '87c87b0e-da1f-46f2-a22b-fd5e30a186b2', 'ip_version': 4, 'cidr': '112.248.233.64/26', 'allocation_pools': [{'start': '112.248.233.66', 'end': '112.248.233.126'}], 'gateway_ip': '112.248.233.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.248.233.66', 'tags': [], 'project_id': '2183329ce40a44c68d29c77e76bf12d8'}} 2025-11-22 06:37:14,960 - INFO - Created VN ctest-vn-19526037 2025-11-22 06:37:15,012 - DEBUG - VN ctest-vn-19526037 UUID is 87c87b0e-da1f-46f2-a22b-fd5e30a186b2 2025-11-22 06:37:15,314 - DEBUG - Response for create_network : {'network': {'id': '743b6901-4c88-4bda-a676-866ced9dfed5', 'name': 'ctest-vn-53883947', 'tenant_id': '2183329ce40a44c68d29c77e76bf12d8', 'project_id': '2183329ce40a44c68d29c77e76bf12d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46189064', 'ctest-vn-53883947'], 'port_security_enabled': True, 'description': ''}} 2025-11-22 06:37:15,567 - DEBUG - Response for create_subnet : {'subnet': {'id': '44ff4fb6-13bc-4b19-a80a-fcec970ee28a', 'name': '', 'tenant_id': '2183329ce40a44c68d29c77e76bf12d8', 'network_id': '743b6901-4c88-4bda-a676-866ced9dfed5', 'ip_version': 4, 'cidr': '125.90.90.64/26', 'allocation_pools': [{'start': '125.90.90.66', 'end': '125.90.90.126'}], 'gateway_ip': '125.90.90.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.90.90.66', 'tags': [], 'project_id': '2183329ce40a44c68d29c77e76bf12d8'}} 2025-11-22 06:37:15,587 - INFO - Created VN ctest-vn-53883947 2025-11-22 06:37:15,640 - DEBUG - VN ctest-vn-53883947 UUID is 743b6901-4c88-4bda-a676-866ced9dfed5 2025-11-22 06:37:15,764 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-46189064:ctest-vn-19526037, 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-46189064:ctest-vn-53883947, 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-11-22 06:37:16,113 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '87c87b0e-da1f-46f2-a22b-fd5e30a186b2', 'name': 'ctest-vn-19526037', 'tenant_id': '2183329ce40a44c68d29c77e76bf12d8', 'project_id': '2183329ce40a44c68d29c77e76bf12d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['97ff6de8-ba9e-4e84-9fa3-ad986363fc9f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46189064', 'ctest-vn-19526037'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46189064', 'ctest-policy-allow-all-28637515']], 'subnet_ipam': [{'subnet_cidr': '112.248.233.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-22 06:37:16,373 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '743b6901-4c88-4bda-a676-866ced9dfed5', 'name': 'ctest-vn-53883947', 'tenant_id': '2183329ce40a44c68d29c77e76bf12d8', 'project_id': '2183329ce40a44c68d29c77e76bf12d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['44ff4fb6-13bc-4b19-a80a-fcec970ee28a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46189064', 'ctest-vn-53883947'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46189064', 'ctest-policy-allow-all-28637515']], 'subnet_ipam': [{'subnet_cidr': '125.90.90.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-22 06:37:16,548 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-22 06:37:16,852 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-22 06:37:16,890 - DEBUG - Requesting: http://10.0.0.50:8082/domain/401b823b-7849-4b97-ae5b-6cd8429e7ea6 2025-11-22 06:37:16,903 - DEBUG - Requesting: http://10.0.0.50:8082/project/2183329c-e40a-44c6-8d29-c77e76bf12d8 2025-11-22 06:37:16,977 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/87c87b0e-da1f-46f2-a22b-fd5e30a186b2 2025-11-22 06:37:16,988 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/87c87b0e-da1f-46f2-a22b-fd5e30a186b2 2025-11-22 06:37:16,998 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6a1ce30d-7feb-4350-8022-26b3b130a9e0 2025-11-22 06:37:17,005 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6a1ce30d-7feb-4350-8022-26b3b130a9e0 2025-11-22 06:37:17,012 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5d555ea5-b518-40ae-91e4-b38eed31082b 2025-11-22 06:37:17,019 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-22 06:37:17,019 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/87c87b0e-da1f-46f2-a22b-fd5e30a186b2 2025-11-22 06:37:17,029 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6a1ce30d-7feb-4350-8022-26b3b130a9e0 2025-11-22 06:37:17,044 - INFO - Verified VN network id 11 for VN 87c87b0e-da1f-46f2-a22b-fd5e30a186b2 2025-11-22 06:37:17,044 - INFO - Verifications in API Server for VN ctest-vn-19526037 passed 2025-11-22 06:37:17,044 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/87c87b0e-da1f-46f2-a22b-fd5e30a186b2 2025-11-22 06:37:17,054 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6a1ce30d-7feb-4350-8022-26b3b130a9e0 2025-11-22 06:37:17,061 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6a1ce30d-7feb-4350-8022-26b3b130a9e0 2025-11-22 06:37:17,068 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5d555ea5-b518-40ae-91e4-b38eed31082b 2025-11-22 06:37:17,083 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46189064:ctest-vn-19526037', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46189064', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9784205494181644018', 'uuid-lslong': '11685712239127529138'}, 'enable': 'true', 'created': '2025-11-22T06:37:14', 'last-modified': '2025-11-22T06:37:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.007737'} 2025-11-22 06:37:17,091 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-22 06:37:17,091 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19526037 passed 2025-11-22 06:37:17,091 - DEBUG - ====Verifying policy data for ctest-vn-19526037 in API_Server ====== 2025-11-22 06:37:17,091 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-22 06:37:17,098 - DEBUG - Requesting: http://10.0.0.50:8082/domain/401b823b-7849-4b97-ae5b-6cd8429e7ea6 2025-11-22 06:37:17,110 - DEBUG - Requesting: http://10.0.0.50:8082/project/2183329c-e40a-44c6-8d29-c77e76bf12d8 2025-11-22 06:37:17,184 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/87c87b0e-da1f-46f2-a22b-fd5e30a186b2 2025-11-22 06:37:17,194 - DEBUG - ==>Verifying data for policy with id: fbe239c6-ede4-4327-b10f-1984985d734f, fqn: ['default-domain', 'ctest-TestBasicPolicy-46189064', 'ctest-policy-allow-all-28637515'] 2025-11-22 06:37:17,194 - INFO - VN ctest-vn-19526037 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-22 06:37:17,195 - DEBUG - Verifying the vn in opserver 2025-11-22 06:37:17,195 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46189064:ctest-vn-19526037 virtual network link through opserver 10.0.0.50 2025-11-22 06:37:17,195 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-22 06:37:17,496 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-22 06:37:17,562 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46189064:ctest-vn-19526037', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46189064:ctest-vn-19526037?flat'} 2025-11-22 06:37:17,563 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46189064:ctest-vn-19526037 is found in opserver 2025-11-22 06:37:17,572 - DEBUG - Do not have enough data to verify VN in agent 2025-11-22 06:37:17,577 - DEBUG - VRF ids for VN ctest-vn-19526037: {} 2025-11-22 06:37:17,577 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-22 06:37:17,582 - DEBUG - Requesting: http://10.0.0.50:8082/domain/401b823b-7849-4b97-ae5b-6cd8429e7ea6 2025-11-22 06:37:17,593 - DEBUG - Requesting: http://10.0.0.50:8082/project/2183329c-e40a-44c6-8d29-c77e76bf12d8 2025-11-22 06:37:17,662 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/743b6901-4c88-4bda-a676-866ced9dfed5 2025-11-22 06:37:17,673 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/743b6901-4c88-4bda-a676-866ced9dfed5 2025-11-22 06:37:17,681 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ce204dbf-520e-413e-95b7-4e5cd27d5f51 2025-11-22 06:37:17,689 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ce204dbf-520e-413e-95b7-4e5cd27d5f51 2025-11-22 06:37:17,696 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2ee06c19-1a2c-40ae-81b7-009f09ee0f19 2025-11-22 06:37:17,702 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-22 06:37:17,702 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/743b6901-4c88-4bda-a676-866ced9dfed5 2025-11-22 06:37:17,712 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ce204dbf-520e-413e-95b7-4e5cd27d5f51 2025-11-22 06:37:17,726 - INFO - Verified VN network id 12 for VN 743b6901-4c88-4bda-a676-866ced9dfed5 2025-11-22 06:37:17,726 - INFO - Verifications in API Server for VN ctest-vn-53883947 passed 2025-11-22 06:37:17,726 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/743b6901-4c88-4bda-a676-866ced9dfed5 2025-11-22 06:37:17,734 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ce204dbf-520e-413e-95b7-4e5cd27d5f51 2025-11-22 06:37:17,741 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ce204dbf-520e-413e-95b7-4e5cd27d5f51 2025-11-22 06:37:17,747 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2ee06c19-1a2c-40ae-81b7-009f09ee0f19 2025-11-22 06:37:17,758 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46189064:ctest-vn-53883947', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46189064', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8375403386325453786', 'uuid-lslong': '11994922459949039317'}, 'enable': 'true', 'created': '2025-11-22T06:37:15', 'last-modified': '2025-11-22T06:37:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.413752'} 2025-11-22 06:37:17,764 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-22 06:37:17,764 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53883947 passed 2025-11-22 06:37:17,764 - DEBUG - ====Verifying policy data for ctest-vn-53883947 in API_Server ====== 2025-11-22 06:37:17,764 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-22 06:37:17,770 - DEBUG - Requesting: http://10.0.0.50:8082/domain/401b823b-7849-4b97-ae5b-6cd8429e7ea6 2025-11-22 06:37:17,781 - DEBUG - Requesting: http://10.0.0.50:8082/project/2183329c-e40a-44c6-8d29-c77e76bf12d8 2025-11-22 06:37:17,851 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/743b6901-4c88-4bda-a676-866ced9dfed5 2025-11-22 06:37:17,860 - DEBUG - ==>Verifying data for policy with id: fbe239c6-ede4-4327-b10f-1984985d734f, fqn: ['default-domain', 'ctest-TestBasicPolicy-46189064', 'ctest-policy-allow-all-28637515'] 2025-11-22 06:37:17,860 - INFO - VN ctest-vn-53883947 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-22 06:37:17,861 - DEBUG - Verifying the vn in opserver 2025-11-22 06:37:17,861 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46189064:ctest-vn-53883947 virtual network link through opserver 10.0.0.50 2025-11-22 06:37:17,861 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-22 06:37:17,870 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46189064:ctest-vn-53883947', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46189064:ctest-vn-53883947?flat'} 2025-11-22 06:37:17,870 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46189064:ctest-vn-53883947 is found in opserver 2025-11-22 06:37:17,879 - DEBUG - Do not have enough data to verify VN in agent 2025-11-22 06:37:17,883 - DEBUG - VRF ids for VN ctest-vn-53883947: {} 2025-11-22 06:37:17,946 - DEBUG - Services list from nova: [, , ] 2025-11-22 06:37:19,010 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4797-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4797-1) 2025-11-22 06:37:20,247 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4797-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4797-1) 2025-11-22 06:37:20,247 - INFO - Waiting for VM ctest-TestBasicPolicy-46189064-89767743 to be up.. 2025-11-22 06:37:20,342 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-22 06:37:25,421 - DEBUG - VM is in ACTIVE state now 2025-11-22 06:37:25,421 - INFO - VM name : ctest-TestBasicPolicy-46189064-89767743 2025-11-22 06:37:25,509 - DEBUG - VM ctest-TestBasicPolicy-46189064-89767743 ID is 996bdb11-d485-4d9e-96f1-91339aed34b5 2025-11-22 06:37:25,538 - DEBUG - VM ctest-TestBasicPolicy-46189064-89767743 launched on Node cn-jenkins-deploy-platform-ansible-os-4797-1 2025-11-22 06:37:25,627 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/996bdb11-d485-4d9e-96f1-91339aed34b5 2025-11-22 06:37:25,636 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f8e582d0-76bd-4d07-ac09-c03f33c78d90 2025-11-22 06:37:28,884 - 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 1002ms') 2025-11-22 06:37:28,884 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46189064-89767743 failed! 2025-11-22 06:37:28,940 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-46189064:ctest-vn-19526037 is 112.248.233.65 and allocation pool is NOT set 2025-11-22 06:37:31,001 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.50 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.501/5.011/8.522/3.510 ms') 2025-11-22 06:37:31,001 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46189064-89767743 passed 2025-11-22 06:37:31,152 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 06:37:31,152 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46189064-89767743, IP 112.248.233.67, Port 22 2025-11-22 06:37:31,217 - 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-11-22 06:37:31,312 - DEBUG - VM ctest-TestBasicPolicy-46189064-89767743 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-22 06:37:36,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 06:37:36,313 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46189064-89767743, IP 112.248.233.67, Port 22 2025-11-22 06:37:36,488 - DEBUG - VM ctest-TestBasicPolicy-46189064-89767743 is ready for SSH connections 2025-11-22 06:37:36,488 - INFO - Waiting for VM ctest-TestBasicPolicy-46189064-82970106 to be up.. 2025-11-22 06:37:36,565 - DEBUG - VM is in ACTIVE state now 2025-11-22 06:37:36,565 - INFO - VM name : ctest-TestBasicPolicy-46189064-82970106 2025-11-22 06:37:36,642 - DEBUG - VM ctest-TestBasicPolicy-46189064-82970106 ID is e88a2c31-48e2-4762-82b9-210dd19443be 2025-11-22 06:37:36,642 - DEBUG - VM ctest-TestBasicPolicy-46189064-82970106 launched on Node cn-jenkins-deploy-platform-ansible-os-4797-1 2025-11-22 06:37:36,720 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e88a2c31-48e2-4762-82b9-210dd19443be 2025-11-22 06:37:36,729 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3969b620-9508-45f0-8d24-fad8cba61e1b 2025-11-22 06:37:37,973 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.486 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.486/1.867/3.248/1.381 ms') 2025-11-22 06:37:37,973 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-46189064-82970106 passed 2025-11-22 06:37:38,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 06:37:38,128 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46189064-82970106, IP 125.90.90.67, Port 22 2025-11-22 06:37:38,284 - DEBUG - VM ctest-TestBasicPolicy-46189064-82970106 is ready for SSH connections 2025-11-22 06:37:38,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 06:37:38,284 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.90.90.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-22 06:37:38,284 - DEBUG - ping -s 56 -c 3 -W 1 125.90.90.67 2025-11-22 06:37:42,481 - DEBUG - PING 125.90.90.67 (125.90.90.67): 56 data bytes 64 bytes from 125.90.90.67: seq=0 ttl=63 time=4.912 ms 64 bytes from 125.90.90.67: seq=1 ttl=63 time=0.997 ms 64 bytes from 125.90.90.67: seq=2 ttl=63 time=0.960 ms --- 125.90.90.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.960/2.289/4.912 ms 2025-11-22 06:37:42,482 - INFO - Ping to IP 125.90.90.67 from VM ctest-TestBasicPolicy-46189064-89767743 passed 2025-11-22 06:37:42,664 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fbe239c6-ede4-4327-b10f-1984985d734f", "href": "http://10.0.0.50:8082/network-policy/fbe239c6-ede4-4327-b10f-1984985d734f"}} 2025-11-22 06:37:42,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 06:37:42,664 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.90.90.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-22 06:37:42,664 - DEBUG - ping -s 56 -c 3 -W 1 125.90.90.67 2025-11-22 06:37:45,889 - DEBUG - PING 125.90.90.67 (125.90.90.67): 56 data bytes --- 125.90.90.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-22 06:37:45,889 - WARNING - Ping to IP 125.90.90.67 from VM ctest-TestBasicPolicy-46189064-89767743 failed 2025-11-22 06:37:45,889 - INFO - Deleting VM ctest-TestBasicPolicy-46189064-82970106 2025-11-22 06:37:45,960 - INFO - Deleting VM ctest-TestBasicPolicy-46189064-89767743 2025-11-22 06:37:46,374 - INFO - Deleted policy ctest-policy-allow-all-28637515 2025-11-22 06:37:46,374 - INFO - Deleting VN ctest-vn-53883947 2025-11-22 06:37:46,423 - DEBUG - VN 743b6901-4c88-4bda-a676-866ced9dfed5 still in use: Unable to complete operation on network 743b6901-4c88-4bda-a676-866ced9dfed5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b42dea47-67d9-428e-9af2-6ea06c8096c8'] 2025-11-22 06:37:46,423 - WARNING - Deleting VN ctest-vn-53883947 failed..Will retry 2025-11-22 06:37:48,526 - DEBUG - Response for deleting network () 2025-11-22 06:37:48,526 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ce204dbf-520e-413e-95b7-4e5cd27d5f51 2025-11-22 06:37:48,535 - DEBUG - Response Code: 404 2025-11-22 06:37:48,535 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-22 06:37:48,541 - DEBUG - Requesting: http://10.0.0.50:8082/domain/401b823b-7849-4b97-ae5b-6cd8429e7ea6 2025-11-22 06:37:48,598 - DEBUG - Requesting: http://10.0.0.50:8082/project/2183329c-e40a-44c6-8d29-c77e76bf12d8 2025-11-22 06:37:48,678 - INFO - Validated that VN ctest-vn-53883947 is not found in API Server 2025-11-22 06:37:48,688 - DEBUG - VN ctest-vn-53883947 is not present in Agent 10.0.0.50 2025-11-22 06:37:48,688 - INFO - Validated that VN ctest-vn-53883947 is not in any agent 2025-11-22 06:37:48,701 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53883947 info 2025-11-22 06:37:48,701 - INFO - Deleting VN ctest-vn-19526037 2025-11-22 06:37:48,811 - DEBUG - Response for deleting network () 2025-11-22 06:37:48,811 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6a1ce30d-7feb-4350-8022-26b3b130a9e0 2025-11-22 06:37:48,818 - DEBUG - Response Code: 404 2025-11-22 06:37:48,818 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-22 06:37:48,824 - DEBUG - Requesting: http://10.0.0.50:8082/domain/401b823b-7849-4b97-ae5b-6cd8429e7ea6 2025-11-22 06:37:48,877 - DEBUG - Requesting: http://10.0.0.50:8082/project/2183329c-e40a-44c6-8d29-c77e76bf12d8 2025-11-22 06:37:48,952 - INFO - Validated that VN ctest-vn-19526037 is not found in API Server 2025-11-22 06:37:48,961 - DEBUG - VN ctest-vn-19526037 is not present in Agent 10.0.0.50 2025-11-22 06:37:48,962 - INFO - Validated that VN ctest-vn-19526037 is not in any agent 2025-11-22 06:37:48,981 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19526037 info 2025-11-22 06:37:49,241 - DEBUG - No XMPP flaps were noticed during the test
2025-11-22 06:37:49,241 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2025-11-22 06:37:49,241 - INFO - -------------------------------------------------------------------------------- 2025-11-22 06:37:49,966 - INFO - Deleted project: ctest-TestBasicPolicy-46189064, ID : 2183329c-e40a-44c6-8d29-c77e76bf12d8