2025-10-23 16:35:33,471 - INFO - Domain Default found not creating 2025-10-23 16:35:33,637 - INFO - Project ctest-TestBasicPolicy-98241888 not found, creating it 2025-10-23 16:35:34,129 - INFO - Created Project:ctest-TestBasicPolicy-98241888, ID : db1f6f24-725b-4290-bab7-9e9e571337f7 2025-10-23 16:35:35,718 - INFO - ================================================================================ 2025-10-23 16:35:35,718 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-23 16:35:35,718 - 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-23 16:35:35,983 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-10-23 16:35:35,983 - INFO - Initial checks done. Running the testcase now 2025-10-23 16:35:35,983 - INFO - 2025-10-23 16:35:36,578 - DEBUG - Response for create_network : {'network': {'id': '8489739f-eb96-4553-b967-c72e6e50a7e2', 'name': 'ctest-vn-39719021', 'tenant_id': 'db1f6f24725b4290bab79e9e571337f7', 'project_id': 'db1f6f24725b4290bab79e9e571337f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98241888', 'ctest-vn-39719021'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 16:35:36,749 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b54ba74-4c88-4978-98ba-32a2ccba6953', 'name': '', 'tenant_id': 'db1f6f24725b4290bab79e9e571337f7', 'network_id': '8489739f-eb96-4553-b967-c72e6e50a7e2', 'ip_version': 4, 'cidr': '52.157.98.128/26', 'allocation_pools': [{'start': '52.157.98.130', 'end': '52.157.98.190'}], 'gateway_ip': '52.157.98.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.157.98.130', 'tags': [], 'project_id': 'db1f6f24725b4290bab79e9e571337f7'}} 2025-10-23 16:35:36,768 - INFO - Created VN ctest-vn-39719021 2025-10-23 16:35:36,822 - DEBUG - VN ctest-vn-39719021 UUID is 8489739f-eb96-4553-b967-c72e6e50a7e2 2025-10-23 16:35:37,107 - DEBUG - Response for create_network : {'network': {'id': '0f07ebee-89ca-4a18-8f14-0c5624dc08dd', 'name': 'ctest-vn-06150756', 'tenant_id': 'db1f6f24725b4290bab79e9e571337f7', 'project_id': 'db1f6f24725b4290bab79e9e571337f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98241888', 'ctest-vn-06150756'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 16:35:37,315 - DEBUG - Response for create_subnet : {'subnet': {'id': '3acf170a-afbe-4041-a563-f6b787fe01c4', 'name': '', 'tenant_id': 'db1f6f24725b4290bab79e9e571337f7', 'network_id': '0f07ebee-89ca-4a18-8f14-0c5624dc08dd', 'ip_version': 4, 'cidr': '158.184.112.128/26', 'allocation_pools': [{'start': '158.184.112.130', 'end': '158.184.112.190'}], 'gateway_ip': '158.184.112.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.184.112.130', 'tags': [], 'project_id': 'db1f6f24725b4290bab79e9e571337f7'}} 2025-10-23 16:35:37,335 - INFO - Created VN ctest-vn-06150756 2025-10-23 16:35:37,386 - DEBUG - VN ctest-vn-06150756 UUID is 0f07ebee-89ca-4a18-8f14-0c5624dc08dd 2025-10-23 16:35:37,504 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-98241888:ctest-vn-39719021, 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-98241888:ctest-vn-06150756, 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-23 16:35:37,797 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8489739f-eb96-4553-b967-c72e6e50a7e2', 'name': 'ctest-vn-39719021', 'tenant_id': 'db1f6f24725b4290bab79e9e571337f7', 'project_id': 'db1f6f24725b4290bab79e9e571337f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8b54ba74-4c88-4978-98ba-32a2ccba6953'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98241888', 'ctest-vn-39719021'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98241888', 'ctest-policy-allow-all-78981338']], 'subnet_ipam': [{'subnet_cidr': '52.157.98.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 16:35:38,028 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0f07ebee-89ca-4a18-8f14-0c5624dc08dd', 'name': 'ctest-vn-06150756', 'tenant_id': 'db1f6f24725b4290bab79e9e571337f7', 'project_id': 'db1f6f24725b4290bab79e9e571337f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3acf170a-afbe-4041-a563-f6b787fe01c4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98241888', 'ctest-vn-06150756'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98241888', 'ctest-policy-allow-all-78981338']], 'subnet_ipam': [{'subnet_cidr': '158.184.112.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 16:35:38,178 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-23 16:35:38,520 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-23 16:35:38,549 - DEBUG - Requesting: http://10.0.0.27:8082/domain/e3f52d12-6e28-4b9a-b260-e4b32965614c 2025-10-23 16:35:38,561 - DEBUG - Requesting: http://10.0.0.27:8082/project/db1f6f24-725b-4290-bab7-9e9e571337f7 2025-10-23 16:35:38,632 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/8489739f-eb96-4553-b967-c72e6e50a7e2 2025-10-23 16:35:38,643 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/8489739f-eb96-4553-b967-c72e6e50a7e2 2025-10-23 16:35:38,652 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bb6f154f-530c-4c2c-9d6e-a6e04b9c4b14 2025-10-23 16:35:38,659 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bb6f154f-530c-4c2c-9d6e-a6e04b9c4b14 2025-10-23 16:35:38,666 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/111f1541-32b7-4572-817d-70153a464c99 2025-10-23 16:35:38,672 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 16:35:38,672 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/8489739f-eb96-4553-b967-c72e6e50a7e2 2025-10-23 16:35:38,680 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bb6f154f-530c-4c2c-9d6e-a6e04b9c4b14 2025-10-23 16:35:38,692 - INFO - Verified VN network id 11 for VN 8489739f-eb96-4553-b967-c72e6e50a7e2 2025-10-23 16:35:38,692 - INFO - Verifications in API Server for VN ctest-vn-39719021 passed 2025-10-23 16:35:38,692 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/8489739f-eb96-4553-b967-c72e6e50a7e2 2025-10-23 16:35:38,700 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bb6f154f-530c-4c2c-9d6e-a6e04b9c4b14 2025-10-23 16:35:38,706 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bb6f154f-530c-4c2c-9d6e-a6e04b9c4b14 2025-10-23 16:35:38,713 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/111f1541-32b7-4572-817d-70153a464c99 2025-10-23 16:35:38,725 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98241888:ctest-vn-39719021', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98241888', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9550291615505335635', 'uuid-lslong': '13359865821851068386'}, 'enable': 'true', 'created': '2025-10-23T16:35:36', 'last-modified': '2025-10-23T16:35:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.950583'} 2025-10-23 16:35:38,733 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 16:35:38,734 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39719021 passed 2025-10-23 16:35:38,734 - DEBUG - ====Verifying policy data for ctest-vn-39719021 in API_Server ====== 2025-10-23 16:35:38,734 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-23 16:35:38,740 - DEBUG - Requesting: http://10.0.0.27:8082/domain/e3f52d12-6e28-4b9a-b260-e4b32965614c 2025-10-23 16:35:38,752 - DEBUG - Requesting: http://10.0.0.27:8082/project/db1f6f24-725b-4290-bab7-9e9e571337f7 2025-10-23 16:35:38,824 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/8489739f-eb96-4553-b967-c72e6e50a7e2 2025-10-23 16:35:38,832 - DEBUG - ==>Verifying data for policy with id: f0c23b3b-7593-46e3-b1ba-98fcfb88c3c3, fqn: ['default-domain', 'ctest-TestBasicPolicy-98241888', 'ctest-policy-allow-all-78981338'] 2025-10-23 16:35:38,832 - INFO - VN ctest-vn-39719021 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 16:35:38,832 - DEBUG - Verifying the vn in opserver 2025-10-23 16:35:38,832 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98241888:ctest-vn-39719021 virtual network link through opserver 10.0.0.27 2025-10-23 16:35:38,832 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-23 16:35:39,165 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-23 16:35:39,228 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98241888:ctest-vn-39719021', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98241888:ctest-vn-39719021?flat'} 2025-10-23 16:35:39,228 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98241888:ctest-vn-39719021 is found in opserver 2025-10-23 16:35:39,238 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 16:35:39,242 - DEBUG - VRF ids for VN ctest-vn-39719021: {} 2025-10-23 16:35:39,242 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-23 16:35:39,248 - DEBUG - Requesting: http://10.0.0.27:8082/domain/e3f52d12-6e28-4b9a-b260-e4b32965614c 2025-10-23 16:35:39,260 - DEBUG - Requesting: http://10.0.0.27:8082/project/db1f6f24-725b-4290-bab7-9e9e571337f7 2025-10-23 16:35:39,329 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/0f07ebee-89ca-4a18-8f14-0c5624dc08dd 2025-10-23 16:35:39,340 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/0f07ebee-89ca-4a18-8f14-0c5624dc08dd 2025-10-23 16:35:39,349 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2b9b6808-44ec-4794-b389-a81ef12e9ea5 2025-10-23 16:35:39,357 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2b9b6808-44ec-4794-b389-a81ef12e9ea5 2025-10-23 16:35:39,364 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/dbeb6fc9-398a-4eeb-84a6-b42440fc482b 2025-10-23 16:35:39,371 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 16:35:39,371 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/0f07ebee-89ca-4a18-8f14-0c5624dc08dd 2025-10-23 16:35:39,381 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2b9b6808-44ec-4794-b389-a81ef12e9ea5 2025-10-23 16:35:39,397 - INFO - Verified VN network id 12 for VN 0f07ebee-89ca-4a18-8f14-0c5624dc08dd 2025-10-23 16:35:39,397 - INFO - Verifications in API Server for VN ctest-vn-06150756 passed 2025-10-23 16:35:39,397 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/0f07ebee-89ca-4a18-8f14-0c5624dc08dd 2025-10-23 16:35:39,406 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2b9b6808-44ec-4794-b389-a81ef12e9ea5 2025-10-23 16:35:39,412 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2b9b6808-44ec-4794-b389-a81ef12e9ea5 2025-10-23 16:35:39,419 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/dbeb6fc9-398a-4eeb-84a6-b42440fc482b 2025-10-23 16:35:39,430 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98241888:ctest-vn-06150756', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98241888', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1083093645152373272', 'uuid-lslong': '10309879011083028701'}, 'enable': 'true', 'created': '2025-10-23T16:35:37', 'last-modified': '2025-10-23T16:35:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.429525'} 2025-10-23 16:35:39,435 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 16:35:39,436 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06150756 passed 2025-10-23 16:35:39,436 - DEBUG - ====Verifying policy data for ctest-vn-06150756 in API_Server ====== 2025-10-23 16:35:39,436 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-23 16:35:39,441 - DEBUG - Requesting: http://10.0.0.27:8082/domain/e3f52d12-6e28-4b9a-b260-e4b32965614c 2025-10-23 16:35:39,451 - DEBUG - Requesting: http://10.0.0.27:8082/project/db1f6f24-725b-4290-bab7-9e9e571337f7 2025-10-23 16:35:39,523 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/0f07ebee-89ca-4a18-8f14-0c5624dc08dd 2025-10-23 16:35:39,532 - DEBUG - ==>Verifying data for policy with id: f0c23b3b-7593-46e3-b1ba-98fcfb88c3c3, fqn: ['default-domain', 'ctest-TestBasicPolicy-98241888', 'ctest-policy-allow-all-78981338'] 2025-10-23 16:35:39,532 - INFO - VN ctest-vn-06150756 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 16:35:39,532 - DEBUG - Verifying the vn in opserver 2025-10-23 16:35:39,532 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98241888:ctest-vn-06150756 virtual network link through opserver 10.0.0.27 2025-10-23 16:35:39,533 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-23 16:35:39,543 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98241888:ctest-vn-06150756', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98241888:ctest-vn-06150756?flat'} 2025-10-23 16:35:39,543 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98241888:ctest-vn-06150756 is found in opserver 2025-10-23 16:35:39,553 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 16:35:39,558 - DEBUG - VRF ids for VN ctest-vn-06150756: {} 2025-10-23 16:35:39,615 - DEBUG - Services list from nova: [, , ] 2025-10-23 16:35:40,733 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4463-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4463-1) 2025-10-23 16:35:41,953 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4463-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4463-1) 2025-10-23 16:35:41,954 - INFO - Waiting for VM ctest-TestBasicPolicy-98241888-16060040 to be up.. 2025-10-23 16:35:42,068 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 16:35:47,146 - DEBUG - VM is in ACTIVE state now 2025-10-23 16:35:47,146 - INFO - VM name : ctest-TestBasicPolicy-98241888-16060040 2025-10-23 16:35:47,222 - DEBUG - VM ctest-TestBasicPolicy-98241888-16060040 ID is c79ebd96-e545-4d8a-99df-d6e379e7c377 2025-10-23 16:35:47,242 - DEBUG - VM ctest-TestBasicPolicy-98241888-16060040 launched on Node cn-jenkins-deploy-platform-ansible-os-4463-1 2025-10-23 16:35:47,320 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/c79ebd96-e545-4d8a-99df-d6e379e7c377 2025-10-23 16:35:47,330 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/6a0fe201-e3b8-46ce-b59a-149b46453cb5 2025-10-23 16:35:50,577 - 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 1006ms') 2025-10-23 16:35:50,577 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98241888-16060040 failed! 2025-10-23 16:35:50,634 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-98241888:ctest-vn-39719021 is 52.157.98.129 and allocation pool is NOT set 2025-10-23 16:35:52,696 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.75 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.752/4.434/7.117/2.682 ms') 2025-10-23 16:35:52,696 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98241888-16060040 passed 2025-10-23 16:35:52,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 16:35:52,850 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98241888-16060040, IP 52.157.98.131, Port 22 2025-10-23 16:35:52,916 - 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-23 16:35:53,008 - DEBUG - VM ctest-TestBasicPolicy-98241888-16060040 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-23 16:35:58,009 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 16:35:58,009 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98241888-16060040, IP 52.157.98.131, Port 22 2025-10-23 16:35:58,180 - DEBUG - VM ctest-TestBasicPolicy-98241888-16060040 is ready for SSH connections 2025-10-23 16:35:58,180 - INFO - Waiting for VM ctest-TestBasicPolicy-98241888-88459153 to be up.. 2025-10-23 16:35:58,256 - DEBUG - VM is in ACTIVE state now 2025-10-23 16:35:58,256 - INFO - VM name : ctest-TestBasicPolicy-98241888-88459153 2025-10-23 16:35:58,336 - DEBUG - VM ctest-TestBasicPolicy-98241888-88459153 ID is 94af0635-d863-4f0f-9375-9cc01a5c04fd 2025-10-23 16:35:58,336 - DEBUG - VM ctest-TestBasicPolicy-98241888-88459153 launched on Node cn-jenkins-deploy-platform-ansible-os-4463-1 2025-10-23 16:35:58,422 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/94af0635-d863-4f0f-9375-9cc01a5c04fd 2025-10-23 16:35:58,431 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/78275ba8-0950-48bf-bc18-c71cf319819b 2025-10-23 16:35:59,664 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.426 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.426/1.868/3.310/1.442 ms') 2025-10-23 16:35:59,664 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-98241888-88459153 passed 2025-10-23 16:35:59,814 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 16:35:59,814 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98241888-88459153, IP 158.184.112.131, Port 22 2025-10-23 16:35:59,970 - DEBUG - VM ctest-TestBasicPolicy-98241888-88459153 is ready for SSH connections 2025-10-23 16:35:59,971 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 16:35:59,971 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.184.112.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-23 16:35:59,971 - DEBUG - ping -s 56 -c 3 -W 1 158.184.112.131 2025-10-23 16:36:04,113 - DEBUG - PING 158.184.112.131 (158.184.112.131): 56 data bytes 64 bytes from 158.184.112.131: seq=0 ttl=63 time=4.303 ms 64 bytes from 158.184.112.131: seq=1 ttl=63 time=1.571 ms 64 bytes from 158.184.112.131: seq=2 ttl=63 time=1.447 ms --- 158.184.112.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.447/2.440/4.303 ms 2025-10-23 16:36:04,113 - INFO - Ping to IP 158.184.112.131 from VM ctest-TestBasicPolicy-98241888-16060040 passed 2025-10-23 16:36:04,314 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f0c23b3b-7593-46e3-b1ba-98fcfb88c3c3", "href": "http://10.0.0.27:8082/network-policy/f0c23b3b-7593-46e3-b1ba-98fcfb88c3c3"}} 2025-10-23 16:36:04,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 16:36:04,314 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.184.112.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-23 16:36:04,314 - DEBUG - ping -s 56 -c 3 -W 1 158.184.112.131 2025-10-23 16:36:07,564 - DEBUG - PING 158.184.112.131 (158.184.112.131): 56 data bytes --- 158.184.112.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 16:36:07,565 - WARNING - Ping to IP 158.184.112.131 from VM ctest-TestBasicPolicy-98241888-16060040 failed 2025-10-23 16:36:07,565 - INFO - Deleting VM ctest-TestBasicPolicy-98241888-88459153 2025-10-23 16:36:07,645 - INFO - Deleting VM ctest-TestBasicPolicy-98241888-16060040 2025-10-23 16:36:08,037 - INFO - Deleted policy ctest-policy-allow-all-78981338 2025-10-23 16:36:08,037 - INFO - Deleting VN ctest-vn-06150756 2025-10-23 16:36:08,075 - DEBUG - VN 0f07ebee-89ca-4a18-8f14-0c5624dc08dd still in use: Unable to complete operation on network 0f07ebee-89ca-4a18-8f14-0c5624dc08dd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-60d82c48-f01f-4821-8dcd-739e87587e3c'] 2025-10-23 16:36:08,075 - WARNING - Deleting VN ctest-vn-06150756 failed..Will retry 2025-10-23 16:36:10,185 - DEBUG - Response for deleting network () 2025-10-23 16:36:10,185 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2b9b6808-44ec-4794-b389-a81ef12e9ea5 2025-10-23 16:36:10,191 - DEBUG - Response Code: 404 2025-10-23 16:36:10,192 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-23 16:36:10,197 - DEBUG - Requesting: http://10.0.0.27:8082/domain/e3f52d12-6e28-4b9a-b260-e4b32965614c 2025-10-23 16:36:10,252 - DEBUG - Requesting: http://10.0.0.27:8082/project/db1f6f24-725b-4290-bab7-9e9e571337f7 2025-10-23 16:36:10,327 - INFO - Validated that VN ctest-vn-06150756 is not found in API Server 2025-10-23 16:36:10,338 - DEBUG - VN ctest-vn-06150756 is not present in Agent 10.0.0.27 2025-10-23 16:36:10,338 - INFO - Validated that VN ctest-vn-06150756 is not in any agent 2025-10-23 16:36:10,353 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06150756 info 2025-10-23 16:36:10,353 - INFO - Deleting VN ctest-vn-39719021 2025-10-23 16:36:10,464 - DEBUG - Response for deleting network () 2025-10-23 16:36:10,464 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bb6f154f-530c-4c2c-9d6e-a6e04b9c4b14 2025-10-23 16:36:10,471 - DEBUG - Response Code: 404 2025-10-23 16:36:10,471 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-23 16:36:10,476 - DEBUG - Requesting: http://10.0.0.27:8082/domain/e3f52d12-6e28-4b9a-b260-e4b32965614c 2025-10-23 16:36:10,527 - DEBUG - Requesting: http://10.0.0.27:8082/project/db1f6f24-725b-4290-bab7-9e9e571337f7 2025-10-23 16:36:10,598 - INFO - Validated that VN ctest-vn-39719021 is not found in API Server 2025-10-23 16:36:10,607 - DEBUG - VN ctest-vn-39719021 is not present in Agent 10.0.0.27 2025-10-23 16:36:10,607 - INFO - Validated that VN ctest-vn-39719021 is not in any agent 2025-10-23 16:36:10,623 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39719021 info 2025-10-23 16:36:10,875 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 16:36:10,876 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-10-23 16:36:10,876 - INFO - -------------------------------------------------------------------------------- 2025-10-23 16:36:11,588 - INFO - Deleted project: ctest-TestBasicPolicy-98241888, ID : db1f6f24-725b-4290-bab7-9e9e571337f7