2025-08-19 21:03:32,110 - INFO - Domain Default found not creating 2025-08-19 21:03:32,245 - INFO - Project ctest-TestBasicPolicy-50392159 not found, creating it 2025-08-19 21:03:32,726 - INFO - Created Project:ctest-TestBasicPolicy-50392159, ID : 6baa4f14-aae9-4845-a370-bf71620bbc1c 2025-08-19 21:03:34,077 - INFO - ================================================================================ 2025-08-19 21:03:34,078 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-19 21:03:34,078 - 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-19 21:03:34,327 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with 2025-08-19 21:03:34,327 - INFO - Initial checks done. Running the testcase now 2025-08-19 21:03:34,327 - INFO - 2025-08-19 21:03:34,829 - DEBUG - Response for create_network : {'network': {'id': '9e7cfa8b-02e4-4e50-988a-06a19aee1f49', 'name': 'ctest-vn-75252900', 'tenant_id': '6baa4f14aae94845a370bf71620bbc1c', 'project_id': '6baa4f14aae94845a370bf71620bbc1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50392159', 'ctest-vn-75252900'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 21:03:34,983 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f055647-26cf-4da6-8033-94ca0d4ec368', 'name': '', 'tenant_id': '6baa4f14aae94845a370bf71620bbc1c', 'network_id': '9e7cfa8b-02e4-4e50-988a-06a19aee1f49', 'ip_version': 4, 'cidr': '192.37.164.192/26', 'allocation_pools': [{'start': '192.37.164.194', 'end': '192.37.164.254'}], 'gateway_ip': '192.37.164.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.37.164.194', 'tags': [], 'project_id': '6baa4f14aae94845a370bf71620bbc1c'}} 2025-08-19 21:03:34,998 - INFO - Created VN ctest-vn-75252900 2025-08-19 21:03:35,047 - DEBUG - VN ctest-vn-75252900 UUID is 9e7cfa8b-02e4-4e50-988a-06a19aee1f49 2025-08-19 21:03:35,355 - DEBUG - Response for create_network : {'network': {'id': '4ad651f7-dc1e-4a47-890e-5a1344e3cc03', 'name': 'ctest-vn-93890125', 'tenant_id': '6baa4f14aae94845a370bf71620bbc1c', 'project_id': '6baa4f14aae94845a370bf71620bbc1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50392159', 'ctest-vn-93890125'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 21:03:35,542 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a662268-c8e6-4e26-89bc-987ca320aaf7', 'name': '', 'tenant_id': '6baa4f14aae94845a370bf71620bbc1c', 'network_id': '4ad651f7-dc1e-4a47-890e-5a1344e3cc03', 'ip_version': 4, 'cidr': '42.141.174.128/26', 'allocation_pools': [{'start': '42.141.174.130', 'end': '42.141.174.190'}], 'gateway_ip': '42.141.174.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.141.174.130', 'tags': [], 'project_id': '6baa4f14aae94845a370bf71620bbc1c'}} 2025-08-19 21:03:35,556 - INFO - Created VN ctest-vn-93890125 2025-08-19 21:03:35,606 - DEBUG - VN ctest-vn-93890125 UUID is 4ad651f7-dc1e-4a47-890e-5a1344e3cc03 2025-08-19 21:03:35,750 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-50392159:ctest-vn-75252900, 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-50392159:ctest-vn-93890125, 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-19 21:03:36,026 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9e7cfa8b-02e4-4e50-988a-06a19aee1f49', 'name': 'ctest-vn-75252900', 'tenant_id': '6baa4f14aae94845a370bf71620bbc1c', 'project_id': '6baa4f14aae94845a370bf71620bbc1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1f055647-26cf-4da6-8033-94ca0d4ec368'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50392159', 'ctest-vn-75252900'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-50392159', 'ctest-policy-allow-all-06890283']], 'subnet_ipam': [{'subnet_cidr': '192.37.164.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-19 21:03:36,249 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4ad651f7-dc1e-4a47-890e-5a1344e3cc03', 'name': 'ctest-vn-93890125', 'tenant_id': '6baa4f14aae94845a370bf71620bbc1c', 'project_id': '6baa4f14aae94845a370bf71620bbc1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0a662268-c8e6-4e26-89bc-987ca320aaf7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50392159', 'ctest-vn-93890125'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-50392159', 'ctest-policy-allow-all-06890283']], 'subnet_ipam': [{'subnet_cidr': '42.141.174.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-19 21:03:36,407 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-19 21:03:36,698 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-19 21:03:36,723 - DEBUG - Requesting: http://10.0.0.254:8082/domain/bf074e1c-34c2-4b07-aba1-fb1c85cecc61 2025-08-19 21:03:36,733 - DEBUG - Requesting: http://10.0.0.254:8082/project/6baa4f14-aae9-4845-a370-bf71620bbc1c 2025-08-19 21:03:36,811 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9e7cfa8b-02e4-4e50-988a-06a19aee1f49 2025-08-19 21:03:36,824 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9e7cfa8b-02e4-4e50-988a-06a19aee1f49 2025-08-19 21:03:36,834 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ab66d4a3-aaa4-4a36-81fa-89f8131695d3 2025-08-19 21:03:36,839 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ab66d4a3-aaa4-4a36-81fa-89f8131695d3 2025-08-19 21:03:36,847 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/3365c35c-cb4c-4fd2-8cd8-2269e4994f79 2025-08-19 21:03:36,852 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-19 21:03:36,853 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9e7cfa8b-02e4-4e50-988a-06a19aee1f49 2025-08-19 21:03:36,862 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ab66d4a3-aaa4-4a36-81fa-89f8131695d3 2025-08-19 21:03:36,878 - INFO - Verified VN network id 11 for VN 9e7cfa8b-02e4-4e50-988a-06a19aee1f49 2025-08-19 21:03:36,878 - INFO - Verifications in API Server for VN ctest-vn-75252900 passed 2025-08-19 21:03:36,878 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9e7cfa8b-02e4-4e50-988a-06a19aee1f49 2025-08-19 21:03:36,885 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ab66d4a3-aaa4-4a36-81fa-89f8131695d3 2025-08-19 21:03:36,890 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ab66d4a3-aaa4-4a36-81fa-89f8131695d3 2025-08-19 21:03:36,896 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/3365c35c-cb4c-4fd2-8cd8-2269e4994f79 2025-08-19 21:03:36,906 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50392159:ctest-vn-75252900', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50392159', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11420278230060650064', 'uuid-lslong': '10991605131709914953'}, 'enable': 'true', 'created': '2025-08-19T21:03:34', 'last-modified': '2025-08-19T21:03:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.901282'} 2025-08-19 21:03:36,912 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-19 21:03:36,912 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75252900 passed 2025-08-19 21:03:36,912 - DEBUG - ====Verifying policy data for ctest-vn-75252900 in API_Server ====== 2025-08-19 21:03:36,912 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-19 21:03:36,918 - DEBUG - Requesting: http://10.0.0.254:8082/domain/bf074e1c-34c2-4b07-aba1-fb1c85cecc61 2025-08-19 21:03:36,926 - DEBUG - Requesting: http://10.0.0.254:8082/project/6baa4f14-aae9-4845-a370-bf71620bbc1c 2025-08-19 21:03:36,997 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9e7cfa8b-02e4-4e50-988a-06a19aee1f49 2025-08-19 21:03:37,005 - DEBUG - ==>Verifying data for policy with id: b6026f80-7851-497a-9cab-05646306cd78, fqn: ['default-domain', 'ctest-TestBasicPolicy-50392159', 'ctest-policy-allow-all-06890283'] 2025-08-19 21:03:37,005 - INFO - VN ctest-vn-75252900 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-19 21:03:37,005 - DEBUG - Verifying the vn in opserver 2025-08-19 21:03:37,005 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50392159:ctest-vn-75252900 virtual network link through opserver 10.0.0.254 2025-08-19 21:03:37,005 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-19 21:03:37,300 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-19 21:03:37,345 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50392159:ctest-vn-75252900', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50392159:ctest-vn-75252900?flat'} 2025-08-19 21:03:37,345 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-50392159:ctest-vn-75252900 is found in opserver 2025-08-19 21:03:37,356 - DEBUG - Do not have enough data to verify VN in agent 2025-08-19 21:03:37,362 - DEBUG - VRF ids for VN ctest-vn-75252900: {} 2025-08-19 21:03:37,362 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-19 21:03:37,367 - DEBUG - Requesting: http://10.0.0.254:8082/domain/bf074e1c-34c2-4b07-aba1-fb1c85cecc61 2025-08-19 21:03:37,376 - DEBUG - Requesting: http://10.0.0.254:8082/project/6baa4f14-aae9-4845-a370-bf71620bbc1c 2025-08-19 21:03:37,441 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4ad651f7-dc1e-4a47-890e-5a1344e3cc03 2025-08-19 21:03:37,450 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4ad651f7-dc1e-4a47-890e-5a1344e3cc03 2025-08-19 21:03:37,457 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fbd8b5df-95fe-4231-a601-564c760896cc 2025-08-19 21:03:37,464 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fbd8b5df-95fe-4231-a601-564c760896cc 2025-08-19 21:03:37,468 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ea376dac-18fc-4694-bd79-484c08259013 2025-08-19 21:03:37,476 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-19 21:03:37,477 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4ad651f7-dc1e-4a47-890e-5a1344e3cc03 2025-08-19 21:03:37,483 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fbd8b5df-95fe-4231-a601-564c760896cc 2025-08-19 21:03:37,493 - INFO - Verified VN network id 12 for VN 4ad651f7-dc1e-4a47-890e-5a1344e3cc03 2025-08-19 21:03:37,493 - INFO - Verifications in API Server for VN ctest-vn-93890125 passed 2025-08-19 21:03:37,493 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4ad651f7-dc1e-4a47-890e-5a1344e3cc03 2025-08-19 21:03:37,499 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fbd8b5df-95fe-4231-a601-564c760896cc 2025-08-19 21:03:37,504 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fbd8b5df-95fe-4231-a601-564c760896cc 2025-08-19 21:03:37,509 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ea376dac-18fc-4694-bd79-484c08259013 2025-08-19 21:03:37,518 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50392159:ctest-vn-93890125', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50392159', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5392587728814492231', 'uuid-lslong': '9875930071676734467'}, 'enable': 'true', 'created': '2025-08-19T21:03:35', 'last-modified': '2025-08-19T21:03:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.295195'} 2025-08-19 21:03:37,522 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-19 21:03:37,522 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93890125 passed 2025-08-19 21:03:37,522 - DEBUG - ====Verifying policy data for ctest-vn-93890125 in API_Server ====== 2025-08-19 21:03:37,523 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-19 21:03:37,526 - DEBUG - Requesting: http://10.0.0.254:8082/domain/bf074e1c-34c2-4b07-aba1-fb1c85cecc61 2025-08-19 21:03:37,534 - DEBUG - Requesting: http://10.0.0.254:8082/project/6baa4f14-aae9-4845-a370-bf71620bbc1c 2025-08-19 21:03:37,600 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4ad651f7-dc1e-4a47-890e-5a1344e3cc03 2025-08-19 21:03:37,609 - DEBUG - ==>Verifying data for policy with id: b6026f80-7851-497a-9cab-05646306cd78, fqn: ['default-domain', 'ctest-TestBasicPolicy-50392159', 'ctest-policy-allow-all-06890283'] 2025-08-19 21:03:37,609 - INFO - VN ctest-vn-93890125 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-19 21:03:37,609 - DEBUG - Verifying the vn in opserver 2025-08-19 21:03:37,609 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50392159:ctest-vn-93890125 virtual network link through opserver 10.0.0.254 2025-08-19 21:03:37,609 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-19 21:03:37,617 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50392159:ctest-vn-93890125', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50392159:ctest-vn-93890125?flat'} 2025-08-19 21:03:37,617 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-50392159:ctest-vn-93890125 is found in opserver 2025-08-19 21:03:37,626 - DEBUG - Do not have enough data to verify VN in agent 2025-08-19 21:03:37,629 - DEBUG - VRF ids for VN ctest-vn-93890125: {} 2025-08-19 21:03:37,681 - DEBUG - Services list from nova: [, , ] 2025-08-19 21:03:38,625 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3888-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3888-1) 2025-08-19 21:03:39,706 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3888-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3888-1) 2025-08-19 21:03:39,706 - INFO - Waiting for VM ctest-TestBasicPolicy-50392159-61285471 to be up.. 2025-08-19 21:03:39,771 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-19 21:03:44,851 - DEBUG - VM is in ACTIVE state now 2025-08-19 21:03:44,851 - INFO - VM name : ctest-TestBasicPolicy-50392159-61285471 2025-08-19 21:03:44,921 - DEBUG - VM ctest-TestBasicPolicy-50392159-61285471 ID is e6a3e802-d0b3-4886-b3a9-e2ee6b6010bb 2025-08-19 21:03:44,937 - DEBUG - VM ctest-TestBasicPolicy-50392159-61285471 launched on Node cn-jenkins-deploy-platform-ansible-os-3888-1. 2025-08-19 21:03:45,002 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e6a3e802-d0b3-4886-b3a9-e2ee6b6010bb 2025-08-19 21:03:45,009 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1e8848c9-1182-46ab-826a-53f0db6cc843 2025-08-19 21:03:48,272 - 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 1028ms') 2025-08-19 21:03:48,272 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50392159-61285471 failed! 2025-08-19 21:03:48,327 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-50392159:ctest-vn-75252900 is 192.37.164.193 and allocation pool is NOT set 2025-08-19 21:03:50,388 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.95 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 = 1.954/3.324/4.694/1.370 ms') 2025-08-19 21:03:50,388 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50392159-61285471 passed 2025-08-19 21:03:50,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 21:03:50,539 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50392159-61285471, IP 192.37.164.195, Port 22 2025-08-19 21:03:50,593 - 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-08-19 21:03:50,657 - DEBUG - VM ctest-TestBasicPolicy-50392159-61285471 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-19 21:03:55,658 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 21:03:55,658 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50392159-61285471, IP 192.37.164.195, Port 22 2025-08-19 21:03:55,809 - DEBUG - VM ctest-TestBasicPolicy-50392159-61285471 is ready for SSH connections 2025-08-19 21:03:55,810 - INFO - Waiting for VM ctest-TestBasicPolicy-50392159-28567923 to be up.. 2025-08-19 21:03:55,877 - DEBUG - VM is in ACTIVE state now 2025-08-19 21:03:55,877 - INFO - VM name : ctest-TestBasicPolicy-50392159-28567923 2025-08-19 21:03:55,934 - DEBUG - VM ctest-TestBasicPolicy-50392159-28567923 ID is e0a817fa-2193-440c-bd7d-60d9dfcc055b 2025-08-19 21:03:55,935 - DEBUG - VM ctest-TestBasicPolicy-50392159-28567923 launched on Node cn-jenkins-deploy-platform-ansible-os-3888-1. 2025-08-19 21:03:55,996 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e0a817fa-2193-440c-bd7d-60d9dfcc055b 2025-08-19 21:03:56,003 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5ddc534a-dd42-4f0c-a986-2f27acc15585 2025-08-19 21:03:57,233 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.306 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.306/1.500/2.694/1.194 ms') 2025-08-19 21:03:57,233 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-50392159-28567923 passed 2025-08-19 21:03:57,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 21:03:57,375 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50392159-28567923, IP 42.141.174.131, Port 22 2025-08-19 21:03:57,529 - DEBUG - VM ctest-TestBasicPolicy-50392159-28567923 is ready for SSH connections 2025-08-19 21:03:57,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 21:03:57,530 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.141.174.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-19 21:03:57,530 - DEBUG - ping -s 56 -c 3 -W 1 42.141.174.131 2025-08-19 21:04:01,171 - DEBUG - PING 42.141.174.131 (42.141.174.131): 56 data bytes 64 bytes from 42.141.174.131: seq=0 ttl=63 time=3.244 ms 64 bytes from 42.141.174.131: seq=1 ttl=63 time=0.682 ms 64 bytes from 42.141.174.131: seq=2 ttl=63 time=0.947 ms --- 42.141.174.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.682/1.624/3.244 ms 2025-08-19 21:04:01,171 - INFO - Ping to IP 42.141.174.131 from VM ctest-TestBasicPolicy-50392159-61285471 passed 2025-08-19 21:04:01,343 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b6026f80-7851-497a-9cab-05646306cd78", "href": "http://10.0.0.254:8082/network-policy/b6026f80-7851-497a-9cab-05646306cd78"}} 2025-08-19 21:04:01,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 21:04:01,343 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.141.174.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-19 21:04:01,343 - DEBUG - ping -s 56 -c 3 -W 1 42.141.174.131 2025-08-19 21:04:04,542 - DEBUG - PING 42.141.174.131 (42.141.174.131): 56 data bytes 64 bytes from 42.141.174.131: seq=0 ttl=63 time=1.227 ms --- 42.141.174.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.227/1.227/1.227 ms 2025-08-19 21:04:04,542 - WARNING - Ping to IP 42.141.174.131 from VM ctest-TestBasicPolicy-50392159-61285471 failed 2025-08-19 21:04:04,542 - INFO - Deleting VM ctest-TestBasicPolicy-50392159-28567923 2025-08-19 21:04:04,603 - INFO - Deleting VM ctest-TestBasicPolicy-50392159-61285471 2025-08-19 21:04:04,921 - INFO - Deleted policy ctest-policy-allow-all-06890283 2025-08-19 21:04:04,921 - INFO - Deleting VN ctest-vn-93890125 2025-08-19 21:04:04,955 - DEBUG - VN 4ad651f7-dc1e-4a47-890e-5a1344e3cc03 still in use: Unable to complete operation on network 4ad651f7-dc1e-4a47-890e-5a1344e3cc03. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3130d0db-15f7-44dd-8f3d-189d9b5bdeee'] 2025-08-19 21:04:04,955 - WARNING - Deleting VN ctest-vn-93890125 failed..Will retry 2025-08-19 21:04:07,057 - DEBUG - Response for deleting network () 2025-08-19 21:04:07,057 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fbd8b5df-95fe-4231-a601-564c760896cc 2025-08-19 21:04:07,062 - DEBUG - Response Code: 404 2025-08-19 21:04:07,062 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-19 21:04:07,068 - DEBUG - Requesting: http://10.0.0.254:8082/domain/bf074e1c-34c2-4b07-aba1-fb1c85cecc61 2025-08-19 21:04:07,123 - DEBUG - Requesting: http://10.0.0.254:8082/project/6baa4f14-aae9-4845-a370-bf71620bbc1c 2025-08-19 21:04:07,194 - INFO - Validated that VN ctest-vn-93890125 is not found in API Server 2025-08-19 21:04:07,210 - DEBUG - VN ctest-vn-93890125 is not present in Agent 10.0.0.254 2025-08-19 21:04:07,210 - INFO - Validated that VN ctest-vn-93890125 is not in any agent 2025-08-19 21:04:07,222 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93890125 info 2025-08-19 21:04:07,222 - INFO - Deleting VN ctest-vn-75252900 2025-08-19 21:04:07,314 - DEBUG - Response for deleting network () 2025-08-19 21:04:07,314 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ab66d4a3-aaa4-4a36-81fa-89f8131695d3 2025-08-19 21:04:07,331 - DEBUG - Response Code: 404 2025-08-19 21:04:07,331 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-19 21:04:07,336 - DEBUG - Requesting: http://10.0.0.254:8082/domain/bf074e1c-34c2-4b07-aba1-fb1c85cecc61 2025-08-19 21:04:07,391 - DEBUG - Requesting: http://10.0.0.254:8082/project/6baa4f14-aae9-4845-a370-bf71620bbc1c 2025-08-19 21:04:07,458 - INFO - Validated that VN ctest-vn-75252900 is not found in API Server 2025-08-19 21:04:07,466 - DEBUG - VN ctest-vn-75252900 is not present in Agent 10.0.0.254 2025-08-19 21:04:07,466 - INFO - Validated that VN ctest-vn-75252900 is not in any agent 2025-08-19 21:04:07,477 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75252900 info 2025-08-19 21:04:07,738 - DEBUG - No XMPP flaps were noticed during the test 2025-08-19 21:04:07,738 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33] 2025-08-19 21:04:07,738 - INFO - -------------------------------------------------------------------------------- 2025-08-19 21:04:08,362 - INFO - Deleted project: ctest-TestBasicPolicy-50392159, ID : 6baa4f14-aae9-4845-a370-bf71620bbc1c