2026-09-17 17:21:54,609 - INFO - Domain Default found not creating 2026-09-17 17:21:54,803 - INFO - Project ctest-TestBasicPolicy-41173266 not found, creating it 2026-09-17 17:21:55,328 - INFO - Created Project:ctest-TestBasicPolicy-41173266, ID : 8e7b7092-9fbe-45d6-81a0-e57970c2d194 2026-09-17 17:21:57,068 - INFO - ================================================================================ 2026-09-17 17:21:57,069 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-17 17:21:57,069 - 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-09-17 17:21:57,355 - DEBUG - Nothing to compare xmpp stats {'10.0.0.176': {'10.20.0.25': '0'}} with 2026-09-17 17:21:57,355 - INFO - Initial checks done. Running the testcase now 2026-09-17 17:21:57,356 - INFO - 2026-09-17 17:21:58,034 - DEBUG - Response for create_network : {'network': {'id': 'f4cfe4a2-db80-4aec-bc49-b69787eac362', 'name': 'ctest-vn-53687709', 'tenant_id': '8e7b70929fbe45d681a0e57970c2d194', 'project_id': '8e7b70929fbe45d681a0e57970c2d194', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41173266', 'ctest-vn-53687709'], 'port_security_enabled': True, 'description': ''}} 2026-09-17 17:21:58,222 - DEBUG - Response for create_subnet : {'subnet': {'id': '94f617c8-6836-45ce-b43b-66ab7bc72999', 'name': '', 'tenant_id': '8e7b70929fbe45d681a0e57970c2d194', 'network_id': 'f4cfe4a2-db80-4aec-bc49-b69787eac362', 'ip_version': 4, 'cidr': '186.45.137.192/26', 'allocation_pools': [{'start': '186.45.137.194', 'end': '186.45.137.254'}], 'gateway_ip': '186.45.137.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.45.137.194', 'tags': [], 'project_id': '8e7b70929fbe45d681a0e57970c2d194'}} 2026-09-17 17:21:58,241 - INFO - Created VN ctest-vn-53687709 2026-09-17 17:21:58,299 - DEBUG - VN ctest-vn-53687709 UUID is f4cfe4a2-db80-4aec-bc49-b69787eac362 2026-09-17 17:21:58,636 - DEBUG - Response for create_network : {'network': {'id': '2b309667-fabe-455f-879e-9bdd6ba6c1ee', 'name': 'ctest-vn-04164616', 'tenant_id': '8e7b70929fbe45d681a0e57970c2d194', 'project_id': '8e7b70929fbe45d681a0e57970c2d194', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41173266', 'ctest-vn-04164616'], 'port_security_enabled': True, 'description': ''}} 2026-09-17 17:21:58,823 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d0c58f6-b64b-426a-b855-700b549671db', 'name': '', 'tenant_id': '8e7b70929fbe45d681a0e57970c2d194', 'network_id': '2b309667-fabe-455f-879e-9bdd6ba6c1ee', 'ip_version': 4, 'cidr': '117.236.224.192/26', 'allocation_pools': [{'start': '117.236.224.194', 'end': '117.236.224.254'}], 'gateway_ip': '117.236.224.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.236.224.194', 'tags': [], 'project_id': '8e7b70929fbe45d681a0e57970c2d194'}} 2026-09-17 17:21:58,852 - INFO - Created VN ctest-vn-04164616 2026-09-17 17:21:58,906 - DEBUG - VN ctest-vn-04164616 UUID is 2b309667-fabe-455f-879e-9bdd6ba6c1ee 2026-09-17 17:21:59,026 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41173266:ctest-vn-53687709, 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-41173266:ctest-vn-04164616, 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-09-17 17:21:59,356 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f4cfe4a2-db80-4aec-bc49-b69787eac362', 'name': 'ctest-vn-53687709', 'tenant_id': '8e7b70929fbe45d681a0e57970c2d194', 'project_id': '8e7b70929fbe45d681a0e57970c2d194', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['94f617c8-6836-45ce-b43b-66ab7bc72999'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41173266', 'ctest-vn-53687709'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41173266', 'ctest-policy-allow-all-21241982']], 'subnet_ipam': [{'subnet_cidr': '186.45.137.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-17 17:21:59,610 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2b309667-fabe-455f-879e-9bdd6ba6c1ee', 'name': 'ctest-vn-04164616', 'tenant_id': '8e7b70929fbe45d681a0e57970c2d194', 'project_id': '8e7b70929fbe45d681a0e57970c2d194', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['3d0c58f6-b64b-426a-b855-700b549671db'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41173266', 'ctest-vn-04164616'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41173266', 'ctest-policy-allow-all-21241982']], 'subnet_ipam': [{'subnet_cidr': '117.236.224.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-17 17:21:59,782 - DEBUG - Requesting: http://10.0.0.176:8082/domains 2026-09-17 17:22:00,153 - DEBUG - Requesting: http://10.0.0.176:8082/domains 2026-09-17 17:22:00,188 - DEBUG - Requesting: http://10.0.0.176:8082/domain/ca88d154-4617-4aa9-93a0-97f03c4498d2 2026-09-17 17:22:00,202 - DEBUG - Requesting: http://10.0.0.176:8082/project/8e7b7092-9fbe-45d6-81a0-e57970c2d194 2026-09-17 17:22:00,286 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/f4cfe4a2-db80-4aec-bc49-b69787eac362 2026-09-17 17:22:00,300 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/f4cfe4a2-db80-4aec-bc49-b69787eac362 2026-09-17 17:22:00,311 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/da2905c3-f830-4a43-9346-b1893f5694ee 2026-09-17 17:22:00,323 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/da2905c3-f830-4a43-9346-b1893f5694ee 2026-09-17 17:22:00,334 - DEBUG - Requesting: http://10.0.0.176:8082/route-target/c082837a-3e5b-4c4a-bd1d-d138c08175a4 2026-09-17 17:22:00,344 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-17 17:22:00,344 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/f4cfe4a2-db80-4aec-bc49-b69787eac362 2026-09-17 17:22:00,357 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/da2905c3-f830-4a43-9346-b1893f5694ee 2026-09-17 17:22:00,379 - INFO - Verified VN network id 12 for VN f4cfe4a2-db80-4aec-bc49-b69787eac362 2026-09-17 17:22:00,379 - INFO - Verifications in API Server for VN ctest-vn-53687709 passed 2026-09-17 17:22:00,379 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/f4cfe4a2-db80-4aec-bc49-b69787eac362 2026-09-17 17:22:00,389 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/da2905c3-f830-4a43-9346-b1893f5694ee 2026-09-17 17:22:00,397 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/da2905c3-f830-4a43-9346-b1893f5694ee 2026-09-17 17:22:00,405 - DEBUG - Requesting: http://10.0.0.176:8082/route-target/c082837a-3e5b-4c4a-bd1d-d138c08175a4 2026-09-17 17:22:00,419 - DEBUG - Control-node 10.0.0.176 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41173266:ctest-vn-53687709', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41173266', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17640569653551975148', 'uuid-lslong': '13567576114366956386'}, 'enable': 'true', 'created': '2026-09-17T17:21:57', 'last-modified': '2026-09-17T17:21:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.098710'} 2026-09-17 17:22:00,425 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-17 17:22:00,426 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53687709 passed 2026-09-17 17:22:00,426 - DEBUG - ====Verifying policy data for ctest-vn-53687709 in API_Server ====== 2026-09-17 17:22:00,426 - DEBUG - Requesting: http://10.0.0.176:8082/domains 2026-09-17 17:22:00,432 - DEBUG - Requesting: http://10.0.0.176:8082/domain/ca88d154-4617-4aa9-93a0-97f03c4498d2 2026-09-17 17:22:00,445 - DEBUG - Requesting: http://10.0.0.176:8082/project/8e7b7092-9fbe-45d6-81a0-e57970c2d194 2026-09-17 17:22:00,525 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/f4cfe4a2-db80-4aec-bc49-b69787eac362 2026-09-17 17:22:00,538 - DEBUG - ==>Verifying data for policy with id: f15ded29-1993-4def-8020-33902e5c567f, fqn: ['default-domain', 'ctest-TestBasicPolicy-41173266', 'ctest-policy-allow-all-21241982'] 2026-09-17 17:22:00,538 - INFO - VN ctest-vn-53687709 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-17 17:22:00,538 - DEBUG - Verifying the vn in opserver 2026-09-17 17:22:00,538 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41173266:ctest-vn-53687709 virtual network link through opserver 10.0.0.176 2026-09-17 17:22:00,538 - DEBUG - Requesting: http://10.0.0.176:8081/analytics/uves/virtual-networks 2026-09-17 17:22:00,911 - DEBUG - Requesting: http://10.0.0.176:8081/analytics/uves/virtual-networks 2026-09-17 17:22:00,972 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41173266:ctest-vn-53687709', 'href': 'http://10.0.0.176:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41173266:ctest-vn-53687709?flat'} 2026-09-17 17:22:00,972 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41173266:ctest-vn-53687709 is found in opserver 2026-09-17 17:22:00,985 - DEBUG - Do not have enough data to verify VN in agent 2026-09-17 17:22:00,991 - DEBUG - VRF ids for VN ctest-vn-53687709: {} 2026-09-17 17:22:00,991 - DEBUG - Requesting: http://10.0.0.176:8082/domains 2026-09-17 17:22:00,998 - DEBUG - Requesting: http://10.0.0.176:8082/domain/ca88d154-4617-4aa9-93a0-97f03c4498d2 2026-09-17 17:22:01,012 - DEBUG - Requesting: http://10.0.0.176:8082/project/8e7b7092-9fbe-45d6-81a0-e57970c2d194 2026-09-17 17:22:01,093 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/2b309667-fabe-455f-879e-9bdd6ba6c1ee 2026-09-17 17:22:01,108 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/2b309667-fabe-455f-879e-9bdd6ba6c1ee 2026-09-17 17:22:01,118 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/4402bf99-cc5f-4d47-b7ea-a5fb4e596a51 2026-09-17 17:22:01,127 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/4402bf99-cc5f-4d47-b7ea-a5fb4e596a51 2026-09-17 17:22:01,135 - DEBUG - Requesting: http://10.0.0.176:8082/route-target/995add6f-2fc3-416a-887f-a7b6b59d41f2 2026-09-17 17:22:01,144 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-17 17:22:01,144 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/2b309667-fabe-455f-879e-9bdd6ba6c1ee 2026-09-17 17:22:01,154 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/4402bf99-cc5f-4d47-b7ea-a5fb4e596a51 2026-09-17 17:22:01,171 - INFO - Verified VN network id 13 for VN 2b309667-fabe-455f-879e-9bdd6ba6c1ee 2026-09-17 17:22:01,172 - INFO - Verifications in API Server for VN ctest-vn-04164616 passed 2026-09-17 17:22:01,172 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/2b309667-fabe-455f-879e-9bdd6ba6c1ee 2026-09-17 17:22:01,183 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/4402bf99-cc5f-4d47-b7ea-a5fb4e596a51 2026-09-17 17:22:01,192 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/4402bf99-cc5f-4d47-b7ea-a5fb4e596a51 2026-09-17 17:22:01,200 - DEBUG - Requesting: http://10.0.0.176:8082/route-target/995add6f-2fc3-416a-887f-a7b6b59d41f2 2026-09-17 17:22:01,215 - DEBUG - Control-node 10.0.0.176 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41173266:ctest-vn-04164616', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41173266', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3112152715845584223', 'uuid-lslong': '9772419616736723438'}, 'enable': 'true', 'created': '2026-09-17T17:21:58', 'last-modified': '2026-09-17T17:21:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.639732'} 2026-09-17 17:22:01,222 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-17 17:22:01,223 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04164616 passed 2026-09-17 17:22:01,223 - DEBUG - ====Verifying policy data for ctest-vn-04164616 in API_Server ====== 2026-09-17 17:22:01,223 - DEBUG - Requesting: http://10.0.0.176:8082/domains 2026-09-17 17:22:01,229 - DEBUG - Requesting: http://10.0.0.176:8082/domain/ca88d154-4617-4aa9-93a0-97f03c4498d2 2026-09-17 17:22:01,240 - DEBUG - Requesting: http://10.0.0.176:8082/project/8e7b7092-9fbe-45d6-81a0-e57970c2d194 2026-09-17 17:22:01,320 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/2b309667-fabe-455f-879e-9bdd6ba6c1ee 2026-09-17 17:22:01,330 - DEBUG - ==>Verifying data for policy with id: f15ded29-1993-4def-8020-33902e5c567f, fqn: ['default-domain', 'ctest-TestBasicPolicy-41173266', 'ctest-policy-allow-all-21241982'] 2026-09-17 17:22:01,330 - INFO - VN ctest-vn-04164616 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-17 17:22:01,331 - DEBUG - Verifying the vn in opserver 2026-09-17 17:22:01,331 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41173266:ctest-vn-04164616 virtual network link through opserver 10.0.0.176 2026-09-17 17:22:01,331 - DEBUG - Requesting: http://10.0.0.176:8081/analytics/uves/virtual-networks 2026-09-17 17:22:01,342 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41173266:ctest-vn-04164616', 'href': 'http://10.0.0.176:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41173266:ctest-vn-04164616?flat'} 2026-09-17 17:22:01,342 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41173266:ctest-vn-04164616 is found in opserver 2026-09-17 17:22:01,356 - DEBUG - Do not have enough data to verify VN in agent 2026-09-17 17:22:01,361 - DEBUG - VRF ids for VN ctest-vn-04164616: {} 2026-09-17 17:22:01,441 - DEBUG - Services list from nova: [, , ] 2026-09-17 17:22:01,939 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6304-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6304-1) 2026-09-17 17:22:02,396 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6304-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6304-1) 2026-09-17 17:22:02,396 - INFO - Waiting for VM ctest-TestBasicPolicy-41173266-34681455 to be up.. 2026-09-17 17:22:02,437 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 17:22:07,529 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 17:22:12,623 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 17:22:17,709 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 17:22:22,793 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 17:22:27,883 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 17:22:32,984 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 17:22:38,083 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 17:22:43,173 - DEBUG - VM is in ACTIVE state now 2026-09-17 17:22:43,174 - INFO - VM name : ctest-TestBasicPolicy-41173266-34681455 2026-09-17 17:22:43,259 - DEBUG - VM ctest-TestBasicPolicy-41173266-34681455 ID is 6ae26b5f-5df2-4f95-8674-b119c8ee98de 2026-09-17 17:22:43,281 - DEBUG - VM ctest-TestBasicPolicy-41173266-34681455 launched on Node cn-jenkins-deploy-platform-ansible-os-6304-1 2026-09-17 17:22:43,367 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-machine/6ae26b5f-5df2-4f95-8674-b119c8ee98de 2026-09-17 17:22:43,378 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-machine-interface/e3c21082-da62-4d04-8797-34914e185207 2026-09-17 17:22:46,649 - 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 1019ms') 2026-09-17 17:22:46,649 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41173266-34681455 failed! 2026-09-17 17:22:46,710 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41173266:ctest-vn-53687709 is 186.45.137.193 and allocation pool is NOT set 2026-09-17 17:22:48,776 - 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=6.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.631 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 = 0.631/3.431/6.232/2.800 ms') 2026-09-17 17:22:48,776 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41173266-34681455 passed 2026-09-17 17:22:48,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 17:22:48,930 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41173266-34681455, IP 186.45.137.195, Port 22 2026-09-17 17:22:49,000 - 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-09-17 17:22:49,083 - DEBUG - VM ctest-TestBasicPolicy-41173266-34681455 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-17 17:22:54,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 17:22:54,084 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41173266-34681455, IP 186.45.137.195, Port 22 2026-09-17 17:22:54,258 - DEBUG - VM ctest-TestBasicPolicy-41173266-34681455 is ready for SSH connections 2026-09-17 17:22:54,258 - INFO - Waiting for VM ctest-TestBasicPolicy-41173266-23141525 to be up.. 2026-09-17 17:22:54,349 - DEBUG - VM is in ACTIVE state now 2026-09-17 17:22:54,350 - INFO - VM name : ctest-TestBasicPolicy-41173266-23141525 2026-09-17 17:22:54,436 - DEBUG - VM ctest-TestBasicPolicy-41173266-23141525 ID is b81a6861-793d-4f95-b298-9ad3653001bf 2026-09-17 17:22:54,437 - DEBUG - VM ctest-TestBasicPolicy-41173266-23141525 launched on Node cn-jenkins-deploy-platform-ansible-os-6304-1 2026-09-17 17:22:54,520 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-machine/b81a6861-793d-4f95-b298-9ad3653001bf 2026-09-17 17:22:54,530 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-machine-interface/ee3f00f7-2e36-49c4-9542-271020d98d83 2026-09-17 17:22:55,788 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.540 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.540/2.115/3.691/1.575 ms') 2026-09-17 17:22:55,788 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-41173266-23141525 passed 2026-09-17 17:22:55,942 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 17:22:55,942 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41173266-23141525, IP 117.236.224.195, Port 22 2026-09-17 17:22:56,120 - DEBUG - VM ctest-TestBasicPolicy-41173266-23141525 is ready for SSH connections 2026-09-17 17:22:56,120 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 17:22:56,121 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.236.224.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.176, gateway password: c0ntrail123 2026-09-17 17:22:56,121 - DEBUG - ping -s 56 -c 3 -W 1 117.236.224.195 2026-09-17 17:23:00,173 - DEBUG - PING 117.236.224.195 (117.236.224.195): 56 data bytes 64 bytes from 117.236.224.195: seq=0 ttl=63 time=4.553 ms 64 bytes from 117.236.224.195: seq=1 ttl=63 time=1.163 ms 64 bytes from 117.236.224.195: seq=2 ttl=63 time=17.245 ms --- 117.236.224.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.163/7.653/17.245 ms 2026-09-17 17:23:00,173 - INFO - Ping to IP 117.236.224.195 from VM ctest-TestBasicPolicy-41173266-34681455 passed 2026-09-17 17:23:00,370 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f15ded29-1993-4def-8020-33902e5c567f", "href": "http://10.0.0.176:8082/network-policy/f15ded29-1993-4def-8020-33902e5c567f"}} 2026-09-17 17:23:00,370 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 17:23:00,370 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.236.224.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.176, gateway password: c0ntrail123 2026-09-17 17:23:00,370 - DEBUG - ping -s 56 -c 3 -W 1 117.236.224.195 2026-09-17 17:23:03,515 - DEBUG - PING 117.236.224.195 (117.236.224.195): 56 data bytes 64 bytes from 117.236.224.195: seq=0 ttl=63 time=1.987 ms --- 117.236.224.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.987/1.987/1.987 ms 2026-09-17 17:23:03,515 - WARNING - Ping to IP 117.236.224.195 from VM ctest-TestBasicPolicy-41173266-34681455 failed 2026-09-17 17:23:03,515 - INFO - Deleting VM ctest-TestBasicPolicy-41173266-23141525 2026-09-17 17:23:03,615 - INFO - Deleting VM ctest-TestBasicPolicy-41173266-34681455 2026-09-17 17:23:04,064 - INFO - Deleted policy ctest-policy-allow-all-21241982 2026-09-17 17:23:04,065 - INFO - Deleting VN ctest-vn-04164616 2026-09-17 17:23:04,107 - DEBUG - VN 2b309667-fabe-455f-879e-9bdd6ba6c1ee still in use: Unable to complete operation on network 2b309667-fabe-455f-879e-9bdd6ba6c1ee. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b4e0f293-04e6-4076-95f1-4e3b335cca4a'] 2026-09-17 17:23:04,108 - WARNING - Deleting VN ctest-vn-04164616 failed..Will retry 2026-09-17 17:23:06,230 - DEBUG - Response for deleting network () 2026-09-17 17:23:06,230 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/4402bf99-cc5f-4d47-b7ea-a5fb4e596a51 2026-09-17 17:23:06,236 - DEBUG - Response Code: 404 2026-09-17 17:23:06,237 - DEBUG - Requesting: http://10.0.0.176:8082/domains 2026-09-17 17:23:06,248 - DEBUG - Requesting: http://10.0.0.176:8082/domain/ca88d154-4617-4aa9-93a0-97f03c4498d2 2026-09-17 17:23:06,306 - DEBUG - Requesting: http://10.0.0.176:8082/project/8e7b7092-9fbe-45d6-81a0-e57970c2d194 2026-09-17 17:23:06,382 - INFO - Validated that VN ctest-vn-04164616 is not found in API Server 2026-09-17 17:23:06,400 - DEBUG - VN ctest-vn-04164616 is not present in Agent 10.0.0.176 2026-09-17 17:23:06,400 - INFO - Validated that VN ctest-vn-04164616 is not in any agent 2026-09-17 17:23:06,424 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04164616 info 2026-09-17 17:23:06,424 - INFO - Deleting VN ctest-vn-53687709 2026-09-17 17:23:06,542 - DEBUG - Response for deleting network () 2026-09-17 17:23:06,542 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/da2905c3-f830-4a43-9346-b1893f5694ee 2026-09-17 17:23:06,548 - DEBUG - Response Code: 404 2026-09-17 17:23:06,548 - DEBUG - Requesting: http://10.0.0.176:8082/domains 2026-09-17 17:23:06,560 - DEBUG - Requesting: http://10.0.0.176:8082/domain/ca88d154-4617-4aa9-93a0-97f03c4498d2 2026-09-17 17:23:06,617 - DEBUG - Requesting: http://10.0.0.176:8082/project/8e7b7092-9fbe-45d6-81a0-e57970c2d194 2026-09-17 17:23:06,698 - INFO - Validated that VN ctest-vn-53687709 is not found in API Server 2026-09-17 17:23:06,714 - DEBUG - VN ctest-vn-53687709 is not present in Agent 10.0.0.176 2026-09-17 17:23:06,714 - INFO - Validated that VN ctest-vn-53687709 is not in any agent 2026-09-17 17:23:06,737 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53687709 info 2026-09-17 17:23:07,011 - DEBUG - No XMPP flaps were noticed during the test 2026-09-17 17:23:07,011 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:10] 2026-09-17 17:23:07,011 - INFO - -------------------------------------------------------------------------------- 2026-09-17 17:23:07,787 - INFO - Deleted project: ctest-TestBasicPolicy-41173266, ID : 8e7b7092-9fbe-45d6-81a0-e57970c2d194