2026-02-02 19:50:18,390 - INFO - Domain Default found not creating 2026-02-02 19:50:18,809 - INFO - Project ctest-TestBasicPolicy-40650411 not found, creating it 2026-02-02 19:50:19,378 - INFO - Created Project:ctest-TestBasicPolicy-40650411, ID : 4990f057-4087-4c4e-8685-a7881af9853e 2026-02-02 19:50:21,447 - INFO - ================================================================================ 2026-02-02 19:50:21,447 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-02 19:50:21,448 - 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 2026-02-02 19:50:21,741 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.17': '0'}} with 2026-02-02 19:50:21,741 - INFO - Initial checks done. Running the testcase now 2026-02-02 19:50:21,741 - INFO - 2026-02-02 19:50:22,428 - DEBUG - Response for create_network : {'network': {'id': 'f0ee793e-4515-470d-a306-ae8ac6b0b2ee', 'name': 'ctest-vn-51235586', 'tenant_id': '4990f05740874c4e8685a7881af9853e', 'project_id': '4990f05740874c4e8685a7881af9853e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40650411', 'ctest-vn-51235586'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 19:50:22,651 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ddcf1c92-b4ed-4a66-bda8-1792a091cdd4', 'name': '', 'tenant_id': '4990f05740874c4e8685a7881af9853e', 'network_id': 'f0ee793e-4515-470d-a306-ae8ac6b0b2ee', 'ip_version': 4, 'cidr': '60.54.102.128/26', 'allocation_pools': [{'start': '60.54.102.130', 'end': '60.54.102.190'}], 'gateway_ip': '60.54.102.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.54.102.130', 'tags': [], 'project_id': '4990f05740874c4e8685a7881af9853e'}} 2026-02-02 19:50:22,670 - INFO - Created VN ctest-vn-51235586 2026-02-02 19:50:22,720 - DEBUG - VN ctest-vn-51235586 UUID is f0ee793e-4515-470d-a306-ae8ac6b0b2ee 2026-02-02 19:50:23,147 - DEBUG - Response for create_network : {'network': {'id': '4f395e46-34ab-4d2a-949f-f9e5825ab6be', 'name': 'ctest-vn-04639884', 'tenant_id': '4990f05740874c4e8685a7881af9853e', 'project_id': '4990f05740874c4e8685a7881af9853e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40650411', 'ctest-vn-04639884'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 19:50:23,336 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d641b9b-173e-4481-83e2-c53518c852fd', 'name': '', 'tenant_id': '4990f05740874c4e8685a7881af9853e', 'network_id': '4f395e46-34ab-4d2a-949f-f9e5825ab6be', 'ip_version': 4, 'cidr': '99.139.200.192/26', 'allocation_pools': [{'start': '99.139.200.194', 'end': '99.139.200.254'}], 'gateway_ip': '99.139.200.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.139.200.194', 'tags': [], 'project_id': '4990f05740874c4e8685a7881af9853e'}} 2026-02-02 19:50:23,363 - INFO - Created VN ctest-vn-04639884 2026-02-02 19:50:23,421 - DEBUG - VN ctest-vn-04639884 UUID is 4f395e46-34ab-4d2a-949f-f9e5825ab6be 2026-02-02 19:50:23,598 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40650411:ctest-vn-51235586, 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-40650411:ctest-vn-04639884, 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] 2026-02-02 19:50:24,047 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f0ee793e-4515-470d-a306-ae8ac6b0b2ee', 'name': 'ctest-vn-51235586', 'tenant_id': '4990f05740874c4e8685a7881af9853e', 'project_id': '4990f05740874c4e8685a7881af9853e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ddcf1c92-b4ed-4a66-bda8-1792a091cdd4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40650411', 'ctest-vn-51235586'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40650411', 'ctest-policy-allow-all-12134168']], 'subnet_ipam': [{'subnet_cidr': '60.54.102.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-02 19:50:24,377 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4f395e46-34ab-4d2a-949f-f9e5825ab6be', 'name': 'ctest-vn-04639884', 'tenant_id': '4990f05740874c4e8685a7881af9853e', 'project_id': '4990f05740874c4e8685a7881af9853e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6d641b9b-173e-4481-83e2-c53518c852fd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40650411', 'ctest-vn-04639884'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40650411', 'ctest-policy-allow-all-12134168']], 'subnet_ipam': [{'subnet_cidr': '99.139.200.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-02 19:50:24,565 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-02-02 19:50:24,879 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-02-02 19:50:24,935 - DEBUG - Requesting: http://10.0.0.23:8082/domain/8d7a5b3d-e4cf-4fac-8887-07511fecac4d 2026-02-02 19:50:24,968 - DEBUG - Requesting: http://10.0.0.23:8082/project/4990f057-4087-4c4e-8685-a7881af9853e 2026-02-02 19:50:25,067 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f0ee793e-4515-470d-a306-ae8ac6b0b2ee 2026-02-02 19:50:25,091 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f0ee793e-4515-470d-a306-ae8ac6b0b2ee 2026-02-02 19:50:25,114 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/b9eb627c-6555-42e4-8c32-b23856d49687 2026-02-02 19:50:25,126 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/b9eb627c-6555-42e4-8c32-b23856d49687 2026-02-02 19:50:25,141 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/7cbfd2a9-b96c-445d-b9ec-1f2249ff3675 2026-02-02 19:50:25,153 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-02 19:50:25,153 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f0ee793e-4515-470d-a306-ae8ac6b0b2ee 2026-02-02 19:50:25,175 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/b9eb627c-6555-42e4-8c32-b23856d49687 2026-02-02 19:50:25,212 - INFO - Verified VN network id 11 for VN f0ee793e-4515-470d-a306-ae8ac6b0b2ee 2026-02-02 19:50:25,212 - INFO - Verifications in API Server for VN ctest-vn-51235586 passed 2026-02-02 19:50:25,212 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f0ee793e-4515-470d-a306-ae8ac6b0b2ee 2026-02-02 19:50:25,230 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/b9eb627c-6555-42e4-8c32-b23856d49687 2026-02-02 19:50:25,242 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/b9eb627c-6555-42e4-8c32-b23856d49687 2026-02-02 19:50:25,254 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/7cbfd2a9-b96c-445d-b9ec-1f2249ff3675 2026-02-02 19:50:25,277 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40650411:ctest-vn-51235586', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40650411', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17360946921913796365', 'uuid-lslong': '11747268589104706286'}, 'enable': 'true', 'created': '2026-02-02T19:50:22', 'last-modified': '2026-02-02T19:50:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.274091'} 2026-02-02 19:50:25,292 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-02 19:50:25,292 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51235586 passed 2026-02-02 19:50:25,292 - DEBUG - ====Verifying policy data for ctest-vn-51235586 in API_Server ====== 2026-02-02 19:50:25,292 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-02-02 19:50:25,301 - DEBUG - Requesting: http://10.0.0.23:8082/domain/8d7a5b3d-e4cf-4fac-8887-07511fecac4d 2026-02-02 19:50:25,336 - DEBUG - Requesting: http://10.0.0.23:8082/project/4990f057-4087-4c4e-8685-a7881af9853e 2026-02-02 19:50:25,449 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f0ee793e-4515-470d-a306-ae8ac6b0b2ee 2026-02-02 19:50:25,466 - DEBUG - ==>Verifying data for policy with id: 3b105264-adc1-4c38-8c94-b04428cb5a7c, fqn: ['default-domain', 'ctest-TestBasicPolicy-40650411', 'ctest-policy-allow-all-12134168'] 2026-02-02 19:50:25,467 - INFO - VN ctest-vn-51235586 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-02 19:50:25,467 - DEBUG - Verifying the vn in opserver 2026-02-02 19:50:25,467 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40650411:ctest-vn-51235586 virtual network link through opserver 10.0.0.23 2026-02-02 19:50:25,467 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-02-02 19:50:25,796 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-02-02 19:50:25,919 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40650411:ctest-vn-51235586', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40650411:ctest-vn-51235586?flat'} 2026-02-02 19:50:25,919 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40650411:ctest-vn-51235586 is found in opserver 2026-02-02 19:50:25,934 - DEBUG - Do not have enough data to verify VN in agent 2026-02-02 19:50:25,943 - DEBUG - VRF ids for VN ctest-vn-51235586: {} 2026-02-02 19:50:25,943 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-02-02 19:50:25,952 - DEBUG - Requesting: http://10.0.0.23:8082/domain/8d7a5b3d-e4cf-4fac-8887-07511fecac4d 2026-02-02 19:50:25,980 - DEBUG - Requesting: http://10.0.0.23:8082/project/4990f057-4087-4c4e-8685-a7881af9853e 2026-02-02 19:50:26,083 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/4f395e46-34ab-4d2a-949f-f9e5825ab6be 2026-02-02 19:50:26,107 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/4f395e46-34ab-4d2a-949f-f9e5825ab6be 2026-02-02 19:50:26,125 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d5cb32a5-f9a3-4a33-9b45-05548b56ebba 2026-02-02 19:50:26,138 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d5cb32a5-f9a3-4a33-9b45-05548b56ebba 2026-02-02 19:50:26,147 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/7d28176e-8219-4a2d-b0a3-525852f3b65b 2026-02-02 19:50:26,160 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-02 19:50:26,160 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/4f395e46-34ab-4d2a-949f-f9e5825ab6be 2026-02-02 19:50:26,181 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d5cb32a5-f9a3-4a33-9b45-05548b56ebba 2026-02-02 19:50:26,213 - INFO - Verified VN network id 12 for VN 4f395e46-34ab-4d2a-949f-f9e5825ab6be 2026-02-02 19:50:26,214 - INFO - Verifications in API Server for VN ctest-vn-04639884 passed 2026-02-02 19:50:26,214 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/4f395e46-34ab-4d2a-949f-f9e5825ab6be 2026-02-02 19:50:26,232 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d5cb32a5-f9a3-4a33-9b45-05548b56ebba 2026-02-02 19:50:26,248 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d5cb32a5-f9a3-4a33-9b45-05548b56ebba 2026-02-02 19:50:26,257 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/7d28176e-8219-4a2d-b0a3-525852f3b65b 2026-02-02 19:50:26,274 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40650411:ctest-vn-04639884', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40650411', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5708697658293177642', 'uuid-lslong': '10709553203040138942'}, 'enable': 'true', 'created': '2026-02-02T19:50:23', 'last-modified': '2026-02-02T19:50:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.958227'} 2026-02-02 19:50:26,281 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-02 19:50:26,281 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04639884 passed 2026-02-02 19:50:26,282 - DEBUG - ====Verifying policy data for ctest-vn-04639884 in API_Server ====== 2026-02-02 19:50:26,282 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-02-02 19:50:26,293 - DEBUG - Requesting: http://10.0.0.23:8082/domain/8d7a5b3d-e4cf-4fac-8887-07511fecac4d 2026-02-02 19:50:26,320 - DEBUG - Requesting: http://10.0.0.23:8082/project/4990f057-4087-4c4e-8685-a7881af9853e 2026-02-02 19:50:26,413 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/4f395e46-34ab-4d2a-949f-f9e5825ab6be 2026-02-02 19:50:26,426 - DEBUG - ==>Verifying data for policy with id: 3b105264-adc1-4c38-8c94-b04428cb5a7c, fqn: ['default-domain', 'ctest-TestBasicPolicy-40650411', 'ctest-policy-allow-all-12134168'] 2026-02-02 19:50:26,426 - INFO - VN ctest-vn-04639884 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-02 19:50:26,426 - DEBUG - Verifying the vn in opserver 2026-02-02 19:50:26,426 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40650411:ctest-vn-04639884 virtual network link through opserver 10.0.0.23 2026-02-02 19:50:26,426 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-02-02 19:50:26,440 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40650411:ctest-vn-04639884', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40650411:ctest-vn-04639884?flat'} 2026-02-02 19:50:26,440 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40650411:ctest-vn-04639884 is found in opserver 2026-02-02 19:50:26,454 - DEBUG - Do not have enough data to verify VN in agent 2026-02-02 19:50:26,462 - DEBUG - VRF ids for VN ctest-vn-04639884: {} 2026-02-02 19:50:26,564 - DEBUG - Services list from nova: [, , ] 2026-02-02 19:50:27,881 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5176-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5176-1) 2026-02-02 19:50:29,230 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5176-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5176-1) 2026-02-02 19:50:29,230 - INFO - Waiting for VM ctest-TestBasicPolicy-40650411-99797479 to be up.. 2026-02-02 19:50:29,330 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-02 19:50:34,463 - DEBUG - VM is in ACTIVE state now 2026-02-02 19:50:34,463 - INFO - VM name : ctest-TestBasicPolicy-40650411-99797479 2026-02-02 19:50:34,574 - DEBUG - VM ctest-TestBasicPolicy-40650411-99797479 ID is 5ebe4e26-b866-4f5c-a27e-5403bcbe8291 2026-02-02 19:50:34,599 - DEBUG - VM ctest-TestBasicPolicy-40650411-99797479 launched on Node cn-jenkins-deploy-platform-ansible-os-5176-1 2026-02-02 19:50:34,741 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/5ebe4e26-b866-4f5c-a27e-5403bcbe8291 2026-02-02 19:50:34,755 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/99396d57-64c5-4de6-82c1-6897caf3fd18 2026-02-02 19:50:38,043 - 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 1004ms') 2026-02-02 19:50:38,043 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40650411-99797479 failed! 2026-02-02 19:50:38,100 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40650411:ctest-vn-51235586 is 60.54.102.129 and allocation pool is NOT set 2026-02-02 19:50:42,211 - 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 1024ms') 2026-02-02 19:50:42,211 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40650411-99797479 failed! 2026-02-02 19:50:42,285 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40650411:ctest-vn-51235586 is 60.54.102.129 and allocation pool is NOT set 2026-02-02 19:50:44,348 - 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=690 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.990 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 999ms\r\nrtt min/avg/max/mdev = 0.990/345.460/689.931/344.470 ms') 2026-02-02 19:50:44,348 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40650411-99797479 passed 2026-02-02 19:50:44,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 19:50:44,517 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40650411-99797479, IP 60.54.102.131, Port 22 2026-02-02 19:50:44,596 - 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': ''} 2026-02-02 19:50:44,708 - DEBUG - VM ctest-TestBasicPolicy-40650411-99797479 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-02 19:50:49,709 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 19:50:49,709 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40650411-99797479, IP 60.54.102.131, Port 22 2026-02-02 19:50:54,978 - DEBUG - Could not ssh to cirros@169.254.0.3:22 2026-02-02 19:50:55,245 - DEBUG - VM ctest-TestBasicPolicy-40650411-99797479 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-02 19:51:00,246 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 19:51:00,246 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40650411-99797479, IP 60.54.102.131, Port 22 2026-02-02 19:51:01,275 - DEBUG - VM ctest-TestBasicPolicy-40650411-99797479 is ready for SSH connections 2026-02-02 19:51:01,275 - INFO - Waiting for VM ctest-TestBasicPolicy-40650411-38793016 to be up.. 2026-02-02 19:51:01,398 - DEBUG - VM is in ACTIVE state now 2026-02-02 19:51:01,398 - INFO - VM name : ctest-TestBasicPolicy-40650411-38793016 2026-02-02 19:51:01,500 - DEBUG - VM ctest-TestBasicPolicy-40650411-38793016 ID is 8f8d958a-7ea1-4066-8487-95dd33601ffa 2026-02-02 19:51:01,500 - DEBUG - VM ctest-TestBasicPolicy-40650411-38793016 launched on Node cn-jenkins-deploy-platform-ansible-os-5176-1 2026-02-02 19:51:01,569 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/8f8d958a-7ea1-4066-8487-95dd33601ffa 2026-02-02 19:51:01,577 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/080a00b6-88b7-411d-a05d-d6f19b403690 2026-02-02 19:51:07,556 - 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=5.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.33 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 = 2.333/3.974/5.616/1.641 ms') 2026-02-02 19:51:07,557 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40650411-38793016 passed 2026-02-02 19:51:07,728 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 19:51:07,729 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40650411-38793016, IP 99.139.200.195, Port 22 2026-02-02 19:51:07,910 - DEBUG - VM ctest-TestBasicPolicy-40650411-38793016 is ready for SSH connections 2026-02-02 19:51:07,911 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 19:51:07,911 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.139.200.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-02-02 19:51:07,911 - DEBUG - ping -s 56 -c 3 -W 1 99.139.200.195 2026-02-02 19:51:12,385 - DEBUG - PING 99.139.200.195 (99.139.200.195): 56 data bytes 64 bytes from 99.139.200.195: seq=0 ttl=63 time=3.427 ms 64 bytes from 99.139.200.195: seq=1 ttl=63 time=1.774 ms 64 bytes from 99.139.200.195: seq=2 ttl=63 time=1.031 ms --- 99.139.200.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.031/2.077/3.427 ms 2026-02-02 19:51:12,385 - INFO - Ping to IP 99.139.200.195 from VM ctest-TestBasicPolicy-40650411-99797479 passed 2026-02-02 19:51:12,600 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3b105264-adc1-4c38-8c94-b04428cb5a7c", "href": "http://10.0.0.23:8082/network-policy/3b105264-adc1-4c38-8c94-b04428cb5a7c"}} 2026-02-02 19:51:12,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 19:51:12,600 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.139.200.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-02-02 19:51:12,600 - DEBUG - ping -s 56 -c 3 -W 1 99.139.200.195 2026-02-02 19:51:15,826 - DEBUG - PING 99.139.200.195 (99.139.200.195): 56 data bytes --- 99.139.200.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-02 19:51:15,827 - WARNING - Ping to IP 99.139.200.195 from VM ctest-TestBasicPolicy-40650411-99797479 failed 2026-02-02 19:51:15,827 - INFO - Deleting VM ctest-TestBasicPolicy-40650411-38793016 2026-02-02 19:51:15,916 - INFO - Deleting VM ctest-TestBasicPolicy-40650411-99797479 2026-02-02 19:51:16,398 - INFO - Deleted policy ctest-policy-allow-all-12134168 2026-02-02 19:51:16,398 - INFO - Deleting VN ctest-vn-04639884 2026-02-02 19:51:16,448 - DEBUG - VN 4f395e46-34ab-4d2a-949f-f9e5825ab6be still in use: Unable to complete operation on network 4f395e46-34ab-4d2a-949f-f9e5825ab6be. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-551190ce-ddd3-496c-a5a1-01d6c3f9db9f'] 2026-02-02 19:51:16,448 - WARNING - Deleting VN ctest-vn-04639884 failed..Will retry 2026-02-02 19:51:18,573 - DEBUG - Response for deleting network () 2026-02-02 19:51:18,573 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d5cb32a5-f9a3-4a33-9b45-05548b56ebba 2026-02-02 19:51:18,581 - DEBUG - Response Code: 404 2026-02-02 19:51:18,581 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-02-02 19:51:18,586 - DEBUG - Requesting: http://10.0.0.23:8082/domain/8d7a5b3d-e4cf-4fac-8887-07511fecac4d 2026-02-02 19:51:18,641 - DEBUG - Requesting: http://10.0.0.23:8082/project/4990f057-4087-4c4e-8685-a7881af9853e 2026-02-02 19:51:18,741 - INFO - Validated that VN ctest-vn-04639884 is not found in API Server 2026-02-02 19:51:18,761 - DEBUG - VN ctest-vn-04639884 is not present in Agent 10.0.0.23 2026-02-02 19:51:18,761 - INFO - Validated that VN ctest-vn-04639884 is not in any agent 2026-02-02 19:51:18,786 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04639884 info 2026-02-02 19:51:18,786 - INFO - Deleting VN ctest-vn-51235586 2026-02-02 19:51:18,925 - DEBUG - Response for deleting network () 2026-02-02 19:51:18,925 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/b9eb627c-6555-42e4-8c32-b23856d49687 2026-02-02 19:51:18,930 - DEBUG - Response Code: 404 2026-02-02 19:51:18,930 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-02-02 19:51:18,935 - DEBUG - Requesting: http://10.0.0.23:8082/domain/8d7a5b3d-e4cf-4fac-8887-07511fecac4d 2026-02-02 19:51:18,990 - DEBUG - Requesting: http://10.0.0.23:8082/project/4990f057-4087-4c4e-8685-a7881af9853e 2026-02-02 19:51:19,073 - INFO - Validated that VN ctest-vn-51235586 is not found in API Server 2026-02-02 19:51:19,089 - DEBUG - VN ctest-vn-51235586 is not present in Agent 10.0.0.23 2026-02-02 19:51:19,089 - INFO - Validated that VN ctest-vn-51235586 is not in any agent 2026-02-02 19:51:19,110 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51235586 info 2026-02-02 19:51:19,400 - DEBUG - No XMPP flaps were noticed during the test
2026-02-02 19:51:19,400 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:58]
2026-02-02 19:51:19,400 - INFO - -------------------------------------------------------------------------------- 2026-02-02 19:51:20,415 - INFO - Deleted project: ctest-TestBasicPolicy-40650411, ID : 4990f057-4087-4c4e-8685-a7881af9853e