2025-08-05 20:01:00,242 - INFO - Domain Default found not creating 2025-08-05 20:01:00,572 - INFO - Project ctest-TestBasicPolicy-80579303 not found, creating it 2025-08-05 20:01:01,459 - INFO - Created Project:ctest-TestBasicPolicy-80579303, ID : f09e357b-4511-4b77-9bba-665134ccd0ff 2025-08-05 20:01:03,843 - INFO - ================================================================================ 2025-08-05 20:01:03,844 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-05 20:01:03,844 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-08-05 20:01:04,154 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.14': '0'}} with 2025-08-05 20:01:04,154 - INFO - Initial checks done. Running the testcase now 2025-08-05 20:01:04,154 - INFO - 2025-08-05 20:01:04,908 - DEBUG - Response for create_network : {'network': {'id': '4113230f-01da-4302-8112-6b85bbda6531', 'name': 'ctest-vn-76729773', 'tenant_id': 'f09e357b45114b779bba665134ccd0ff', 'project_id': 'f09e357b45114b779bba665134ccd0ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80579303', 'ctest-vn-76729773'], 'port_security_enabled': True, 'description': ''}} 2025-08-05 20:01:05,197 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c11c5c8a-c0fc-406c-b3cc-5df45ea35677', 'name': '', 'tenant_id': 'f09e357b45114b779bba665134ccd0ff', 'network_id': '4113230f-01da-4302-8112-6b85bbda6531', 'ip_version': 4, 'cidr': '202.40.56.64/26', 'allocation_pools': [{'start': '202.40.56.66', 'end': '202.40.56.126'}], 'gateway_ip': '202.40.56.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.40.56.66', 'tags': [], 'project_id': 'f09e357b45114b779bba665134ccd0ff'}} 2025-08-05 20:01:05,226 - INFO - Created VN ctest-vn-76729773 2025-08-05 20:01:05,289 - DEBUG - VN ctest-vn-76729773 UUID is 4113230f-01da-4302-8112-6b85bbda6531 2025-08-05 20:01:05,901 - DEBUG - Response for create_network : {'network': {'id': 'c72b6ff9-9e25-4ade-a868-c89579b0acf1', 'name': 'ctest-vn-67354276', 'tenant_id': 'f09e357b45114b779bba665134ccd0ff', 'project_id': 'f09e357b45114b779bba665134ccd0ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80579303', 'ctest-vn-67354276'], 'port_security_enabled': True, 'description': ''}} 2025-08-05 20:01:06,159 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aa9a518b-5df3-4910-ba37-d988924bedfc', 'name': '', 'tenant_id': 'f09e357b45114b779bba665134ccd0ff', 'network_id': 'c72b6ff9-9e25-4ade-a868-c89579b0acf1', 'ip_version': 4, 'cidr': '24.101.43.64/26', 'allocation_pools': [{'start': '24.101.43.66', 'end': '24.101.43.126'}], 'gateway_ip': '24.101.43.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.101.43.66', 'tags': [], 'project_id': 'f09e357b45114b779bba665134ccd0ff'}} 2025-08-05 20:01:06,179 - INFO - Created VN ctest-vn-67354276 2025-08-05 20:01:06,236 - DEBUG - VN ctest-vn-67354276 UUID is c72b6ff9-9e25-4ade-a868-c89579b0acf1 2025-08-05 20:01:06,444 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-80579303:ctest-vn-76729773, 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-80579303:ctest-vn-67354276, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-08-05 20:01:06,891 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4113230f-01da-4302-8112-6b85bbda6531', 'name': 'ctest-vn-76729773', 'tenant_id': 'f09e357b45114b779bba665134ccd0ff', 'project_id': 'f09e357b45114b779bba665134ccd0ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c11c5c8a-c0fc-406c-b3cc-5df45ea35677'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80579303', 'ctest-vn-76729773'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80579303', 'ctest-policy-allow-all-26840265']], 'subnet_ipam': [{'subnet_cidr': '202.40.56.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-05 20:01:07,364 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c72b6ff9-9e25-4ade-a868-c89579b0acf1', 'name': 'ctest-vn-67354276', 'tenant_id': 'f09e357b45114b779bba665134ccd0ff', 'project_id': 'f09e357b45114b779bba665134ccd0ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['aa9a518b-5df3-4910-ba37-d988924bedfc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80579303', 'ctest-vn-67354276'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80579303', 'ctest-policy-allow-all-26840265']], 'subnet_ipam': [{'subnet_cidr': '24.101.43.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-05 20:01:07,557 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-05 20:01:07,909 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-05 20:01:07,963 - DEBUG - Requesting: http://10.0.0.49:8082/domain/7825e73d-de76-48a6-8f19-0d33116c8a06 2025-08-05 20:01:07,991 - DEBUG - Requesting: http://10.0.0.49:8082/project/f09e357b-4511-4b77-9bba-665134ccd0ff 2025-08-05 20:01:08,127 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/4113230f-01da-4302-8112-6b85bbda6531 2025-08-05 20:01:08,163 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/4113230f-01da-4302-8112-6b85bbda6531 2025-08-05 20:01:08,195 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/802c5a6a-ce75-4203-b285-eee265865440 2025-08-05 20:01:08,220 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/802c5a6a-ce75-4203-b285-eee265865440 2025-08-05 20:01:08,243 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/4d8903dc-7946-43ca-9e9c-a6fc728ccffb 2025-08-05 20:01:08,266 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-05 20:01:08,267 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/4113230f-01da-4302-8112-6b85bbda6531 2025-08-05 20:01:08,300 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/802c5a6a-ce75-4203-b285-eee265865440 2025-08-05 20:01:08,348 - INFO - Verified VN network id 11 for VN 4113230f-01da-4302-8112-6b85bbda6531 2025-08-05 20:01:08,348 - INFO - Verifications in API Server for VN ctest-vn-76729773 passed 2025-08-05 20:01:08,348 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/4113230f-01da-4302-8112-6b85bbda6531 2025-08-05 20:01:08,381 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/802c5a6a-ce75-4203-b285-eee265865440 2025-08-05 20:01:08,405 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/802c5a6a-ce75-4203-b285-eee265865440 2025-08-05 20:01:08,428 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/4d8903dc-7946-43ca-9e9c-a6fc728ccffb 2025-08-05 20:01:08,468 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80579303:ctest-vn-76729773', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80579303', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4689130184385381122', 'uuid-lslong': '9300614402599970097'}, 'enable': 'true', 'created': '2025-08-05T20:01:04', 'last-modified': '2025-08-05T20:01:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.609353'} 2025-08-05 20:01:08,490 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-05 20:01:08,490 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76729773 passed 2025-08-05 20:01:08,491 - DEBUG - ====Verifying policy data for ctest-vn-76729773 in API_Server ====== 2025-08-05 20:01:08,491 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-05 20:01:08,509 - DEBUG - Requesting: http://10.0.0.49:8082/domain/7825e73d-de76-48a6-8f19-0d33116c8a06 2025-08-05 20:01:08,552 - DEBUG - Requesting: http://10.0.0.49:8082/project/f09e357b-4511-4b77-9bba-665134ccd0ff 2025-08-05 20:01:08,648 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/4113230f-01da-4302-8112-6b85bbda6531 2025-08-05 20:01:08,677 - DEBUG - ==>Verifying data for policy with id: 7a3b9b64-38b0-4ef7-991c-23a61f9ccf1b, fqn: ['default-domain', 'ctest-TestBasicPolicy-80579303', 'ctest-policy-allow-all-26840265'] 2025-08-05 20:01:08,677 - INFO - VN ctest-vn-76729773 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-05 20:01:08,677 - DEBUG - Verifying the vn in opserver 2025-08-05 20:01:08,677 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80579303:ctest-vn-76729773 virtual network link through opserver 10.0.0.49 2025-08-05 20:01:08,678 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-08-05 20:01:09,032 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-08-05 20:01:09,161 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80579303:ctest-vn-76729773', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80579303:ctest-vn-76729773?flat'} 2025-08-05 20:01:09,161 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80579303:ctest-vn-76729773 is found in opserver 2025-08-05 20:01:09,195 - DEBUG - Do not have enough data to verify VN in agent 2025-08-05 20:01:09,211 - DEBUG - VRF ids for VN ctest-vn-76729773: {} 2025-08-05 20:01:09,211 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-05 20:01:09,228 - DEBUG - Requesting: http://10.0.0.49:8082/domain/7825e73d-de76-48a6-8f19-0d33116c8a06 2025-08-05 20:01:09,264 - DEBUG - Requesting: http://10.0.0.49:8082/project/f09e357b-4511-4b77-9bba-665134ccd0ff 2025-08-05 20:01:09,396 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/c72b6ff9-9e25-4ade-a868-c89579b0acf1 2025-08-05 20:01:09,433 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/c72b6ff9-9e25-4ade-a868-c89579b0acf1 2025-08-05 20:01:09,467 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/348f4ddd-21af-4fe7-afbd-0f094d1ee378 2025-08-05 20:01:09,494 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/348f4ddd-21af-4fe7-afbd-0f094d1ee378 2025-08-05 20:01:09,518 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/1cc252c7-3abc-430b-8971-491af2eb7050 2025-08-05 20:01:09,542 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-05 20:01:09,542 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/c72b6ff9-9e25-4ade-a868-c89579b0acf1 2025-08-05 20:01:09,578 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/348f4ddd-21af-4fe7-afbd-0f094d1ee378 2025-08-05 20:01:09,630 - INFO - Verified VN network id 12 for VN c72b6ff9-9e25-4ade-a868-c89579b0acf1 2025-08-05 20:01:09,630 - INFO - Verifications in API Server for VN ctest-vn-67354276 passed 2025-08-05 20:01:09,631 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/c72b6ff9-9e25-4ade-a868-c89579b0acf1 2025-08-05 20:01:09,667 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/348f4ddd-21af-4fe7-afbd-0f094d1ee378 2025-08-05 20:01:09,690 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/348f4ddd-21af-4fe7-afbd-0f094d1ee378 2025-08-05 20:01:09,713 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/1cc252c7-3abc-430b-8971-491af2eb7050 2025-08-05 20:01:09,754 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80579303:ctest-vn-67354276', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80579303', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14351687755437001438', 'uuid-lslong': '12135169740267105521'}, 'enable': 'true', 'created': '2025-08-05T20:01:05', 'last-modified': '2025-08-05T20:01:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.514413'} 2025-08-05 20:01:09,776 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-05 20:01:09,776 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67354276 passed 2025-08-05 20:01:09,777 - DEBUG - ====Verifying policy data for ctest-vn-67354276 in API_Server ====== 2025-08-05 20:01:09,777 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-05 20:01:09,793 - DEBUG - Requesting: http://10.0.0.49:8082/domain/7825e73d-de76-48a6-8f19-0d33116c8a06 2025-08-05 20:01:09,831 - DEBUG - Requesting: http://10.0.0.49:8082/project/f09e357b-4511-4b77-9bba-665134ccd0ff 2025-08-05 20:01:09,971 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/c72b6ff9-9e25-4ade-a868-c89579b0acf1 2025-08-05 20:01:10,003 - DEBUG - ==>Verifying data for policy with id: 7a3b9b64-38b0-4ef7-991c-23a61f9ccf1b, fqn: ['default-domain', 'ctest-TestBasicPolicy-80579303', 'ctest-policy-allow-all-26840265'] 2025-08-05 20:01:10,003 - INFO - VN ctest-vn-67354276 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-05 20:01:10,003 - DEBUG - Verifying the vn in opserver 2025-08-05 20:01:10,004 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80579303:ctest-vn-67354276 virtual network link through opserver 10.0.0.49 2025-08-05 20:01:10,004 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-08-05 20:01:10,036 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80579303:ctest-vn-67354276', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80579303:ctest-vn-67354276?flat'} 2025-08-05 20:01:10,037 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80579303:ctest-vn-67354276 is found in opserver 2025-08-05 20:01:10,072 - DEBUG - Do not have enough data to verify VN in agent 2025-08-05 20:01:10,089 - DEBUG - VRF ids for VN ctest-vn-67354276: {} 2025-08-05 20:01:10,242 - DEBUG - Services list from nova: [, , ] 2025-08-05 20:01:11,837 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3758-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3758-1) 2025-08-05 20:01:13,524 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3758-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3758-1) 2025-08-05 20:01:13,525 - INFO - Waiting for VM ctest-TestBasicPolicy-80579303-69843244 to be up.. 2025-08-05 20:01:13,627 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-05 20:01:18,810 - DEBUG - VM is in ACTIVE state now 2025-08-05 20:01:18,811 - INFO - VM name : ctest-TestBasicPolicy-80579303-69843244 2025-08-05 20:01:18,979 - DEBUG - VM ctest-TestBasicPolicy-80579303-69843244 ID is 9b4bf4de-2a70-4ac1-8a36-1a5f2d28468f 2025-08-05 20:01:19,025 - DEBUG - VM ctest-TestBasicPolicy-80579303-69843244 launched on Node cn-jenkins-deploy-platform-ansible-os-3758-1 2025-08-05 20:01:19,204 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/9b4bf4de-2a70-4ac1-8a36-1a5f2d28468f 2025-08-05 20:01:19,224 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/df1d2bd0-e660-43b1-9056-d6fd3318f9db 2025-08-05 20:01:22,546 - 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 1032ms') 2025-08-05 20:01:22,547 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80579303-69843244 failed! 2025-08-05 20:01:22,629 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80579303:ctest-vn-76729773 is 202.40.56.65 and allocation pool is NOT set 2025-08-05 20:01:24,714 - 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=12.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.27 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.270/6.773/12.277/5.503 ms') 2025-08-05 20:01:24,714 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80579303-69843244 passed 2025-08-05 20:01:24,892 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-05 20:01:24,892 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80579303-69843244, IP 202.40.56.67, Port 22 2025-08-05 20:01:24,959 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-05 20:01:25,105 - DEBUG - VM ctest-TestBasicPolicy-80579303-69843244 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-05 20:01:30,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-05 20:01:30,107 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80579303-69843244, IP 202.40.56.67, Port 22 2025-08-05 20:01:30,314 - DEBUG - VM ctest-TestBasicPolicy-80579303-69843244 is ready for SSH connections 2025-08-05 20:01:30,314 - INFO - Waiting for VM ctest-TestBasicPolicy-80579303-05205641 to be up.. 2025-08-05 20:01:30,487 - DEBUG - VM is in ACTIVE state now 2025-08-05 20:01:30,488 - INFO - VM name : ctest-TestBasicPolicy-80579303-05205641 2025-08-05 20:01:30,664 - DEBUG - VM ctest-TestBasicPolicy-80579303-05205641 ID is 3ebbfaa3-e667-4ab8-88ce-7706a292248b 2025-08-05 20:01:30,664 - DEBUG - VM ctest-TestBasicPolicy-80579303-05205641 launched on Node cn-jenkins-deploy-platform-ansible-os-3758-1 2025-08-05 20:01:30,855 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/3ebbfaa3-e667-4ab8-88ce-7706a292248b 2025-08-05 20:01:30,874 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/c9725be9-c54a-4479-bab5-3870ce390ff7 2025-08-05 20:01:32,229 - 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=8.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.760 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.760/4.727/8.695/3.967 ms') 2025-08-05 20:01:32,230 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-80579303-05205641 passed 2025-08-05 20:01:32,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-05 20:01:32,433 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80579303-05205641, IP 24.101.43.67, Port 22 2025-08-05 20:01:32,650 - DEBUG - VM ctest-TestBasicPolicy-80579303-05205641 is ready for SSH connections 2025-08-05 20:01:32,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-05 20:01:32,651 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.101.43.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-05 20:01:32,651 - DEBUG - ping -s 56 -c 3 -W 1 24.101.43.67 2025-08-05 20:01:37,292 - DEBUG - PING 24.101.43.67 (24.101.43.67): 56 data bytes 64 bytes from 24.101.43.67: seq=0 ttl=63 time=4.070 ms 64 bytes from 24.101.43.67: seq=1 ttl=63 time=1.990 ms 64 bytes from 24.101.43.67: seq=2 ttl=63 time=2.115 ms --- 24.101.43.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.990/2.725/4.070 ms 2025-08-05 20:01:37,292 - INFO - Ping to IP 24.101.43.67 from VM ctest-TestBasicPolicy-80579303-69843244 passed 2025-08-05 20:01:37,568 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7a3b9b64-38b0-4ef7-991c-23a61f9ccf1b", "href": "http://10.0.0.49:8082/network-policy/7a3b9b64-38b0-4ef7-991c-23a61f9ccf1b"}} 2025-08-05 20:01:37,568 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-05 20:01:37,568 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.101.43.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-05 20:01:37,569 - DEBUG - ping -s 56 -c 3 -W 1 24.101.43.67 2025-08-05 20:01:40,842 - DEBUG - PING 24.101.43.67 (24.101.43.67): 56 data bytes 64 bytes from 24.101.43.67: seq=0 ttl=63 time=2.095 ms --- 24.101.43.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.095/2.095/2.095 ms 2025-08-05 20:01:40,843 - WARNING - Ping to IP 24.101.43.67 from VM ctest-TestBasicPolicy-80579303-69843244 failed 2025-08-05 20:01:40,843 - INFO - Deleting VM ctest-TestBasicPolicy-80579303-05205641 2025-08-05 20:01:41,031 - INFO - Deleting VM ctest-TestBasicPolicy-80579303-69843244 2025-08-05 20:01:41,780 - INFO - Deleted policy ctest-policy-allow-all-26840265 2025-08-05 20:01:41,780 - INFO - Deleting VN ctest-vn-67354276 2025-08-05 20:01:41,857 - DEBUG - VN c72b6ff9-9e25-4ade-a868-c89579b0acf1 still in use: Unable to complete operation on network c72b6ff9-9e25-4ade-a868-c89579b0acf1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-70791834-a68d-4b06-9f38-47231163eb3c'] 2025-08-05 20:01:41,857 - WARNING - Deleting VN ctest-vn-67354276 failed..Will retry 2025-08-05 20:01:44,076 - DEBUG - Response for deleting network () 2025-08-05 20:01:44,076 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/348f4ddd-21af-4fe7-afbd-0f094d1ee378 2025-08-05 20:01:44,087 - DEBUG - Response Code: 404 2025-08-05 20:01:44,087 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-05 20:01:44,096 - DEBUG - Requesting: http://10.0.0.49:8082/domain/7825e73d-de76-48a6-8f19-0d33116c8a06 2025-08-05 20:01:44,162 - DEBUG - Requesting: http://10.0.0.49:8082/project/f09e357b-4511-4b77-9bba-665134ccd0ff 2025-08-05 20:01:44,278 - INFO - Validated that VN ctest-vn-67354276 is not found in API Server 2025-08-05 20:01:44,306 - DEBUG - VN ctest-vn-67354276 is not present in Agent 10.0.0.49 2025-08-05 20:01:44,306 - INFO - Validated that VN ctest-vn-67354276 is not in any agent 2025-08-05 20:01:44,350 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67354276 info 2025-08-05 20:01:44,351 - INFO - Deleting VN ctest-vn-76729773 2025-08-05 20:01:44,528 - DEBUG - Response for deleting network () 2025-08-05 20:01:44,528 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/802c5a6a-ce75-4203-b285-eee265865440 2025-08-05 20:01:44,534 - DEBUG - Response Code: 404 2025-08-05 20:01:44,535 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-05 20:01:44,542 - DEBUG - Requesting: http://10.0.0.49:8082/domain/7825e73d-de76-48a6-8f19-0d33116c8a06 2025-08-05 20:01:44,598 - DEBUG - Requesting: http://10.0.0.49:8082/project/f09e357b-4511-4b77-9bba-665134ccd0ff 2025-08-05 20:01:44,701 - INFO - Validated that VN ctest-vn-76729773 is not found in API Server 2025-08-05 20:01:44,724 - DEBUG - VN ctest-vn-76729773 is not present in Agent 10.0.0.49 2025-08-05 20:01:44,725 - INFO - Validated that VN ctest-vn-76729773 is not in any agent 2025-08-05 20:01:44,756 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76729773 info 2025-08-05 20:01:45,080 - DEBUG - No XMPP flaps were noticed during the test 2025-08-05 20:01:45,080 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:42] 2025-08-05 20:01:45,081 - INFO - -------------------------------------------------------------------------------- 2025-08-05 20:01:46,017 - INFO - Deleted project: ctest-TestBasicPolicy-80579303, ID : f09e357b-4511-4b77-9bba-665134ccd0ff