2026-09-29 17:52:38,983 - INFO - Domain Default found not creating 2026-09-29 17:52:39,147 - INFO - Project ctest-TestBasicPolicy-53135221 not found, creating it 2026-09-29 17:52:39,672 - INFO - Created Project:ctest-TestBasicPolicy-53135221, ID : a813a6e7-56ee-4e4b-b14d-e52ebcd65a59 2026-09-29 17:52:41,418 - INFO - ================================================================================ 2026-09-29 17:52:41,418 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-29 17:52:41,418 - 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-29 17:52:41,684 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.25': '0'}} with 2026-09-29 17:52:41,684 - INFO - Initial checks done. Running the testcase now 2026-09-29 17:52:41,684 - INFO - 2026-09-29 17:52:42,327 - DEBUG - Response for create_network : {'network': {'id': 'eae10780-ffbf-4e68-99f5-836fc3dfd5bf', 'name': 'ctest-vn-13035699', 'tenant_id': 'a813a6e756ee4e4bb14de52ebcd65a59', 'project_id': 'a813a6e756ee4e4bb14de52ebcd65a59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53135221', 'ctest-vn-13035699'], 'port_security_enabled': True, 'description': ''}} 2026-09-29 17:52:42,503 - DEBUG - Response for create_subnet : {'subnet': {'id': '8656d6f1-4b92-4fbb-b495-2d71ab4b9c4d', 'name': '', 'tenant_id': 'a813a6e756ee4e4bb14de52ebcd65a59', 'network_id': 'eae10780-ffbf-4e68-99f5-836fc3dfd5bf', 'ip_version': 4, 'cidr': '202.253.19.128/26', 'allocation_pools': [{'start': '202.253.19.130', 'end': '202.253.19.190'}], 'gateway_ip': '202.253.19.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.253.19.130', 'tags': [], 'project_id': 'a813a6e756ee4e4bb14de52ebcd65a59'}} 2026-09-29 17:52:42,519 - INFO - Created VN ctest-vn-13035699 2026-09-29 17:52:42,579 - DEBUG - VN ctest-vn-13035699 UUID is eae10780-ffbf-4e68-99f5-836fc3dfd5bf 2026-09-29 17:52:42,918 - DEBUG - Response for create_network : {'network': {'id': 'baa409ad-4f13-4def-8f71-6d7c39329f9a', 'name': 'ctest-vn-44745704', 'tenant_id': 'a813a6e756ee4e4bb14de52ebcd65a59', 'project_id': 'a813a6e756ee4e4bb14de52ebcd65a59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53135221', 'ctest-vn-44745704'], 'port_security_enabled': True, 'description': ''}} 2026-09-29 17:52:43,109 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bdfc0239-a32a-45ca-b8ce-5a8c3babc442', 'name': '', 'tenant_id': 'a813a6e756ee4e4bb14de52ebcd65a59', 'network_id': 'baa409ad-4f13-4def-8f71-6d7c39329f9a', 'ip_version': 4, 'cidr': '165.215.26.128/26', 'allocation_pools': [{'start': '165.215.26.130', 'end': '165.215.26.190'}], 'gateway_ip': '165.215.26.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.215.26.130', 'tags': [], 'project_id': 'a813a6e756ee4e4bb14de52ebcd65a59'}} 2026-09-29 17:52:43,127 - INFO - Created VN ctest-vn-44745704 2026-09-29 17:52:43,183 - DEBUG - VN ctest-vn-44745704 UUID is baa409ad-4f13-4def-8f71-6d7c39329f9a 2026-09-29 17:52:43,335 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-53135221:ctest-vn-13035699, 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-53135221:ctest-vn-44745704, 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-29 17:52:43,655 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eae10780-ffbf-4e68-99f5-836fc3dfd5bf', 'name': 'ctest-vn-13035699', 'tenant_id': 'a813a6e756ee4e4bb14de52ebcd65a59', 'project_id': 'a813a6e756ee4e4bb14de52ebcd65a59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['8656d6f1-4b92-4fbb-b495-2d71ab4b9c4d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53135221', 'ctest-vn-13035699'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53135221', 'ctest-policy-allow-all-46826981']], 'subnet_ipam': [{'subnet_cidr': '202.253.19.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-29 17:52:43,925 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'baa409ad-4f13-4def-8f71-6d7c39329f9a', 'name': 'ctest-vn-44745704', 'tenant_id': 'a813a6e756ee4e4bb14de52ebcd65a59', 'project_id': 'a813a6e756ee4e4bb14de52ebcd65a59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['bdfc0239-a32a-45ca-b8ce-5a8c3babc442'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53135221', 'ctest-vn-44745704'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53135221', 'ctest-policy-allow-all-46826981']], 'subnet_ipam': [{'subnet_cidr': '165.215.26.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-29 17:52:44,095 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-29 17:52:44,502 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-29 17:52:44,536 - DEBUG - Requesting: http://10.0.0.189:8082/domain/13ba8da2-58f4-4cf9-9175-d5a20e4a8c86 2026-09-29 17:52:44,548 - DEBUG - Requesting: http://10.0.0.189:8082/project/a813a6e7-56ee-4e4b-b14d-e52ebcd65a59 2026-09-29 17:52:44,630 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/eae10780-ffbf-4e68-99f5-836fc3dfd5bf 2026-09-29 17:52:44,641 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/eae10780-ffbf-4e68-99f5-836fc3dfd5bf 2026-09-29 17:52:44,650 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/2c958a3a-dcbb-42a3-a333-960d14a0c636 2026-09-29 17:52:44,657 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/2c958a3a-dcbb-42a3-a333-960d14a0c636 2026-09-29 17:52:44,663 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/adfd393c-5fc8-44ed-b987-a30562ffa5e1 2026-09-29 17:52:44,669 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-29 17:52:44,669 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/eae10780-ffbf-4e68-99f5-836fc3dfd5bf 2026-09-29 17:52:44,677 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/2c958a3a-dcbb-42a3-a333-960d14a0c636 2026-09-29 17:52:44,690 - INFO - Verified VN network id 12 for VN eae10780-ffbf-4e68-99f5-836fc3dfd5bf 2026-09-29 17:52:44,690 - INFO - Verifications in API Server for VN ctest-vn-13035699 passed 2026-09-29 17:52:44,690 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/eae10780-ffbf-4e68-99f5-836fc3dfd5bf 2026-09-29 17:52:44,699 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/2c958a3a-dcbb-42a3-a333-960d14a0c636 2026-09-29 17:52:44,704 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/2c958a3a-dcbb-42a3-a333-960d14a0c636 2026-09-29 17:52:44,710 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/adfd393c-5fc8-44ed-b987-a30562ffa5e1 2026-09-29 17:52:44,722 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53135221:ctest-vn-13035699', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53135221', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16924817125262970472', 'uuid-lslong': '11093917773147919807'}, 'enable': 'true', 'created': '2026-09-29T17:52:42', 'last-modified': '2026-09-29T17:52:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.102364'} 2026-09-29 17:52:44,729 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-29 17:52:44,729 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13035699 passed 2026-09-29 17:52:44,729 - DEBUG - ====Verifying policy data for ctest-vn-13035699 in API_Server ====== 2026-09-29 17:52:44,729 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-29 17:52:44,734 - DEBUG - Requesting: http://10.0.0.189:8082/domain/13ba8da2-58f4-4cf9-9175-d5a20e4a8c86 2026-09-29 17:52:44,746 - DEBUG - Requesting: http://10.0.0.189:8082/project/a813a6e7-56ee-4e4b-b14d-e52ebcd65a59 2026-09-29 17:52:44,831 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/eae10780-ffbf-4e68-99f5-836fc3dfd5bf 2026-09-29 17:52:44,843 - DEBUG - ==>Verifying data for policy with id: e6b762f7-efa7-40f1-86d4-3fb32ca4c251, fqn: ['default-domain', 'ctest-TestBasicPolicy-53135221', 'ctest-policy-allow-all-46826981'] 2026-09-29 17:52:44,843 - INFO - VN ctest-vn-13035699 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-29 17:52:44,843 - DEBUG - Verifying the vn in opserver 2026-09-29 17:52:44,843 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53135221:ctest-vn-13035699 virtual network link through opserver 10.0.0.189 2026-09-29 17:52:44,843 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-09-29 17:52:45,279 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-09-29 17:52:45,341 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53135221:ctest-vn-13035699', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53135221:ctest-vn-13035699?flat'} 2026-09-29 17:52:45,342 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53135221:ctest-vn-13035699 is found in opserver 2026-09-29 17:52:45,351 - DEBUG - Do not have enough data to verify VN in agent 2026-09-29 17:52:45,356 - DEBUG - VRF ids for VN ctest-vn-13035699: {} 2026-09-29 17:52:45,356 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-29 17:52:45,361 - DEBUG - Requesting: http://10.0.0.189:8082/domain/13ba8da2-58f4-4cf9-9175-d5a20e4a8c86 2026-09-29 17:52:45,372 - DEBUG - Requesting: http://10.0.0.189:8082/project/a813a6e7-56ee-4e4b-b14d-e52ebcd65a59 2026-09-29 17:52:45,441 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/baa409ad-4f13-4def-8f71-6d7c39329f9a 2026-09-29 17:52:45,453 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/baa409ad-4f13-4def-8f71-6d7c39329f9a 2026-09-29 17:52:45,463 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/000e11f9-15a0-460f-8946-6e33d592855e 2026-09-29 17:52:45,471 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/000e11f9-15a0-460f-8946-6e33d592855e 2026-09-29 17:52:45,479 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/a9fe8de9-ee58-4a1b-87a9-890e8c0fd400 2026-09-29 17:52:45,486 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-29 17:52:45,487 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/baa409ad-4f13-4def-8f71-6d7c39329f9a 2026-09-29 17:52:45,497 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/000e11f9-15a0-460f-8946-6e33d592855e 2026-09-29 17:52:45,513 - INFO - Verified VN network id 13 for VN baa409ad-4f13-4def-8f71-6d7c39329f9a 2026-09-29 17:52:45,513 - INFO - Verifications in API Server for VN ctest-vn-44745704 passed 2026-09-29 17:52:45,513 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/baa409ad-4f13-4def-8f71-6d7c39329f9a 2026-09-29 17:52:45,521 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/000e11f9-15a0-460f-8946-6e33d592855e 2026-09-29 17:52:45,527 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/000e11f9-15a0-460f-8946-6e33d592855e 2026-09-29 17:52:45,533 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/a9fe8de9-ee58-4a1b-87a9-890e8c0fd400 2026-09-29 17:52:45,546 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53135221:ctest-vn-44745704', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53135221', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13448885027195801071', 'uuid-lslong': '10336163000094990234'}, 'enable': 'true', 'created': '2026-09-29T17:52:42', 'last-modified': '2026-09-29T17:52:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.658434'} 2026-09-29 17:52:45,555 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-29 17:52:45,555 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44745704 passed 2026-09-29 17:52:45,555 - DEBUG - ====Verifying policy data for ctest-vn-44745704 in API_Server ====== 2026-09-29 17:52:45,555 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-29 17:52:45,560 - DEBUG - Requesting: http://10.0.0.189:8082/domain/13ba8da2-58f4-4cf9-9175-d5a20e4a8c86 2026-09-29 17:52:45,569 - DEBUG - Requesting: http://10.0.0.189:8082/project/a813a6e7-56ee-4e4b-b14d-e52ebcd65a59 2026-09-29 17:52:45,639 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/baa409ad-4f13-4def-8f71-6d7c39329f9a 2026-09-29 17:52:45,651 - DEBUG - ==>Verifying data for policy with id: e6b762f7-efa7-40f1-86d4-3fb32ca4c251, fqn: ['default-domain', 'ctest-TestBasicPolicy-53135221', 'ctest-policy-allow-all-46826981'] 2026-09-29 17:52:45,651 - INFO - VN ctest-vn-44745704 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-29 17:52:45,651 - DEBUG - Verifying the vn in opserver 2026-09-29 17:52:45,651 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53135221:ctest-vn-44745704 virtual network link through opserver 10.0.0.189 2026-09-29 17:52:45,651 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-09-29 17:52:45,661 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53135221:ctest-vn-44745704', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53135221:ctest-vn-44745704?flat'} 2026-09-29 17:52:45,661 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53135221:ctest-vn-44745704 is found in opserver 2026-09-29 17:52:45,672 - DEBUG - Do not have enough data to verify VN in agent 2026-09-29 17:52:45,678 - DEBUG - VRF ids for VN ctest-vn-44745704: {} 2026-09-29 17:52:45,733 - DEBUG - Services list from nova: [, , ] 2026-09-29 17:52:46,137 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6328-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6328-1) 2026-09-29 17:52:46,527 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6328-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6328-1) 2026-09-29 17:52:46,527 - INFO - Waiting for VM ctest-TestBasicPolicy-53135221-83931844 to be up.. 2026-09-29 17:52:46,564 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 17:52:51,637 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 17:52:56,712 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 17:53:01,789 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 17:53:06,865 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 17:53:11,945 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 17:53:17,014 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 17:53:22,093 - DEBUG - VM is in ACTIVE state now 2026-09-29 17:53:22,093 - INFO - VM name : ctest-TestBasicPolicy-53135221-83931844 2026-09-29 17:53:22,180 - DEBUG - VM ctest-TestBasicPolicy-53135221-83931844 ID is 95c79950-8f16-41c0-a912-594b872aae68 2026-09-29 17:53:22,207 - DEBUG - VM ctest-TestBasicPolicy-53135221-83931844 launched on Node cn-jenkins-deploy-platform-ansible-os-6328-1 2026-09-29 17:53:22,286 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/95c79950-8f16-41c0-a912-594b872aae68 2026-09-29 17:53:22,295 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/aa7b1590-5c56-4d4c-adf4-699284e38475 2026-09-29 17:53:25,517 - 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 1030ms') 2026-09-29 17:53:25,517 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53135221-83931844 failed! 2026-09-29 17:53:25,571 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-53135221:ctest-vn-13035699 is 202.253.19.129 and allocation pool is NOT set 2026-09-29 17:53:27,633 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.04 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 = 4.042/6.891/9.741/2.849 ms') 2026-09-29 17:53:27,633 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53135221-83931844 passed 2026-09-29 17:53:27,783 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-29 17:53:27,783 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53135221-83931844, IP 202.253.19.131, Port 22 2026-09-29 17:53:27,849 - 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-29 17:53:27,937 - DEBUG - VM ctest-TestBasicPolicy-53135221-83931844 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-29 17:53:32,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-29 17:53:32,938 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53135221-83931844, IP 202.253.19.131, Port 22 2026-09-29 17:53:33,105 - DEBUG - VM ctest-TestBasicPolicy-53135221-83931844 is ready for SSH connections 2026-09-29 17:53:33,106 - INFO - Waiting for VM ctest-TestBasicPolicy-53135221-47884259 to be up.. 2026-09-29 17:53:33,184 - DEBUG - VM is in ACTIVE state now 2026-09-29 17:53:33,184 - INFO - VM name : ctest-TestBasicPolicy-53135221-47884259 2026-09-29 17:53:33,259 - DEBUG - VM ctest-TestBasicPolicy-53135221-47884259 ID is 82066573-5232-46ac-bebe-2dc0c537d046 2026-09-29 17:53:33,260 - DEBUG - VM ctest-TestBasicPolicy-53135221-47884259 launched on Node cn-jenkins-deploy-platform-ansible-os-6328-1 2026-09-29 17:53:33,338 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/82066573-5232-46ac-bebe-2dc0c537d046 2026-09-29 17:53:33,346 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/8e835609-eb2b-44bb-bd2a-6dfcc29484a1 2026-09-29 17:53:34,578 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.344 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.344/2.092/3.840/1.748 ms') 2026-09-29 17:53:34,578 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-53135221-47884259 passed 2026-09-29 17:53:34,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-29 17:53:34,731 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53135221-47884259, IP 165.215.26.131, Port 22 2026-09-29 17:53:34,896 - DEBUG - VM ctest-TestBasicPolicy-53135221-47884259 is ready for SSH connections 2026-09-29 17:53:34,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-29 17:53:34,897 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.215.26.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-09-29 17:53:34,897 - DEBUG - ping -s 56 -c 3 -W 1 165.215.26.131 2026-09-29 17:53:38,927 - DEBUG - PING 165.215.26.131 (165.215.26.131): 56 data bytes 64 bytes from 165.215.26.131: seq=0 ttl=63 time=4.392 ms 64 bytes from 165.215.26.131: seq=1 ttl=63 time=0.927 ms 64 bytes from 165.215.26.131: seq=2 ttl=63 time=1.009 ms --- 165.215.26.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.927/2.109/4.392 ms 2026-09-29 17:53:38,927 - INFO - Ping to IP 165.215.26.131 from VM ctest-TestBasicPolicy-53135221-83931844 passed 2026-09-29 17:53:39,107 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e6b762f7-efa7-40f1-86d4-3fb32ca4c251", "href": "http://10.0.0.189:8082/network-policy/e6b762f7-efa7-40f1-86d4-3fb32ca4c251"}} 2026-09-29 17:53:39,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-29 17:53:39,107 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.215.26.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-09-29 17:53:39,107 - DEBUG - ping -s 56 -c 3 -W 1 165.215.26.131 2026-09-29 17:53:42,239 - DEBUG - PING 165.215.26.131 (165.215.26.131): 56 data bytes 64 bytes from 165.215.26.131: seq=0 ttl=63 time=1.304 ms --- 165.215.26.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.304/1.304/1.304 ms 2026-09-29 17:53:42,239 - WARNING - Ping to IP 165.215.26.131 from VM ctest-TestBasicPolicy-53135221-83931844 failed 2026-09-29 17:53:42,239 - INFO - Deleting VM ctest-TestBasicPolicy-53135221-47884259 2026-09-29 17:53:42,325 - INFO - Deleting VM ctest-TestBasicPolicy-53135221-83931844 2026-09-29 17:53:42,732 - INFO - Deleted policy ctest-policy-allow-all-46826981 2026-09-29 17:53:42,732 - INFO - Deleting VN ctest-vn-44745704 2026-09-29 17:53:42,777 - DEBUG - VN baa409ad-4f13-4def-8f71-6d7c39329f9a still in use: Unable to complete operation on network baa409ad-4f13-4def-8f71-6d7c39329f9a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-01bfe83b-2419-416b-9ab8-2c770102b856'] 2026-09-29 17:53:42,777 - WARNING - Deleting VN ctest-vn-44745704 failed..Will retry 2026-09-29 17:53:44,885 - DEBUG - Response for deleting network () 2026-09-29 17:53:44,886 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/000e11f9-15a0-460f-8946-6e33d592855e 2026-09-29 17:53:44,891 - DEBUG - Response Code: 404 2026-09-29 17:53:44,891 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-29 17:53:44,896 - DEBUG - Requesting: http://10.0.0.189:8082/domain/13ba8da2-58f4-4cf9-9175-d5a20e4a8c86 2026-09-29 17:53:44,949 - DEBUG - Requesting: http://10.0.0.189:8082/project/a813a6e7-56ee-4e4b-b14d-e52ebcd65a59 2026-09-29 17:53:45,022 - INFO - Validated that VN ctest-vn-44745704 is not found in API Server 2026-09-29 17:53:45,035 - DEBUG - VN ctest-vn-44745704 is not present in Agent 10.0.0.189 2026-09-29 17:53:45,035 - INFO - Validated that VN ctest-vn-44745704 is not in any agent 2026-09-29 17:53:45,051 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44745704 info 2026-09-29 17:53:45,051 - INFO - Deleting VN ctest-vn-13035699 2026-09-29 17:53:45,155 - DEBUG - Response for deleting network () 2026-09-29 17:53:45,156 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/2c958a3a-dcbb-42a3-a333-960d14a0c636 2026-09-29 17:53:45,164 - DEBUG - Response Code: 404 2026-09-29 17:53:45,164 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-09-29 17:53:45,169 - DEBUG - Requesting: http://10.0.0.189:8082/domain/13ba8da2-58f4-4cf9-9175-d5a20e4a8c86 2026-09-29 17:53:45,224 - DEBUG - Requesting: http://10.0.0.189:8082/project/a813a6e7-56ee-4e4b-b14d-e52ebcd65a59 2026-09-29 17:53:45,304 - INFO - Validated that VN ctest-vn-13035699 is not found in API Server 2026-09-29 17:53:45,313 - DEBUG - VN ctest-vn-13035699 is not present in Agent 10.0.0.189 2026-09-29 17:53:45,313 - INFO - Validated that VN ctest-vn-13035699 is not in any agent 2026-09-29 17:53:45,329 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13035699 info 2026-09-29 17:53:45,632 - DEBUG - No XMPP flaps were noticed during the test 2026-09-29 17:53:45,632 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:04] 2026-09-29 17:53:45,632 - INFO - -------------------------------------------------------------------------------- 2026-09-29 17:53:46,649 - INFO - Deleted project: ctest-TestBasicPolicy-53135221, ID : a813a6e7-56ee-4e4b-b14d-e52ebcd65a59