2025-10-27 15:31:10,431 - INFO - Domain Default found not creating 2025-10-27 15:31:10,608 - INFO - Project ctest-TestBasicPolicy-23312926 not found, creating it 2025-10-27 15:31:11,102 - INFO - Created Project:ctest-TestBasicPolicy-23312926, ID : 46407d22-28af-4ce3-be7f-1754fe386688 2025-10-27 15:31:12,589 - INFO - ================================================================================ 2025-10-27 15:31:12,590 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-27 15:31:12,590 - 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-27 15:31:12,848 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-10-27 15:31:12,848 - INFO - Initial checks done. Running the testcase now 2025-10-27 15:31:12,848 - INFO - 2025-10-27 15:31:13,415 - DEBUG - Response for create_network : {'network': {'id': 'd1486e2e-4602-466b-92f5-a6b36d90d9e0', 'name': 'ctest-vn-01476729', 'tenant_id': '46407d2228af4ce3be7f1754fe386688', 'project_id': '46407d2228af4ce3be7f1754fe386688', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23312926', 'ctest-vn-01476729'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 15:31:13,593 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd6c90e0-82fd-4881-96e4-0e8613cb4b2c', 'name': '', 'tenant_id': '46407d2228af4ce3be7f1754fe386688', 'network_id': 'd1486e2e-4602-466b-92f5-a6b36d90d9e0', 'ip_version': 4, 'cidr': '16.39.228.64/26', 'allocation_pools': [{'start': '16.39.228.66', 'end': '16.39.228.126'}], 'gateway_ip': '16.39.228.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.39.228.66', 'tags': [], 'project_id': '46407d2228af4ce3be7f1754fe386688'}} 2025-10-27 15:31:13,613 - INFO - Created VN ctest-vn-01476729 2025-10-27 15:31:13,668 - DEBUG - VN ctest-vn-01476729 UUID is d1486e2e-4602-466b-92f5-a6b36d90d9e0 2025-10-27 15:31:13,987 - DEBUG - Response for create_network : {'network': {'id': 'a8d88ce9-dc6e-4d98-95bd-5f1ff6b93643', 'name': 'ctest-vn-91018852', 'tenant_id': '46407d2228af4ce3be7f1754fe386688', 'project_id': '46407d2228af4ce3be7f1754fe386688', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23312926', 'ctest-vn-91018852'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 15:31:14,212 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a506b738-ea0d-4cff-add3-7e34352d3102', 'name': '', 'tenant_id': '46407d2228af4ce3be7f1754fe386688', 'network_id': 'a8d88ce9-dc6e-4d98-95bd-5f1ff6b93643', 'ip_version': 4, 'cidr': '27.44.121.192/26', 'allocation_pools': [{'start': '27.44.121.194', 'end': '27.44.121.254'}], 'gateway_ip': '27.44.121.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.44.121.194', 'tags': [], 'project_id': '46407d2228af4ce3be7f1754fe386688'}} 2025-10-27 15:31:14,231 - INFO - Created VN ctest-vn-91018852 2025-10-27 15:31:14,284 - DEBUG - VN ctest-vn-91018852 UUID is a8d88ce9-dc6e-4d98-95bd-5f1ff6b93643 2025-10-27 15:31:14,403 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23312926:ctest-vn-01476729, 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-23312926:ctest-vn-91018852, 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-27 15:31:14,718 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd1486e2e-4602-466b-92f5-a6b36d90d9e0', 'name': 'ctest-vn-01476729', 'tenant_id': '46407d2228af4ce3be7f1754fe386688', 'project_id': '46407d2228af4ce3be7f1754fe386688', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dd6c90e0-82fd-4881-96e4-0e8613cb4b2c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23312926', 'ctest-vn-01476729'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23312926', 'ctest-policy-allow-all-61365074']], 'subnet_ipam': [{'subnet_cidr': '16.39.228.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 15:31:14,970 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a8d88ce9-dc6e-4d98-95bd-5f1ff6b93643', 'name': 'ctest-vn-91018852', 'tenant_id': '46407d2228af4ce3be7f1754fe386688', 'project_id': '46407d2228af4ce3be7f1754fe386688', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a506b738-ea0d-4cff-add3-7e34352d3102'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23312926', 'ctest-vn-91018852'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23312926', 'ctest-policy-allow-all-61365074']], 'subnet_ipam': [{'subnet_cidr': '27.44.121.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 15:31:15,128 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-27 15:31:15,425 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-27 15:31:15,456 - DEBUG - Requesting: http://10.0.0.27:8082/domain/d76280c2-653c-4aba-871f-8168b1bbb601 2025-10-27 15:31:15,469 - DEBUG - Requesting: http://10.0.0.27:8082/project/46407d22-28af-4ce3-be7f-1754fe386688 2025-10-27 15:31:15,543 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/d1486e2e-4602-466b-92f5-a6b36d90d9e0 2025-10-27 15:31:15,555 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/d1486e2e-4602-466b-92f5-a6b36d90d9e0 2025-10-27 15:31:15,565 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/fd684e60-4353-48e6-96be-0da7b43d9fbb 2025-10-27 15:31:15,575 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/fd684e60-4353-48e6-96be-0da7b43d9fbb 2025-10-27 15:31:15,583 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/f1525915-8a79-4573-ad03-a27f9b9d38c3 2025-10-27 15:31:15,590 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 15:31:15,590 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/d1486e2e-4602-466b-92f5-a6b36d90d9e0 2025-10-27 15:31:15,601 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/fd684e60-4353-48e6-96be-0da7b43d9fbb 2025-10-27 15:31:15,617 - INFO - Verified VN network id 11 for VN d1486e2e-4602-466b-92f5-a6b36d90d9e0 2025-10-27 15:31:15,617 - INFO - Verifications in API Server for VN ctest-vn-01476729 passed 2025-10-27 15:31:15,618 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/d1486e2e-4602-466b-92f5-a6b36d90d9e0 2025-10-27 15:31:15,631 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/fd684e60-4353-48e6-96be-0da7b43d9fbb 2025-10-27 15:31:15,640 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/fd684e60-4353-48e6-96be-0da7b43d9fbb 2025-10-27 15:31:15,650 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/f1525915-8a79-4573-ad03-a27f9b9d38c3 2025-10-27 15:31:15,663 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23312926:ctest-vn-01476729', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23312926', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15080424497272211051', 'uuid-lslong': '10589553388399155680'}, 'enable': 'true', 'created': '2025-10-27T15:31:13', 'last-modified': '2025-10-27T15:31:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.968648'} 2025-10-27 15:31:15,671 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 15:31:15,671 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01476729 passed 2025-10-27 15:31:15,671 - DEBUG - ====Verifying policy data for ctest-vn-01476729 in API_Server ====== 2025-10-27 15:31:15,671 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-27 15:31:15,678 - DEBUG - Requesting: http://10.0.0.27:8082/domain/d76280c2-653c-4aba-871f-8168b1bbb601 2025-10-27 15:31:15,691 - DEBUG - Requesting: http://10.0.0.27:8082/project/46407d22-28af-4ce3-be7f-1754fe386688 2025-10-27 15:31:15,762 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/d1486e2e-4602-466b-92f5-a6b36d90d9e0 2025-10-27 15:31:15,772 - DEBUG - ==>Verifying data for policy with id: 388c3046-b6e3-4c3a-9fd0-72743ebf7d6e, fqn: ['default-domain', 'ctest-TestBasicPolicy-23312926', 'ctest-policy-allow-all-61365074'] 2025-10-27 15:31:15,772 - INFO - VN ctest-vn-01476729 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 15:31:15,772 - DEBUG - Verifying the vn in opserver 2025-10-27 15:31:15,772 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23312926:ctest-vn-01476729 virtual network link through opserver 10.0.0.27 2025-10-27 15:31:15,772 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-27 15:31:16,079 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-27 15:31:16,146 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23312926:ctest-vn-01476729', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23312926:ctest-vn-01476729?flat'} 2025-10-27 15:31:16,146 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23312926:ctest-vn-01476729 is found in opserver 2025-10-27 15:31:16,156 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 15:31:16,161 - DEBUG - VRF ids for VN ctest-vn-01476729: {} 2025-10-27 15:31:16,161 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-27 15:31:16,167 - DEBUG - Requesting: http://10.0.0.27:8082/domain/d76280c2-653c-4aba-871f-8168b1bbb601 2025-10-27 15:31:16,179 - DEBUG - Requesting: http://10.0.0.27:8082/project/46407d22-28af-4ce3-be7f-1754fe386688 2025-10-27 15:31:16,255 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a8d88ce9-dc6e-4d98-95bd-5f1ff6b93643 2025-10-27 15:31:16,270 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a8d88ce9-dc6e-4d98-95bd-5f1ff6b93643 2025-10-27 15:31:16,281 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0482b132-2358-47c0-ac50-946c33449bce 2025-10-27 15:31:16,289 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0482b132-2358-47c0-ac50-946c33449bce 2025-10-27 15:31:16,297 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/8b1edcf0-61dc-473e-aa2a-989447bbd2cd 2025-10-27 15:31:16,306 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 15:31:16,306 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a8d88ce9-dc6e-4d98-95bd-5f1ff6b93643 2025-10-27 15:31:16,319 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0482b132-2358-47c0-ac50-946c33449bce 2025-10-27 15:31:16,344 - INFO - Verified VN network id 12 for VN a8d88ce9-dc6e-4d98-95bd-5f1ff6b93643 2025-10-27 15:31:16,344 - INFO - Verifications in API Server for VN ctest-vn-91018852 passed 2025-10-27 15:31:16,344 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a8d88ce9-dc6e-4d98-95bd-5f1ff6b93643 2025-10-27 15:31:16,356 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0482b132-2358-47c0-ac50-946c33449bce 2025-10-27 15:31:16,363 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0482b132-2358-47c0-ac50-946c33449bce 2025-10-27 15:31:16,371 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/8b1edcf0-61dc-473e-aa2a-989447bbd2cd 2025-10-27 15:31:16,384 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23312926:ctest-vn-91018852', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23312926', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12166629329394879896', 'uuid-lslong': '10789884873137534531'}, 'enable': 'true', 'created': '2025-10-27T15:31:13', 'last-modified': '2025-10-27T15:31:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.444020'} 2025-10-27 15:31:16,390 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 15:31:16,390 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91018852 passed 2025-10-27 15:31:16,390 - DEBUG - ====Verifying policy data for ctest-vn-91018852 in API_Server ====== 2025-10-27 15:31:16,390 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-27 15:31:16,396 - DEBUG - Requesting: http://10.0.0.27:8082/domain/d76280c2-653c-4aba-871f-8168b1bbb601 2025-10-27 15:31:16,408 - DEBUG - Requesting: http://10.0.0.27:8082/project/46407d22-28af-4ce3-be7f-1754fe386688 2025-10-27 15:31:16,482 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a8d88ce9-dc6e-4d98-95bd-5f1ff6b93643 2025-10-27 15:31:16,493 - DEBUG - ==>Verifying data for policy with id: 388c3046-b6e3-4c3a-9fd0-72743ebf7d6e, fqn: ['default-domain', 'ctest-TestBasicPolicy-23312926', 'ctest-policy-allow-all-61365074'] 2025-10-27 15:31:16,493 - INFO - VN ctest-vn-91018852 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 15:31:16,493 - DEBUG - Verifying the vn in opserver 2025-10-27 15:31:16,493 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23312926:ctest-vn-91018852 virtual network link through opserver 10.0.0.27 2025-10-27 15:31:16,493 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-27 15:31:16,506 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23312926:ctest-vn-91018852', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23312926:ctest-vn-91018852?flat'} 2025-10-27 15:31:16,506 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23312926:ctest-vn-91018852 is found in opserver 2025-10-27 15:31:16,521 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 15:31:16,530 - DEBUG - VRF ids for VN ctest-vn-91018852: {} 2025-10-27 15:31:16,598 - DEBUG - Services list from nova: [, , ] 2025-10-27 15:31:17,685 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4508-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4508-1) 2025-10-27 15:31:18,915 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4508-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4508-1) 2025-10-27 15:31:18,915 - INFO - Waiting for VM ctest-TestBasicPolicy-23312926-76259809 to be up.. 2025-10-27 15:31:19,010 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 15:31:24,103 - DEBUG - VM is in ACTIVE state now 2025-10-27 15:31:24,104 - INFO - VM name : ctest-TestBasicPolicy-23312926-76259809 2025-10-27 15:31:24,194 - DEBUG - VM ctest-TestBasicPolicy-23312926-76259809 ID is c87d9de8-9071-43ee-b7c1-9d5d367debac 2025-10-27 15:31:24,218 - DEBUG - VM ctest-TestBasicPolicy-23312926-76259809 launched on Node cn-jenkins-deploy-platform-ansible-os-4508-1 2025-10-27 15:31:24,318 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/c87d9de8-9071-43ee-b7c1-9d5d367debac 2025-10-27 15:31:24,327 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/2673cdde-c14d-4781-9a0a-caab5560874d 2025-10-27 15:31:27,534 - 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 1009ms') 2025-10-27 15:31:27,534 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23312926-76259809 failed! 2025-10-27 15:31:27,592 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23312926:ctest-vn-01476729 is 16.39.228.65 and allocation pool is NOT set 2025-10-27 15:31:29,653 - 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=10.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.54 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 = 2.544/6.349/10.155/3.805 ms') 2025-10-27 15:31:29,653 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23312926-76259809 passed 2025-10-27 15:31:29,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:31:29,804 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23312926-76259809, IP 16.39.228.67, Port 22 2025-10-27 15:31:29,871 - 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-27 15:31:29,964 - DEBUG - VM ctest-TestBasicPolicy-23312926-76259809 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 15:31:34,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:31:34,966 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23312926-76259809, IP 16.39.228.67, Port 22 2025-10-27 15:31:35,123 - DEBUG - VM ctest-TestBasicPolicy-23312926-76259809 is ready for SSH connections 2025-10-27 15:31:35,123 - INFO - Waiting for VM ctest-TestBasicPolicy-23312926-75734197 to be up.. 2025-10-27 15:31:35,205 - DEBUG - VM is in ACTIVE state now 2025-10-27 15:31:35,205 - INFO - VM name : ctest-TestBasicPolicy-23312926-75734197 2025-10-27 15:31:35,286 - DEBUG - VM ctest-TestBasicPolicy-23312926-75734197 ID is 20622a0a-23b6-431a-842d-de2954a7417d 2025-10-27 15:31:35,286 - DEBUG - VM ctest-TestBasicPolicy-23312926-75734197 launched on Node cn-jenkins-deploy-platform-ansible-os-4508-1 2025-10-27 15:31:35,371 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/20622a0a-23b6-431a-842d-de2954a7417d 2025-10-27 15:31:35,380 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/952122b0-105d-4a15-95fc-496e4fef16f6 2025-10-27 15:31:36,624 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.520 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.520/2.142/3.765/1.622 ms') 2025-10-27 15:31:36,624 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-23312926-75734197 passed 2025-10-27 15:31:36,772 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:31:36,772 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23312926-75734197, IP 27.44.121.195, Port 22 2025-10-27 15:31:36,939 - DEBUG - VM ctest-TestBasicPolicy-23312926-75734197 is ready for SSH connections 2025-10-27 15:31:36,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:31:36,939 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.44.121.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-27 15:31:36,939 - DEBUG - ping -s 56 -c 3 -W 1 27.44.121.195 2025-10-27 15:31:40,999 - DEBUG - PING 27.44.121.195 (27.44.121.195): 56 data bytes 64 bytes from 27.44.121.195: seq=0 ttl=63 time=4.947 ms 64 bytes from 27.44.121.195: seq=1 ttl=63 time=1.305 ms 64 bytes from 27.44.121.195: seq=2 ttl=63 time=1.111 ms --- 27.44.121.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.111/2.454/4.947 ms 2025-10-27 15:31:40,999 - INFO - Ping to IP 27.44.121.195 from VM ctest-TestBasicPolicy-23312926-76259809 passed 2025-10-27 15:31:41,179 - DEBUG - Policy Update Response {"network-policy": {"uuid": "388c3046-b6e3-4c3a-9fd0-72743ebf7d6e", "href": "http://10.0.0.27:8082/network-policy/388c3046-b6e3-4c3a-9fd0-72743ebf7d6e"}} 2025-10-27 15:31:41,180 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:31:41,180 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.44.121.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-27 15:31:41,180 - DEBUG - ping -s 56 -c 3 -W 1 27.44.121.195 2025-10-27 15:31:44,413 - DEBUG - PING 27.44.121.195 (27.44.121.195): 56 data bytes --- 27.44.121.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 15:31:44,413 - WARNING - Ping to IP 27.44.121.195 from VM ctest-TestBasicPolicy-23312926-76259809 failed 2025-10-27 15:31:44,413 - INFO - Deleting VM ctest-TestBasicPolicy-23312926-75734197 2025-10-27 15:31:44,491 - INFO - Deleting VM ctest-TestBasicPolicy-23312926-76259809 2025-10-27 15:31:44,909 - INFO - Deleted policy ctest-policy-allow-all-61365074 2025-10-27 15:31:44,909 - INFO - Deleting VN ctest-vn-91018852 2025-10-27 15:31:44,954 - DEBUG - VN a8d88ce9-dc6e-4d98-95bd-5f1ff6b93643 still in use: Unable to complete operation on network a8d88ce9-dc6e-4d98-95bd-5f1ff6b93643. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cceb8940-e1a2-44b2-a404-8a699c05bdb5'] 2025-10-27 15:31:44,954 - WARNING - Deleting VN ctest-vn-91018852 failed..Will retry 2025-10-27 15:31:47,069 - DEBUG - Response for deleting network () 2025-10-27 15:31:47,069 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0482b132-2358-47c0-ac50-946c33449bce 2025-10-27 15:31:47,076 - DEBUG - Response Code: 404 2025-10-27 15:31:47,077 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-27 15:31:47,084 - DEBUG - Requesting: http://10.0.0.27:8082/domain/d76280c2-653c-4aba-871f-8168b1bbb601 2025-10-27 15:31:47,143 - DEBUG - Requesting: http://10.0.0.27:8082/project/46407d22-28af-4ce3-be7f-1754fe386688 2025-10-27 15:31:47,218 - INFO - Validated that VN ctest-vn-91018852 is not found in API Server 2025-10-27 15:31:47,228 - DEBUG - VN ctest-vn-91018852 is not present in Agent 10.0.0.27 2025-10-27 15:31:47,228 - INFO - Validated that VN ctest-vn-91018852 is not in any agent 2025-10-27 15:31:47,241 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91018852 info 2025-10-27 15:31:47,242 - INFO - Deleting VN ctest-vn-01476729 2025-10-27 15:31:47,348 - DEBUG - Response for deleting network () 2025-10-27 15:31:47,348 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/fd684e60-4353-48e6-96be-0da7b43d9fbb 2025-10-27 15:31:47,356 - DEBUG - Response Code: 404 2025-10-27 15:31:47,357 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-27 15:31:47,362 - DEBUG - Requesting: http://10.0.0.27:8082/domain/d76280c2-653c-4aba-871f-8168b1bbb601 2025-10-27 15:31:47,418 - DEBUG - Requesting: http://10.0.0.27:8082/project/46407d22-28af-4ce3-be7f-1754fe386688 2025-10-27 15:31:47,492 - INFO - Validated that VN ctest-vn-01476729 is not found in API Server 2025-10-27 15:31:47,502 - DEBUG - VN ctest-vn-01476729 is not present in Agent 10.0.0.27 2025-10-27 15:31:47,502 - INFO - Validated that VN ctest-vn-01476729 is not in any agent 2025-10-27 15:31:47,516 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01476729 info 2025-10-27 15:31:47,777 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 15:31:47,778 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-10-27 15:31:47,778 - INFO - -------------------------------------------------------------------------------- 2025-10-27 15:31:48,496 - INFO - Deleted project: ctest-TestBasicPolicy-23312926, ID : 46407d22-28af-4ce3-be7f-1754fe386688