2025-09-04 20:26:01,322 - INFO - Domain Default found not creating 2025-09-04 20:26:01,477 - INFO - Project ctest-TestBasicPolicy-76630840 not found, creating it 2025-09-04 20:26:01,936 - INFO - Created Project:ctest-TestBasicPolicy-76630840, ID : 35c1e991-b92a-4ec1-bf20-3196aa32a15f 2025-09-04 20:26:03,445 - INFO - ================================================================================ 2025-09-04 20:26:03,445 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-04 20:26:03,446 - 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-09-04 20:26:03,703 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-09-04 20:26:03,703 - INFO - Initial checks done. Running the testcase now 2025-09-04 20:26:03,703 - INFO - 2025-09-04 20:26:04,292 - DEBUG - Response for create_network : {'network': {'id': 'a0544e25-63ff-42a6-ace7-4e95166cd90d', 'name': 'ctest-vn-61147042', 'tenant_id': '35c1e991b92a4ec1bf203196aa32a15f', 'project_id': '35c1e991b92a4ec1bf203196aa32a15f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76630840', 'ctest-vn-61147042'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 20:26:04,517 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d3779ee-6724-4852-a5f5-b55715d9b354', 'name': '', 'tenant_id': '35c1e991b92a4ec1bf203196aa32a15f', 'network_id': 'a0544e25-63ff-42a6-ace7-4e95166cd90d', 'ip_version': 4, 'cidr': '136.167.183.64/26', 'allocation_pools': [{'start': '136.167.183.66', 'end': '136.167.183.126'}], 'gateway_ip': '136.167.183.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.167.183.66', 'tags': [], 'project_id': '35c1e991b92a4ec1bf203196aa32a15f'}} 2025-09-04 20:26:04,534 - INFO - Created VN ctest-vn-61147042 2025-09-04 20:26:04,586 - DEBUG - VN ctest-vn-61147042 UUID is a0544e25-63ff-42a6-ace7-4e95166cd90d 2025-09-04 20:26:04,861 - DEBUG - Response for create_network : {'network': {'id': 'be176ea4-c8e1-4b12-8ccd-90b58031326d', 'name': 'ctest-vn-89918947', 'tenant_id': '35c1e991b92a4ec1bf203196aa32a15f', 'project_id': '35c1e991b92a4ec1bf203196aa32a15f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76630840', 'ctest-vn-89918947'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 20:26:05,040 - DEBUG - Response for create_subnet : {'subnet': {'id': '2adcacfc-84d8-4414-8593-af291c25cd03', 'name': '', 'tenant_id': '35c1e991b92a4ec1bf203196aa32a15f', 'network_id': 'be176ea4-c8e1-4b12-8ccd-90b58031326d', 'ip_version': 4, 'cidr': '18.221.140.128/26', 'allocation_pools': [{'start': '18.221.140.130', 'end': '18.221.140.190'}], 'gateway_ip': '18.221.140.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.221.140.130', 'tags': [], 'project_id': '35c1e991b92a4ec1bf203196aa32a15f'}} 2025-09-04 20:26:05,060 - INFO - Created VN ctest-vn-89918947 2025-09-04 20:26:05,110 - DEBUG - VN ctest-vn-89918947 UUID is be176ea4-c8e1-4b12-8ccd-90b58031326d 2025-09-04 20:26:05,220 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-76630840:ctest-vn-61147042, 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-76630840:ctest-vn-89918947, 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-09-04 20:26:05,532 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a0544e25-63ff-42a6-ace7-4e95166cd90d', 'name': 'ctest-vn-61147042', 'tenant_id': '35c1e991b92a4ec1bf203196aa32a15f', 'project_id': '35c1e991b92a4ec1bf203196aa32a15f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3d3779ee-6724-4852-a5f5-b55715d9b354'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76630840', 'ctest-vn-61147042'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76630840', 'ctest-policy-allow-all-85063608']], 'subnet_ipam': [{'subnet_cidr': '136.167.183.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-04 20:26:05,757 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'be176ea4-c8e1-4b12-8ccd-90b58031326d', 'name': 'ctest-vn-89918947', 'tenant_id': '35c1e991b92a4ec1bf203196aa32a15f', 'project_id': '35c1e991b92a4ec1bf203196aa32a15f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2adcacfc-84d8-4414-8593-af291c25cd03'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76630840', 'ctest-vn-89918947'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76630840', 'ctest-policy-allow-all-85063608']], 'subnet_ipam': [{'subnet_cidr': '18.221.140.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-04 20:26:05,922 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-04 20:26:06,258 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-04 20:26:06,286 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e67aab7d-26af-4c3f-b4eb-c6f56f4c36d8 2025-09-04 20:26:06,298 - DEBUG - Requesting: http://10.0.0.33:8082/project/35c1e991-b92a-4ec1-bf20-3196aa32a15f 2025-09-04 20:26:06,376 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a0544e25-63ff-42a6-ace7-4e95166cd90d 2025-09-04 20:26:06,386 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a0544e25-63ff-42a6-ace7-4e95166cd90d 2025-09-04 20:26:06,396 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/76dd2e53-b208-4e22-b8e6-d59b34d839b5 2025-09-04 20:26:06,405 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/76dd2e53-b208-4e22-b8e6-d59b34d839b5 2025-09-04 20:26:06,413 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/5ea99f0b-4490-4c71-99b3-daaad9bfa68d 2025-09-04 20:26:06,421 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-04 20:26:06,421 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a0544e25-63ff-42a6-ace7-4e95166cd90d 2025-09-04 20:26:06,430 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/76dd2e53-b208-4e22-b8e6-d59b34d839b5 2025-09-04 20:26:06,443 - INFO - Verified VN network id 11 for VN a0544e25-63ff-42a6-ace7-4e95166cd90d 2025-09-04 20:26:06,444 - INFO - Verifications in API Server for VN ctest-vn-61147042 passed 2025-09-04 20:26:06,444 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a0544e25-63ff-42a6-ace7-4e95166cd90d 2025-09-04 20:26:06,453 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/76dd2e53-b208-4e22-b8e6-d59b34d839b5 2025-09-04 20:26:06,459 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/76dd2e53-b208-4e22-b8e6-d59b34d839b5 2025-09-04 20:26:06,466 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/5ea99f0b-4490-4c71-99b3-daaad9bfa68d 2025-09-04 20:26:06,479 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76630840:ctest-vn-61147042', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76630840', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11552944866610594470', 'uuid-lslong': '12459013296377092365'}, 'enable': 'true', 'created': '2025-09-04T20:26:04', 'last-modified': '2025-09-04T20:26:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.987452'} 2025-09-04 20:26:06,485 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-04 20:26:06,485 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61147042 passed 2025-09-04 20:26:06,485 - DEBUG - ====Verifying policy data for ctest-vn-61147042 in API_Server ====== 2025-09-04 20:26:06,485 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-04 20:26:06,490 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e67aab7d-26af-4c3f-b4eb-c6f56f4c36d8 2025-09-04 20:26:06,501 - DEBUG - Requesting: http://10.0.0.33:8082/project/35c1e991-b92a-4ec1-bf20-3196aa32a15f 2025-09-04 20:26:06,578 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a0544e25-63ff-42a6-ace7-4e95166cd90d 2025-09-04 20:26:06,601 - DEBUG - ==>Verifying data for policy with id: 6db31e65-0783-4883-a567-714d0e76b5e9, fqn: ['default-domain', 'ctest-TestBasicPolicy-76630840', 'ctest-policy-allow-all-85063608'] 2025-09-04 20:26:06,601 - INFO - VN ctest-vn-61147042 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-04 20:26:06,601 - DEBUG - Verifying the vn in opserver 2025-09-04 20:26:06,601 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76630840:ctest-vn-61147042 virtual network link through opserver 10.0.0.33 2025-09-04 20:26:06,601 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-09-04 20:26:06,941 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-09-04 20:26:06,995 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76630840:ctest-vn-61147042', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76630840:ctest-vn-61147042?flat'} 2025-09-04 20:26:06,995 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76630840:ctest-vn-61147042 is found in opserver 2025-09-04 20:26:07,005 - DEBUG - Do not have enough data to verify VN in agent 2025-09-04 20:26:07,010 - DEBUG - VRF ids for VN ctest-vn-61147042: {} 2025-09-04 20:26:07,010 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-04 20:26:07,015 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e67aab7d-26af-4c3f-b4eb-c6f56f4c36d8 2025-09-04 20:26:07,026 - DEBUG - Requesting: http://10.0.0.33:8082/project/35c1e991-b92a-4ec1-bf20-3196aa32a15f 2025-09-04 20:26:07,099 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/be176ea4-c8e1-4b12-8ccd-90b58031326d 2025-09-04 20:26:07,111 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/be176ea4-c8e1-4b12-8ccd-90b58031326d 2025-09-04 20:26:07,120 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4e6ec4dd-c750-41f7-8b04-35b7c65f1367 2025-09-04 20:26:07,128 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4e6ec4dd-c750-41f7-8b04-35b7c65f1367 2025-09-04 20:26:07,135 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/35f52b1b-5f13-458d-9d4a-abf136c14ffc 2025-09-04 20:26:07,141 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-04 20:26:07,141 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/be176ea4-c8e1-4b12-8ccd-90b58031326d 2025-09-04 20:26:07,149 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4e6ec4dd-c750-41f7-8b04-35b7c65f1367 2025-09-04 20:26:07,162 - INFO - Verified VN network id 12 for VN be176ea4-c8e1-4b12-8ccd-90b58031326d 2025-09-04 20:26:07,162 - INFO - Verifications in API Server for VN ctest-vn-89918947 passed 2025-09-04 20:26:07,162 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/be176ea4-c8e1-4b12-8ccd-90b58031326d 2025-09-04 20:26:07,170 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4e6ec4dd-c750-41f7-8b04-35b7c65f1367 2025-09-04 20:26:07,177 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4e6ec4dd-c750-41f7-8b04-35b7c65f1367 2025-09-04 20:26:07,183 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/35f52b1b-5f13-458d-9d4a-abf136c14ffc 2025-09-04 20:26:07,196 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76630840:ctest-vn-89918947', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76630840', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13697538445694552850', 'uuid-lslong': '10145924644749783661'}, 'enable': 'true', 'created': '2025-09-04T20:26:04', 'last-modified': '2025-09-04T20:26:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.464116'} 2025-09-04 20:26:07,201 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-04 20:26:07,201 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89918947 passed 2025-09-04 20:26:07,201 - DEBUG - ====Verifying policy data for ctest-vn-89918947 in API_Server ====== 2025-09-04 20:26:07,201 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-04 20:26:07,206 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e67aab7d-26af-4c3f-b4eb-c6f56f4c36d8 2025-09-04 20:26:07,217 - DEBUG - Requesting: http://10.0.0.33:8082/project/35c1e991-b92a-4ec1-bf20-3196aa32a15f 2025-09-04 20:26:07,295 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/be176ea4-c8e1-4b12-8ccd-90b58031326d 2025-09-04 20:26:07,309 - DEBUG - ==>Verifying data for policy with id: 6db31e65-0783-4883-a567-714d0e76b5e9, fqn: ['default-domain', 'ctest-TestBasicPolicy-76630840', 'ctest-policy-allow-all-85063608'] 2025-09-04 20:26:07,310 - INFO - VN ctest-vn-89918947 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-04 20:26:07,310 - DEBUG - Verifying the vn in opserver 2025-09-04 20:26:07,310 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76630840:ctest-vn-89918947 virtual network link through opserver 10.0.0.33 2025-09-04 20:26:07,310 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-09-04 20:26:07,321 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76630840:ctest-vn-89918947', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76630840:ctest-vn-89918947?flat'} 2025-09-04 20:26:07,321 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76630840:ctest-vn-89918947 is found in opserver 2025-09-04 20:26:07,331 - DEBUG - Do not have enough data to verify VN in agent 2025-09-04 20:26:07,335 - DEBUG - VRF ids for VN ctest-vn-89918947: {} 2025-09-04 20:26:07,391 - DEBUG - Services list from nova: [, , ] 2025-09-04 20:26:08,464 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4020-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4020-1) 2025-09-04 20:26:09,665 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4020-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4020-1) 2025-09-04 20:26:09,665 - INFO - Waiting for VM ctest-TestBasicPolicy-76630840-41796545 to be up.. 2025-09-04 20:26:09,750 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 20:26:14,835 - DEBUG - VM is in ACTIVE state now 2025-09-04 20:26:14,835 - INFO - VM name : ctest-TestBasicPolicy-76630840-41796545 2025-09-04 20:26:14,918 - DEBUG - VM ctest-TestBasicPolicy-76630840-41796545 ID is 5f4a3323-bc94-4f4c-881f-92730340a58d 2025-09-04 20:26:14,938 - DEBUG - VM ctest-TestBasicPolicy-76630840-41796545 launched on Node cn-jenkins-deploy-platform-ansible-os-4020-1 2025-09-04 20:26:15,008 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5f4a3323-bc94-4f4c-881f-92730340a58d 2025-09-04 20:26:15,016 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f8451494-9f26-4854-883b-e4ef5c53838b 2025-09-04 20:26:18,260 - 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 1010ms') 2025-09-04 20:26:18,260 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76630840-41796545 failed! 2025-09-04 20:26:18,314 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-76630840:ctest-vn-61147042 is 136.167.183.65 and allocation pool is NOT set 2025-09-04 20:26:20,371 - 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=7.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.25 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.251/4.212/7.173/2.961 ms') 2025-09-04 20:26:20,371 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76630840-41796545 passed 2025-09-04 20:26:20,518 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 20:26:20,518 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76630840-41796545, IP 136.167.183.67, Port 22 2025-09-04 20:26:20,583 - 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-09-04 20:26:20,663 - DEBUG - VM ctest-TestBasicPolicy-76630840-41796545 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-04 20:26:25,663 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 20:26:25,663 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76630840-41796545, IP 136.167.183.67, Port 22 2025-09-04 20:26:25,817 - DEBUG - VM ctest-TestBasicPolicy-76630840-41796545 is ready for SSH connections 2025-09-04 20:26:25,817 - INFO - Waiting for VM ctest-TestBasicPolicy-76630840-05481849 to be up.. 2025-09-04 20:26:25,889 - DEBUG - VM is in ACTIVE state now 2025-09-04 20:26:25,890 - INFO - VM name : ctest-TestBasicPolicy-76630840-05481849 2025-09-04 20:26:25,961 - DEBUG - VM ctest-TestBasicPolicy-76630840-05481849 ID is 489a98ca-8e7a-4630-9647-84eada079d84 2025-09-04 20:26:25,961 - DEBUG - VM ctest-TestBasicPolicy-76630840-05481849 launched on Node cn-jenkins-deploy-platform-ansible-os-4020-1 2025-09-04 20:26:26,031 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/489a98ca-8e7a-4630-9647-84eada079d84 2025-09-04 20:26:26,039 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1b7bf247-cf8c-4309-984c-5648a1fedb5e 2025-09-04 20:26:27,269 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.473 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.473/1.754/3.036/1.281 ms') 2025-09-04 20:26:27,269 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-76630840-05481849 passed 2025-09-04 20:26:27,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 20:26:27,418 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76630840-05481849, IP 18.221.140.131, Port 22 2025-09-04 20:26:27,573 - DEBUG - VM ctest-TestBasicPolicy-76630840-05481849 is ready for SSH connections 2025-09-04 20:26:27,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 20:26:27,573 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.221.140.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-04 20:26:27,573 - DEBUG - ping -s 56 -c 3 -W 1 18.221.140.131 2025-09-04 20:26:31,661 - DEBUG - PING 18.221.140.131 (18.221.140.131): 56 data bytes 64 bytes from 18.221.140.131: seq=0 ttl=63 time=3.489 ms 64 bytes from 18.221.140.131: seq=1 ttl=63 time=0.873 ms 64 bytes from 18.221.140.131: seq=2 ttl=63 time=1.057 ms --- 18.221.140.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.873/1.806/3.489 ms 2025-09-04 20:26:31,662 - INFO - Ping to IP 18.221.140.131 from VM ctest-TestBasicPolicy-76630840-41796545 passed 2025-09-04 20:26:31,838 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6db31e65-0783-4883-a567-714d0e76b5e9", "href": "http://10.0.0.33:8082/network-policy/6db31e65-0783-4883-a567-714d0e76b5e9"}} 2025-09-04 20:26:31,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 20:26:31,838 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.221.140.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-04 20:26:31,838 - DEBUG - ping -s 56 -c 3 -W 1 18.221.140.131 2025-09-04 20:26:35,068 - DEBUG - PING 18.221.140.131 (18.221.140.131): 56 data bytes --- 18.221.140.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-04 20:26:35,068 - WARNING - Ping to IP 18.221.140.131 from VM ctest-TestBasicPolicy-76630840-41796545 failed 2025-09-04 20:26:35,068 - INFO - Deleting VM ctest-TestBasicPolicy-76630840-05481849 2025-09-04 20:26:35,137 - INFO - Deleting VM ctest-TestBasicPolicy-76630840-41796545 2025-09-04 20:26:35,488 - INFO - Deleted policy ctest-policy-allow-all-85063608 2025-09-04 20:26:35,488 - INFO - Deleting VN ctest-vn-89918947 2025-09-04 20:26:35,522 - DEBUG - VN be176ea4-c8e1-4b12-8ccd-90b58031326d still in use: Unable to complete operation on network be176ea4-c8e1-4b12-8ccd-90b58031326d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cd4b79e4-0a3b-4fb2-9a95-dbc5df1fef19'] 2025-09-04 20:26:35,523 - WARNING - Deleting VN ctest-vn-89918947 failed..Will retry 2025-09-04 20:26:37,616 - DEBUG - Response for deleting network () 2025-09-04 20:26:37,616 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4e6ec4dd-c750-41f7-8b04-35b7c65f1367 2025-09-04 20:26:37,622 - DEBUG - Response Code: 404 2025-09-04 20:26:37,622 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-04 20:26:37,632 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e67aab7d-26af-4c3f-b4eb-c6f56f4c36d8 2025-09-04 20:26:37,687 - DEBUG - Requesting: http://10.0.0.33:8082/project/35c1e991-b92a-4ec1-bf20-3196aa32a15f 2025-09-04 20:26:37,758 - INFO - Validated that VN ctest-vn-89918947 is not found in API Server 2025-09-04 20:26:37,768 - DEBUG - VN ctest-vn-89918947 is not present in Agent 10.0.0.33 2025-09-04 20:26:37,768 - INFO - Validated that VN ctest-vn-89918947 is not in any agent 2025-09-04 20:26:37,781 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89918947 info 2025-09-04 20:26:37,781 - INFO - Deleting VN ctest-vn-61147042 2025-09-04 20:26:37,878 - DEBUG - Response for deleting network () 2025-09-04 20:26:37,878 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/76dd2e53-b208-4e22-b8e6-d59b34d839b5 2025-09-04 20:26:37,886 - DEBUG - Response Code: 404 2025-09-04 20:26:37,886 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-04 20:26:37,891 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e67aab7d-26af-4c3f-b4eb-c6f56f4c36d8 2025-09-04 20:26:37,943 - DEBUG - Requesting: http://10.0.0.33:8082/project/35c1e991-b92a-4ec1-bf20-3196aa32a15f 2025-09-04 20:26:38,011 - INFO - Validated that VN ctest-vn-61147042 is not found in API Server 2025-09-04 20:26:38,020 - DEBUG - VN ctest-vn-61147042 is not present in Agent 10.0.0.33 2025-09-04 20:26:38,020 - INFO - Validated that VN ctest-vn-61147042 is not in any agent 2025-09-04 20:26:38,032 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61147042 info 2025-09-04 20:26:38,287 - DEBUG - No XMPP flaps were noticed during the test 2025-09-04 20:26:38,287 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-09-04 20:26:38,287 - INFO - -------------------------------------------------------------------------------- 2025-09-04 20:26:38,985 - INFO - Deleted project: ctest-TestBasicPolicy-76630840, ID : 35c1e991-b92a-4ec1-bf20-3196aa32a15f