2025-10-22 10:34:08,855 - INFO - Domain Default found not creating 2025-10-22 10:34:09,038 - INFO - Project ctest-TestBasicPolicy-98004489 not found, creating it 2025-10-22 10:34:09,609 - INFO - Created Project:ctest-TestBasicPolicy-98004489, ID : 9d5aaeb5-a481-49de-88f1-7dff36b95be6 2025-10-22 10:34:11,258 - INFO - ================================================================================ 2025-10-22 10:34:11,258 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-22 10:34:11,258 - 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-22 10:34:11,515 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-10-22 10:34:11,515 - INFO - Initial checks done. Running the testcase now 2025-10-22 10:34:11,515 - INFO - 2025-10-22 10:34:12,128 - DEBUG - Response for create_network : {'network': {'id': '9aedd125-cb46-4059-a199-f4d208be0e00', 'name': 'ctest-vn-43328360', 'tenant_id': '9d5aaeb5a48149de88f17dff36b95be6', 'project_id': '9d5aaeb5a48149de88f17dff36b95be6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98004489', 'ctest-vn-43328360'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:34:12,335 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9cbc1a8-dc86-49d2-83c3-3811839afa59', 'name': '', 'tenant_id': '9d5aaeb5a48149de88f17dff36b95be6', 'network_id': '9aedd125-cb46-4059-a199-f4d208be0e00', 'ip_version': 4, 'cidr': '144.149.159.64/26', 'allocation_pools': [{'start': '144.149.159.66', 'end': '144.149.159.126'}], 'gateway_ip': '144.149.159.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.149.159.66', 'tags': [], 'project_id': '9d5aaeb5a48149de88f17dff36b95be6'}} 2025-10-22 10:34:12,356 - INFO - Created VN ctest-vn-43328360 2025-10-22 10:34:12,413 - DEBUG - VN ctest-vn-43328360 UUID is 9aedd125-cb46-4059-a199-f4d208be0e00 2025-10-22 10:34:12,752 - DEBUG - Response for create_network : {'network': {'id': '9f9c30a9-6007-49f6-b6d3-6c57e822cb5b', 'name': 'ctest-vn-61553888', 'tenant_id': '9d5aaeb5a48149de88f17dff36b95be6', 'project_id': '9d5aaeb5a48149de88f17dff36b95be6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98004489', 'ctest-vn-61553888'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:34:12,958 - DEBUG - Response for create_subnet : {'subnet': {'id': '6594a741-9e6a-4407-ad38-b86eb6ffb171', 'name': '', 'tenant_id': '9d5aaeb5a48149de88f17dff36b95be6', 'network_id': '9f9c30a9-6007-49f6-b6d3-6c57e822cb5b', 'ip_version': 4, 'cidr': '102.19.140.64/26', 'allocation_pools': [{'start': '102.19.140.66', 'end': '102.19.140.126'}], 'gateway_ip': '102.19.140.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.19.140.66', 'tags': [], 'project_id': '9d5aaeb5a48149de88f17dff36b95be6'}} 2025-10-22 10:34:12,982 - INFO - Created VN ctest-vn-61553888 2025-10-22 10:34:13,037 - DEBUG - VN ctest-vn-61553888 UUID is 9f9c30a9-6007-49f6-b6d3-6c57e822cb5b 2025-10-22 10:34:13,179 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-98004489:ctest-vn-43328360, 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-98004489:ctest-vn-61553888, 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-22 10:34:13,739 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9aedd125-cb46-4059-a199-f4d208be0e00', 'name': 'ctest-vn-43328360', 'tenant_id': '9d5aaeb5a48149de88f17dff36b95be6', 'project_id': '9d5aaeb5a48149de88f17dff36b95be6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e9cbc1a8-dc86-49d2-83c3-3811839afa59'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98004489', 'ctest-vn-43328360'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98004489', 'ctest-policy-allow-all-55864009']], 'subnet_ipam': [{'subnet_cidr': '144.149.159.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:34:14,014 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9f9c30a9-6007-49f6-b6d3-6c57e822cb5b', 'name': 'ctest-vn-61553888', 'tenant_id': '9d5aaeb5a48149de88f17dff36b95be6', 'project_id': '9d5aaeb5a48149de88f17dff36b95be6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6594a741-9e6a-4407-ad38-b86eb6ffb171'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98004489', 'ctest-vn-61553888'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98004489', 'ctest-policy-allow-all-55864009']], 'subnet_ipam': [{'subnet_cidr': '102.19.140.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:34:14,152 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-22 10:34:14,500 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-22 10:34:14,555 - DEBUG - Requesting: http://10.0.0.22:8082/domain/801435cb-d0d9-4a4b-86b0-d3e5add8f350 2025-10-22 10:34:14,569 - DEBUG - Requesting: http://10.0.0.22:8082/project/9d5aaeb5-a481-49de-88f1-7dff36b95be6 2025-10-22 10:34:14,651 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9aedd125-cb46-4059-a199-f4d208be0e00 2025-10-22 10:34:14,664 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9aedd125-cb46-4059-a199-f4d208be0e00 2025-10-22 10:34:14,675 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6f8e3faa-d7d5-4a96-a60b-65088837d906 2025-10-22 10:34:14,685 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6f8e3faa-d7d5-4a96-a60b-65088837d906 2025-10-22 10:34:14,696 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/de400c08-28a9-4f6e-9fc9-7f6aa573b600 2025-10-22 10:34:14,703 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 10:34:14,703 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9aedd125-cb46-4059-a199-f4d208be0e00 2025-10-22 10:34:14,713 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6f8e3faa-d7d5-4a96-a60b-65088837d906 2025-10-22 10:34:14,729 - INFO - Verified VN network id 12 for VN 9aedd125-cb46-4059-a199-f4d208be0e00 2025-10-22 10:34:14,729 - INFO - Verifications in API Server for VN ctest-vn-43328360 passed 2025-10-22 10:34:14,729 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9aedd125-cb46-4059-a199-f4d208be0e00 2025-10-22 10:34:14,740 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6f8e3faa-d7d5-4a96-a60b-65088837d906 2025-10-22 10:34:14,752 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6f8e3faa-d7d5-4a96-a60b-65088837d906 2025-10-22 10:34:14,761 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/de400c08-28a9-4f6e-9fc9-7f6aa573b600 2025-10-22 10:34:14,776 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98004489:ctest-vn-43328360', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98004489', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11163809011575701593', 'uuid-lslong': '11644607494470110720'}, 'enable': 'true', 'created': '2025-10-22T10:34:12', 'last-modified': '2025-10-22T10:34:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.096208'} 2025-10-22 10:34:14,782 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 10:34:14,782 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43328360 passed 2025-10-22 10:34:14,783 - DEBUG - ====Verifying policy data for ctest-vn-43328360 in API_Server ====== 2025-10-22 10:34:14,783 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-22 10:34:14,789 - DEBUG - Requesting: http://10.0.0.22:8082/domain/801435cb-d0d9-4a4b-86b0-d3e5add8f350 2025-10-22 10:34:14,802 - DEBUG - Requesting: http://10.0.0.22:8082/project/9d5aaeb5-a481-49de-88f1-7dff36b95be6 2025-10-22 10:34:14,880 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9aedd125-cb46-4059-a199-f4d208be0e00 2025-10-22 10:34:14,896 - DEBUG - ==>Verifying data for policy with id: ce0546ec-724f-4b2e-8714-126280c239d6, fqn: ['default-domain', 'ctest-TestBasicPolicy-98004489', 'ctest-policy-allow-all-55864009'] 2025-10-22 10:34:14,897 - INFO - VN ctest-vn-43328360 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 10:34:14,897 - DEBUG - Verifying the vn in opserver 2025-10-22 10:34:14,897 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98004489:ctest-vn-43328360 virtual network link through opserver 10.0.0.22 2025-10-22 10:34:14,897 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-22 10:34:15,237 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-22 10:34:15,305 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98004489:ctest-vn-43328360', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98004489:ctest-vn-43328360?flat'} 2025-10-22 10:34:15,305 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98004489:ctest-vn-43328360 is found in opserver 2025-10-22 10:34:15,317 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 10:34:15,322 - DEBUG - VRF ids for VN ctest-vn-43328360: {} 2025-10-22 10:34:15,322 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-22 10:34:15,329 - DEBUG - Requesting: http://10.0.0.22:8082/domain/801435cb-d0d9-4a4b-86b0-d3e5add8f350 2025-10-22 10:34:15,342 - DEBUG - Requesting: http://10.0.0.22:8082/project/9d5aaeb5-a481-49de-88f1-7dff36b95be6 2025-10-22 10:34:15,419 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9f9c30a9-6007-49f6-b6d3-6c57e822cb5b 2025-10-22 10:34:15,434 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9f9c30a9-6007-49f6-b6d3-6c57e822cb5b 2025-10-22 10:34:15,446 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6e9f618e-cdf7-4190-bea5-f360dbd43d0c 2025-10-22 10:34:15,455 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6e9f618e-cdf7-4190-bea5-f360dbd43d0c 2025-10-22 10:34:15,463 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/01a0ec8e-eebf-4bb2-b934-144d455d2025 2025-10-22 10:34:15,470 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 10:34:15,470 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9f9c30a9-6007-49f6-b6d3-6c57e822cb5b 2025-10-22 10:34:15,479 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6e9f618e-cdf7-4190-bea5-f360dbd43d0c 2025-10-22 10:34:15,494 - INFO - Verified VN network id 13 for VN 9f9c30a9-6007-49f6-b6d3-6c57e822cb5b 2025-10-22 10:34:15,495 - INFO - Verifications in API Server for VN ctest-vn-61553888 passed 2025-10-22 10:34:15,495 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9f9c30a9-6007-49f6-b6d3-6c57e822cb5b 2025-10-22 10:34:15,505 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6e9f618e-cdf7-4190-bea5-f360dbd43d0c 2025-10-22 10:34:15,512 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6e9f618e-cdf7-4190-bea5-f360dbd43d0c 2025-10-22 10:34:15,519 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/01a0ec8e-eebf-4bb2-b934-144d455d2025 2025-10-22 10:34:15,531 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98004489:ctest-vn-61553888', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98004489', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11501121052416100854', 'uuid-lslong': '13173992459801381723'}, 'enable': 'true', 'created': '2025-10-22T10:34:12', 'last-modified': '2025-10-22T10:34:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.548743'} 2025-10-22 10:34:15,537 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 10:34:15,537 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61553888 passed 2025-10-22 10:34:15,537 - DEBUG - ====Verifying policy data for ctest-vn-61553888 in API_Server ====== 2025-10-22 10:34:15,537 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-22 10:34:15,543 - DEBUG - Requesting: http://10.0.0.22:8082/domain/801435cb-d0d9-4a4b-86b0-d3e5add8f350 2025-10-22 10:34:15,555 - DEBUG - Requesting: http://10.0.0.22:8082/project/9d5aaeb5-a481-49de-88f1-7dff36b95be6 2025-10-22 10:34:15,632 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9f9c30a9-6007-49f6-b6d3-6c57e822cb5b 2025-10-22 10:34:15,653 - DEBUG - ==>Verifying data for policy with id: ce0546ec-724f-4b2e-8714-126280c239d6, fqn: ['default-domain', 'ctest-TestBasicPolicy-98004489', 'ctest-policy-allow-all-55864009'] 2025-10-22 10:34:15,653 - INFO - VN ctest-vn-61553888 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 10:34:15,653 - DEBUG - Verifying the vn in opserver 2025-10-22 10:34:15,653 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98004489:ctest-vn-61553888 virtual network link through opserver 10.0.0.22 2025-10-22 10:34:15,653 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-22 10:34:15,664 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98004489:ctest-vn-61553888', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98004489:ctest-vn-61553888?flat'} 2025-10-22 10:34:15,664 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98004489:ctest-vn-61553888 is found in opserver 2025-10-22 10:34:15,674 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 10:34:15,679 - DEBUG - VRF ids for VN ctest-vn-61553888: {} 2025-10-22 10:34:15,741 - DEBUG - Services list from nova: [, , ] 2025-10-22 10:34:16,891 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4419-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4419-1) 2025-10-22 10:34:18,153 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4419-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4419-1) 2025-10-22 10:34:18,154 - INFO - Waiting for VM ctest-TestBasicPolicy-98004489-57160875 to be up.. 2025-10-22 10:34:18,241 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 10:34:23,333 - DEBUG - VM is in ACTIVE state now 2025-10-22 10:34:23,334 - INFO - VM name : ctest-TestBasicPolicy-98004489-57160875 2025-10-22 10:34:23,429 - DEBUG - VM ctest-TestBasicPolicy-98004489-57160875 ID is 12894819-0561-4cd9-9774-5886dc0f191d 2025-10-22 10:34:23,452 - DEBUG - VM ctest-TestBasicPolicy-98004489-57160875 launched on Node cn-jenkins-deploy-platform-ansible-os-4419-1 2025-10-22 10:34:23,538 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/12894819-0561-4cd9-9774-5886dc0f191d 2025-10-22 10:34:23,548 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9955b0c5-2747-4c97-934f-802861c5718b 2025-10-22 10:34:26,803 - 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 1004ms') 2025-10-22 10:34:26,803 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98004489-57160875 failed! 2025-10-22 10:34:26,864 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-98004489:ctest-vn-43328360 is 144.149.159.65 and allocation pool is NOT set 2025-10-22 10:34:28,923 - 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=6.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.538 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.538/3.455/6.373/2.917 ms') 2025-10-22 10:34:28,923 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98004489-57160875 passed 2025-10-22 10:34:29,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:34:29,078 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98004489-57160875, IP 144.149.159.67, Port 22 2025-10-22 10:34:29,151 - 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-22 10:34:29,239 - DEBUG - VM ctest-TestBasicPolicy-98004489-57160875 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-22 10:34:34,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:34:34,239 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98004489-57160875, IP 144.149.159.67, Port 22 2025-10-22 10:34:34,408 - DEBUG - VM ctest-TestBasicPolicy-98004489-57160875 is ready for SSH connections 2025-10-22 10:34:34,408 - INFO - Waiting for VM ctest-TestBasicPolicy-98004489-36769225 to be up.. 2025-10-22 10:34:34,494 - DEBUG - VM is in ACTIVE state now 2025-10-22 10:34:34,495 - INFO - VM name : ctest-TestBasicPolicy-98004489-36769225 2025-10-22 10:34:34,572 - DEBUG - VM ctest-TestBasicPolicy-98004489-36769225 ID is cd4d1a29-7efd-431f-812f-0cd4186d545d 2025-10-22 10:34:34,573 - DEBUG - VM ctest-TestBasicPolicy-98004489-36769225 launched on Node cn-jenkins-deploy-platform-ansible-os-4419-1 2025-10-22 10:34:34,654 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/cd4d1a29-7efd-431f-812f-0cd4186d545d 2025-10-22 10:34:34,662 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/144ce860-c313-4940-8f54-581d78aacddb 2025-10-22 10:34:35,906 - 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.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.466 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.466/1.959/3.452/1.493 ms') 2025-10-22 10:34:35,907 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-98004489-36769225 passed 2025-10-22 10:34:36,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:34:36,057 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98004489-36769225, IP 102.19.140.67, Port 22 2025-10-22 10:34:36,212 - DEBUG - VM ctest-TestBasicPolicy-98004489-36769225 is ready for SSH connections 2025-10-22 10:34:36,212 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:34:36,212 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.19.140.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-22 10:34:36,213 - DEBUG - ping -s 56 -c 3 -W 1 102.19.140.67 2025-10-22 10:34:40,375 - DEBUG - PING 102.19.140.67 (102.19.140.67): 56 data bytes 64 bytes from 102.19.140.67: seq=0 ttl=63 time=3.875 ms 64 bytes from 102.19.140.67: seq=1 ttl=63 time=1.044 ms 64 bytes from 102.19.140.67: seq=2 ttl=63 time=0.949 ms --- 102.19.140.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.949/1.956/3.875 ms 2025-10-22 10:34:40,375 - INFO - Ping to IP 102.19.140.67 from VM ctest-TestBasicPolicy-98004489-57160875 passed 2025-10-22 10:34:40,556 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ce0546ec-724f-4b2e-8714-126280c239d6", "href": "http://10.0.0.22:8082/network-policy/ce0546ec-724f-4b2e-8714-126280c239d6"}} 2025-10-22 10:34:40,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:34:40,557 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.19.140.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-22 10:34:40,557 - DEBUG - ping -s 56 -c 3 -W 1 102.19.140.67 2025-10-22 10:34:43,805 - DEBUG - PING 102.19.140.67 (102.19.140.67): 56 data bytes --- 102.19.140.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 10:34:43,806 - WARNING - Ping to IP 102.19.140.67 from VM ctest-TestBasicPolicy-98004489-57160875 failed 2025-10-22 10:34:43,806 - INFO - Deleting VM ctest-TestBasicPolicy-98004489-36769225 2025-10-22 10:34:43,887 - INFO - Deleting VM ctest-TestBasicPolicy-98004489-57160875 2025-10-22 10:34:44,329 - INFO - Deleted policy ctest-policy-allow-all-55864009 2025-10-22 10:34:44,329 - INFO - Deleting VN ctest-vn-61553888 2025-10-22 10:34:44,372 - DEBUG - VN 9f9c30a9-6007-49f6-b6d3-6c57e822cb5b still in use: Unable to complete operation on network 9f9c30a9-6007-49f6-b6d3-6c57e822cb5b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-66f204b7-a6b1-4bfe-bd82-b69166d8f43c'] 2025-10-22 10:34:44,372 - WARNING - Deleting VN ctest-vn-61553888 failed..Will retry 2025-10-22 10:34:46,483 - DEBUG - Response for deleting network () 2025-10-22 10:34:46,483 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6e9f618e-cdf7-4190-bea5-f360dbd43d0c 2025-10-22 10:34:46,497 - DEBUG - Response Code: 404 2025-10-22 10:34:46,498 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-22 10:34:46,505 - DEBUG - Requesting: http://10.0.0.22:8082/domain/801435cb-d0d9-4a4b-86b0-d3e5add8f350 2025-10-22 10:34:46,563 - DEBUG - Requesting: http://10.0.0.22:8082/project/9d5aaeb5-a481-49de-88f1-7dff36b95be6 2025-10-22 10:34:46,639 - INFO - Validated that VN ctest-vn-61553888 is not found in API Server 2025-10-22 10:34:46,650 - DEBUG - VN ctest-vn-61553888 is not present in Agent 10.0.0.22 2025-10-22 10:34:46,650 - INFO - Validated that VN ctest-vn-61553888 is not in any agent 2025-10-22 10:34:46,665 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61553888 info 2025-10-22 10:34:46,665 - INFO - Deleting VN ctest-vn-43328360 2025-10-22 10:34:46,794 - DEBUG - Response for deleting network () 2025-10-22 10:34:46,794 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6f8e3faa-d7d5-4a96-a60b-65088837d906 2025-10-22 10:34:46,800 - DEBUG - Response Code: 404 2025-10-22 10:34:46,800 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-22 10:34:46,806 - DEBUG - Requesting: http://10.0.0.22:8082/domain/801435cb-d0d9-4a4b-86b0-d3e5add8f350 2025-10-22 10:34:46,862 - DEBUG - Requesting: http://10.0.0.22:8082/project/9d5aaeb5-a481-49de-88f1-7dff36b95be6 2025-10-22 10:34:46,942 - INFO - Validated that VN ctest-vn-43328360 is not found in API Server 2025-10-22 10:34:46,952 - DEBUG - VN ctest-vn-43328360 is not present in Agent 10.0.0.22 2025-10-22 10:34:46,952 - INFO - Validated that VN ctest-vn-43328360 is not in any agent 2025-10-22 10:34:46,967 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43328360 info 2025-10-22 10:34:47,227 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 10:34:47,227 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2025-10-22 10:34:47,228 - INFO - -------------------------------------------------------------------------------- 2025-10-22 10:34:48,032 - INFO - Deleted project: ctest-TestBasicPolicy-98004489, ID : 9d5aaeb5-a481-49de-88f1-7dff36b95be6