2025-09-24 21:54:57,092 - INFO - Domain Default found not creating 2025-09-24 21:54:57,266 - INFO - Project ctest-TestBasicPolicy-72438343 not found, creating it 2025-09-24 21:54:57,754 - INFO - Created Project:ctest-TestBasicPolicy-72438343, ID : c7e73f49-a8f2-4ecd-b562-26c238076503 2025-09-24 21:54:59,253 - INFO - ================================================================================ 2025-09-24 21:54:59,253 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-24 21:54:59,253 - 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-24 21:54:59,512 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-09-24 21:54:59,512 - INFO - Initial checks done. Running the testcase now 2025-09-24 21:54:59,512 - INFO - 2025-09-24 21:55:00,112 - DEBUG - Response for create_network : {'network': {'id': 'b8739ea7-a778-46ce-ad53-7de8d90e342f', 'name': 'ctest-vn-77913007', 'tenant_id': 'c7e73f49a8f24ecdb56226c238076503', 'project_id': 'c7e73f49a8f24ecdb56226c238076503', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72438343', 'ctest-vn-77913007'], 'port_security_enabled': True, 'description': ''}} 2025-09-24 21:55:00,305 - DEBUG - Response for create_subnet : {'subnet': {'id': '942e3f84-2988-4586-a1ad-31c8b6fddf7c', 'name': '', 'tenant_id': 'c7e73f49a8f24ecdb56226c238076503', 'network_id': 'b8739ea7-a778-46ce-ad53-7de8d90e342f', 'ip_version': 4, 'cidr': '86.38.169.192/26', 'allocation_pools': [{'start': '86.38.169.194', 'end': '86.38.169.254'}], 'gateway_ip': '86.38.169.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.38.169.194', 'tags': [], 'project_id': 'c7e73f49a8f24ecdb56226c238076503'}} 2025-09-24 21:55:00,327 - INFO - Created VN ctest-vn-77913007 2025-09-24 21:55:00,382 - DEBUG - VN ctest-vn-77913007 UUID is b8739ea7-a778-46ce-ad53-7de8d90e342f 2025-09-24 21:55:00,710 - DEBUG - Response for create_network : {'network': {'id': '9e937d28-f225-4418-9619-639a389efe3c', 'name': 'ctest-vn-44735312', 'tenant_id': 'c7e73f49a8f24ecdb56226c238076503', 'project_id': 'c7e73f49a8f24ecdb56226c238076503', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72438343', 'ctest-vn-44735312'], 'port_security_enabled': True, 'description': ''}} 2025-09-24 21:55:00,908 - DEBUG - Response for create_subnet : {'subnet': {'id': '8fdaf516-7eb8-4cfc-b373-a89c03c26a64', 'name': '', 'tenant_id': 'c7e73f49a8f24ecdb56226c238076503', 'network_id': '9e937d28-f225-4418-9619-639a389efe3c', 'ip_version': 4, 'cidr': '60.110.252.64/26', 'allocation_pools': [{'start': '60.110.252.66', 'end': '60.110.252.126'}], 'gateway_ip': '60.110.252.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.110.252.66', 'tags': [], 'project_id': 'c7e73f49a8f24ecdb56226c238076503'}} 2025-09-24 21:55:00,928 - INFO - Created VN ctest-vn-44735312 2025-09-24 21:55:00,990 - DEBUG - VN ctest-vn-44735312 UUID is 9e937d28-f225-4418-9619-639a389efe3c 2025-09-24 21:55:01,128 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-72438343:ctest-vn-77913007, 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-72438343:ctest-vn-44735312, 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-24 21:55:01,443 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b8739ea7-a778-46ce-ad53-7de8d90e342f', 'name': 'ctest-vn-77913007', 'tenant_id': 'c7e73f49a8f24ecdb56226c238076503', 'project_id': 'c7e73f49a8f24ecdb56226c238076503', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['942e3f84-2988-4586-a1ad-31c8b6fddf7c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72438343', 'ctest-vn-77913007'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72438343', 'ctest-policy-allow-all-06713734']], 'subnet_ipam': [{'subnet_cidr': '86.38.169.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-24 21:55:01,700 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9e937d28-f225-4418-9619-639a389efe3c', 'name': 'ctest-vn-44735312', 'tenant_id': 'c7e73f49a8f24ecdb56226c238076503', 'project_id': 'c7e73f49a8f24ecdb56226c238076503', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8fdaf516-7eb8-4cfc-b373-a89c03c26a64'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72438343', 'ctest-vn-44735312'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72438343', 'ctest-policy-allow-all-06713734']], 'subnet_ipam': [{'subnet_cidr': '60.110.252.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-24 21:55:01,874 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-24 21:55:02,183 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-24 21:55:02,214 - DEBUG - Requesting: http://10.0.0.57:8082/domain/3059085e-2a69-4d13-9a6b-ece82704879e 2025-09-24 21:55:02,229 - DEBUG - Requesting: http://10.0.0.57:8082/project/c7e73f49-a8f2-4ecd-b562-26c238076503 2025-09-24 21:55:02,304 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/b8739ea7-a778-46ce-ad53-7de8d90e342f 2025-09-24 21:55:02,316 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/b8739ea7-a778-46ce-ad53-7de8d90e342f 2025-09-24 21:55:02,326 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/18bbbb56-e6c0-4a87-85cb-5e00742f3020 2025-09-24 21:55:02,333 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/18bbbb56-e6c0-4a87-85cb-5e00742f3020 2025-09-24 21:55:02,340 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/fbf9c714-2667-4756-b87e-75c4c7b52b3c 2025-09-24 21:55:02,347 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-24 21:55:02,348 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/b8739ea7-a778-46ce-ad53-7de8d90e342f 2025-09-24 21:55:02,358 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/18bbbb56-e6c0-4a87-85cb-5e00742f3020 2025-09-24 21:55:02,375 - INFO - Verified VN network id 11 for VN b8739ea7-a778-46ce-ad53-7de8d90e342f 2025-09-24 21:55:02,376 - INFO - Verifications in API Server for VN ctest-vn-77913007 passed 2025-09-24 21:55:02,376 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/b8739ea7-a778-46ce-ad53-7de8d90e342f 2025-09-24 21:55:02,401 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/18bbbb56-e6c0-4a87-85cb-5e00742f3020 2025-09-24 21:55:02,420 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/18bbbb56-e6c0-4a87-85cb-5e00742f3020 2025-09-24 21:55:02,428 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/fbf9c714-2667-4756-b87e-75c4c7b52b3c 2025-09-24 21:55:02,443 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72438343:ctest-vn-77913007', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72438343', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13291141368206870222', 'uuid-lslong': '12489464630655988783'}, 'enable': 'true', 'created': '2025-09-24T21:55:00', 'last-modified': '2025-09-24T21:55:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.021408'} 2025-09-24 21:55:02,452 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-24 21:55:02,452 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77913007 passed 2025-09-24 21:55:02,453 - DEBUG - ====Verifying policy data for ctest-vn-77913007 in API_Server ====== 2025-09-24 21:55:02,453 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-24 21:55:02,461 - DEBUG - Requesting: http://10.0.0.57:8082/domain/3059085e-2a69-4d13-9a6b-ece82704879e 2025-09-24 21:55:02,475 - DEBUG - Requesting: http://10.0.0.57:8082/project/c7e73f49-a8f2-4ecd-b562-26c238076503 2025-09-24 21:55:02,546 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/b8739ea7-a778-46ce-ad53-7de8d90e342f 2025-09-24 21:55:02,557 - DEBUG - ==>Verifying data for policy with id: 067831fe-ff03-47c7-9ba7-beb6bda9f4e2, fqn: ['default-domain', 'ctest-TestBasicPolicy-72438343', 'ctest-policy-allow-all-06713734'] 2025-09-24 21:55:02,557 - INFO - VN ctest-vn-77913007 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-24 21:55:02,557 - DEBUG - Verifying the vn in opserver 2025-09-24 21:55:02,557 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72438343:ctest-vn-77913007 virtual network link through opserver 10.0.0.57 2025-09-24 21:55:02,557 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-09-24 21:55:02,867 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-09-24 21:55:02,925 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72438343:ctest-vn-77913007', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72438343:ctest-vn-77913007?flat'} 2025-09-24 21:55:02,925 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72438343:ctest-vn-77913007 is found in opserver 2025-09-24 21:55:02,936 - DEBUG - Do not have enough data to verify VN in agent 2025-09-24 21:55:02,941 - DEBUG - VRF ids for VN ctest-vn-77913007: {} 2025-09-24 21:55:02,941 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-24 21:55:02,947 - DEBUG - Requesting: http://10.0.0.57:8082/domain/3059085e-2a69-4d13-9a6b-ece82704879e 2025-09-24 21:55:02,959 - DEBUG - Requesting: http://10.0.0.57:8082/project/c7e73f49-a8f2-4ecd-b562-26c238076503 2025-09-24 21:55:03,028 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/9e937d28-f225-4418-9619-639a389efe3c 2025-09-24 21:55:03,041 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/9e937d28-f225-4418-9619-639a389efe3c 2025-09-24 21:55:03,051 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/60ec427c-89c6-40e7-9c30-612a506f153f 2025-09-24 21:55:03,059 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/60ec427c-89c6-40e7-9c30-612a506f153f 2025-09-24 21:55:03,066 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/15ee8dca-b0e2-42dd-a50d-6a67c50c186e 2025-09-24 21:55:03,075 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-24 21:55:03,075 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/9e937d28-f225-4418-9619-639a389efe3c 2025-09-24 21:55:03,084 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/60ec427c-89c6-40e7-9c30-612a506f153f 2025-09-24 21:55:03,099 - INFO - Verified VN network id 12 for VN 9e937d28-f225-4418-9619-639a389efe3c 2025-09-24 21:55:03,100 - INFO - Verifications in API Server for VN ctest-vn-44735312 passed 2025-09-24 21:55:03,100 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/9e937d28-f225-4418-9619-639a389efe3c 2025-09-24 21:55:03,109 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/60ec427c-89c6-40e7-9c30-612a506f153f 2025-09-24 21:55:03,116 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/60ec427c-89c6-40e7-9c30-612a506f153f 2025-09-24 21:55:03,122 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/15ee8dca-b0e2-42dd-a50d-6a67c50c186e 2025-09-24 21:55:03,136 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72438343:ctest-vn-44735312', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72438343', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11426614294383772696', 'uuid-lslong': '10815785494133014076'}, 'enable': 'true', 'created': '2025-09-24T21:55:00', 'last-modified': '2025-09-24T21:55:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.456982'} 2025-09-24 21:55:03,141 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-24 21:55:03,141 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44735312 passed 2025-09-24 21:55:03,142 - DEBUG - ====Verifying policy data for ctest-vn-44735312 in API_Server ====== 2025-09-24 21:55:03,142 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-24 21:55:03,148 - DEBUG - Requesting: http://10.0.0.57:8082/domain/3059085e-2a69-4d13-9a6b-ece82704879e 2025-09-24 21:55:03,162 - DEBUG - Requesting: http://10.0.0.57:8082/project/c7e73f49-a8f2-4ecd-b562-26c238076503 2025-09-24 21:55:03,234 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/9e937d28-f225-4418-9619-639a389efe3c 2025-09-24 21:55:03,245 - DEBUG - ==>Verifying data for policy with id: 067831fe-ff03-47c7-9ba7-beb6bda9f4e2, fqn: ['default-domain', 'ctest-TestBasicPolicy-72438343', 'ctest-policy-allow-all-06713734'] 2025-09-24 21:55:03,246 - INFO - VN ctest-vn-44735312 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-24 21:55:03,246 - DEBUG - Verifying the vn in opserver 2025-09-24 21:55:03,246 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72438343:ctest-vn-44735312 virtual network link through opserver 10.0.0.57 2025-09-24 21:55:03,246 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-09-24 21:55:03,258 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72438343:ctest-vn-44735312', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72438343:ctest-vn-44735312?flat'} 2025-09-24 21:55:03,258 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72438343:ctest-vn-44735312 is found in opserver 2025-09-24 21:55:03,268 - DEBUG - Do not have enough data to verify VN in agent 2025-09-24 21:55:03,273 - DEBUG - VRF ids for VN ctest-vn-44735312: {} 2025-09-24 21:55:03,334 - DEBUG - Services list from nova: [, , ] 2025-09-24 21:55:04,392 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4184-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4184-1) 2025-09-24 21:55:05,623 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4184-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4184-1) 2025-09-24 21:55:05,623 - INFO - Waiting for VM ctest-TestBasicPolicy-72438343-96268435 to be up.. 2025-09-24 21:55:05,730 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-24 21:55:10,813 - DEBUG - VM is in ACTIVE state now 2025-09-24 21:55:10,813 - INFO - VM name : ctest-TestBasicPolicy-72438343-96268435 2025-09-24 21:55:10,895 - DEBUG - VM ctest-TestBasicPolicy-72438343-96268435 ID is a272ddc1-05fd-4a74-87fc-e72a642ba13a 2025-09-24 21:55:10,916 - DEBUG - VM ctest-TestBasicPolicy-72438343-96268435 launched on Node cn-jenkins-deploy-platform-ansible-os-4184-1 2025-09-24 21:55:11,001 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/a272ddc1-05fd-4a74-87fc-e72a642ba13a 2025-09-24 21:55:11,012 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/d5701948-9c5a-4499-9fb7-55c8ecd32b0c 2025-09-24 21:55:14,273 - 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 1026ms') 2025-09-24 21:55:14,273 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72438343-96268435 failed! 2025-09-24 21:55:14,330 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72438343:ctest-vn-77913007 is 86.38.169.193 and allocation pool is NOT set 2025-09-24 21:55:16,395 - 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=9.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.36 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.356/5.388/9.421/4.032 ms') 2025-09-24 21:55:16,395 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72438343-96268435 passed 2025-09-24 21:55:16,542 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 21:55:16,542 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72438343-96268435, IP 86.38.169.195, Port 22 2025-09-24 21:55:16,612 - 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-24 21:55:16,701 - DEBUG - VM ctest-TestBasicPolicy-72438343-96268435 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-24 21:55:21,702 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 21:55:21,702 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72438343-96268435, IP 86.38.169.195, Port 22 2025-09-24 21:55:21,872 - DEBUG - VM ctest-TestBasicPolicy-72438343-96268435 is ready for SSH connections 2025-09-24 21:55:21,873 - INFO - Waiting for VM ctest-TestBasicPolicy-72438343-93956754 to be up.. 2025-09-24 21:55:21,957 - DEBUG - VM is in ACTIVE state now 2025-09-24 21:55:21,957 - INFO - VM name : ctest-TestBasicPolicy-72438343-93956754 2025-09-24 21:55:22,044 - DEBUG - VM ctest-TestBasicPolicy-72438343-93956754 ID is 7613c6c2-c3e4-4d57-8b5b-43a0844cf18e 2025-09-24 21:55:22,044 - DEBUG - VM ctest-TestBasicPolicy-72438343-93956754 launched on Node cn-jenkins-deploy-platform-ansible-os-4184-1 2025-09-24 21:55:22,133 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/7613c6c2-c3e4-4d57-8b5b-43a0844cf18e 2025-09-24 21:55:22,143 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/ae885c5c-409d-4fd6-8f99-5c7817229488 2025-09-24 21:55:23,387 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.555 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.555/1.833/3.112/1.278 ms') 2025-09-24 21:55:23,387 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-72438343-93956754 passed 2025-09-24 21:55:23,538 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 21:55:23,538 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72438343-93956754, IP 60.110.252.67, Port 22 2025-09-24 21:55:23,705 - DEBUG - VM ctest-TestBasicPolicy-72438343-93956754 is ready for SSH connections 2025-09-24 21:55:23,706 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 21:55:23,706 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.110.252.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-24 21:55:23,706 - DEBUG - ping -s 56 -c 3 -W 1 60.110.252.67 2025-09-24 21:55:27,470 - DEBUG - PING 60.110.252.67 (60.110.252.67): 56 data bytes 64 bytes from 60.110.252.67: seq=0 ttl=63 time=3.994 ms 64 bytes from 60.110.252.67: seq=1 ttl=63 time=1.492 ms 64 bytes from 60.110.252.67: seq=2 ttl=63 time=1.338 ms --- 60.110.252.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.338/2.274/3.994 ms 2025-09-24 21:55:27,470 - INFO - Ping to IP 60.110.252.67 from VM ctest-TestBasicPolicy-72438343-96268435 passed 2025-09-24 21:55:27,654 - DEBUG - Policy Update Response {"network-policy": {"uuid": "067831fe-ff03-47c7-9ba7-beb6bda9f4e2", "href": "http://10.0.0.57:8082/network-policy/067831fe-ff03-47c7-9ba7-beb6bda9f4e2"}} 2025-09-24 21:55:27,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 21:55:27,654 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.110.252.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-24 21:55:27,654 - DEBUG - ping -s 56 -c 3 -W 1 60.110.252.67 2025-09-24 21:55:30,884 - DEBUG - PING 60.110.252.67 (60.110.252.67): 56 data bytes --- 60.110.252.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-24 21:55:30,884 - WARNING - Ping to IP 60.110.252.67 from VM ctest-TestBasicPolicy-72438343-96268435 failed 2025-09-24 21:55:30,884 - INFO - Deleting VM ctest-TestBasicPolicy-72438343-93956754 2025-09-24 21:55:30,971 - INFO - Deleting VM ctest-TestBasicPolicy-72438343-96268435 2025-09-24 21:55:31,360 - INFO - Deleted policy ctest-policy-allow-all-06713734 2025-09-24 21:55:31,360 - INFO - Deleting VN ctest-vn-44735312 2025-09-24 21:55:31,396 - DEBUG - VN 9e937d28-f225-4418-9619-639a389efe3c still in use: Unable to complete operation on network 9e937d28-f225-4418-9619-639a389efe3c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bcd3a0eb-29e9-4116-8b2c-5e91fa05b3c9'] 2025-09-24 21:55:31,396 - WARNING - Deleting VN ctest-vn-44735312 failed..Will retry 2025-09-24 21:55:33,661 - DEBUG - Response for deleting network () 2025-09-24 21:55:33,661 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/60ec427c-89c6-40e7-9c30-612a506f153f 2025-09-24 21:55:33,672 - DEBUG - Response Code: 404 2025-09-24 21:55:33,672 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-24 21:55:33,680 - DEBUG - Requesting: http://10.0.0.57:8082/domain/3059085e-2a69-4d13-9a6b-ece82704879e 2025-09-24 21:55:33,751 - DEBUG - Requesting: http://10.0.0.57:8082/project/c7e73f49-a8f2-4ecd-b562-26c238076503 2025-09-24 21:55:33,849 - INFO - Validated that VN ctest-vn-44735312 is not found in API Server 2025-09-24 21:55:33,870 - DEBUG - VN ctest-vn-44735312 is not present in Agent 10.0.0.57 2025-09-24 21:55:33,870 - INFO - Validated that VN ctest-vn-44735312 is not in any agent 2025-09-24 21:55:33,889 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44735312 info 2025-09-24 21:55:33,889 - INFO - Deleting VN ctest-vn-77913007 2025-09-24 21:55:34,064 - DEBUG - Response for deleting network () 2025-09-24 21:55:34,064 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/18bbbb56-e6c0-4a87-85cb-5e00742f3020 2025-09-24 21:55:34,069 - DEBUG - Response Code: 404 2025-09-24 21:55:34,069 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-24 21:55:34,074 - DEBUG - Requesting: http://10.0.0.57:8082/domain/3059085e-2a69-4d13-9a6b-ece82704879e 2025-09-24 21:55:34,128 - DEBUG - Requesting: http://10.0.0.57:8082/project/c7e73f49-a8f2-4ecd-b562-26c238076503 2025-09-24 21:55:34,197 - INFO - Validated that VN ctest-vn-77913007 is not found in API Server 2025-09-24 21:55:34,208 - DEBUG - VN ctest-vn-77913007 is not present in Agent 10.0.0.57 2025-09-24 21:55:34,208 - INFO - Validated that VN ctest-vn-77913007 is not in any agent 2025-09-24 21:55:34,223 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77913007 info 2025-09-24 21:55:34,482 - DEBUG - No XMPP flaps were noticed during the test
2025-09-24 21:55:34,483 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-09-24 21:55:34,483 - INFO - -------------------------------------------------------------------------------- 2025-09-24 21:55:35,165 - INFO - Deleted project: ctest-TestBasicPolicy-72438343, ID : c7e73f49-a8f2-4ecd-b562-26c238076503