2026-11-02 02:22:38,636 - INFO - Domain Default found not creating 2026-11-02 02:22:38,811 - INFO - Project ctest-TestBasicPolicy-91420020 not found, creating it 2026-11-02 02:22:39,276 - INFO - Created Project:ctest-TestBasicPolicy-91420020, ID : 538b723b-5081-49f2-a050-06bd6d44ebb4 2026-11-02 02:22:40,936 - INFO - ================================================================================ 2026-11-02 02:22:40,937 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-02 02:22:40,937 - 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-11-02 02:22:41,196 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with 2026-11-02 02:22:41,196 - INFO - Initial checks done. Running the testcase now 2026-11-02 02:22:41,196 - INFO - 2026-11-02 02:22:41,789 - DEBUG - Response for create_network : {'network': {'id': 'a416c840-66e8-4c0a-bf72-5235819dfd5b', 'name': 'ctest-vn-50085850', 'tenant_id': '538b723b508149f2a05006bd6d44ebb4', 'project_id': '538b723b508149f2a05006bd6d44ebb4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91420020', 'ctest-vn-50085850'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-11-02 02:22:41,951 - DEBUG - Response for create_subnet : {'subnet': {'id': '478853f1-8cbb-4e90-8227-2004dd9309f7', 'name': '', 'tenant_id': '538b723b508149f2a05006bd6d44ebb4', 'network_id': 'a416c840-66e8-4c0a-bf72-5235819dfd5b', 'ip_version': 4, 'cidr': '114.132.252.192/26', 'allocation_pools': [{'start': '114.132.252.194', 'end': '114.132.252.254'}], 'gateway_ip': '114.132.252.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-11-02T02:22:41.907324', 'updated_at': '2026-11-02T02:22:41.907324', 'dns_server_address': '114.132.252.194', 'tags': [], 'project_id': '538b723b508149f2a05006bd6d44ebb4'}} 2026-11-02 02:22:41,965 - INFO - Created VN ctest-vn-50085850 2026-11-02 02:22:42,014 - DEBUG - VN ctest-vn-50085850 UUID is a416c840-66e8-4c0a-bf72-5235819dfd5b 2026-11-02 02:22:42,330 - DEBUG - Response for create_network : {'network': {'id': 'd0e3cce2-9ec1-4534-bedd-3ddbcf75275b', 'name': 'ctest-vn-41750427', 'tenant_id': '538b723b508149f2a05006bd6d44ebb4', 'project_id': '538b723b508149f2a05006bd6d44ebb4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91420020', 'ctest-vn-41750427'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-11-02 02:22:42,513 - DEBUG - Response for create_subnet : {'subnet': {'id': '560b5f03-0b37-499a-9f9e-4292c21a8521', 'name': '', 'tenant_id': '538b723b508149f2a05006bd6d44ebb4', 'network_id': 'd0e3cce2-9ec1-4534-bedd-3ddbcf75275b', 'ip_version': 4, 'cidr': '207.122.216.128/26', 'allocation_pools': [{'start': '207.122.216.130', 'end': '207.122.216.190'}], 'gateway_ip': '207.122.216.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-11-02T02:22:42.459610', 'updated_at': '2026-11-02T02:22:42.459610', 'dns_server_address': '207.122.216.130', 'tags': [], 'project_id': '538b723b508149f2a05006bd6d44ebb4'}} 2026-11-02 02:22:42,531 - INFO - Created VN ctest-vn-41750427 2026-11-02 02:22:42,582 - DEBUG - VN ctest-vn-41750427 UUID is d0e3cce2-9ec1-4534-bedd-3ddbcf75275b 2026-11-02 02:22:42,726 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-91420020:ctest-vn-50085850, 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-91420020:ctest-vn-41750427, 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-11-02 02:22:43,014 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a416c840-66e8-4c0a-bf72-5235819dfd5b', 'name': 'ctest-vn-50085850', 'tenant_id': '538b723b508149f2a05006bd6d44ebb4', 'project_id': '538b723b508149f2a05006bd6d44ebb4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['478853f1-8cbb-4e90-8227-2004dd9309f7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91420020', 'ctest-vn-50085850'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91420020', 'ctest-policy-allow-all-78820309']], 'subnet_ipam': [{'subnet_cidr': '114.132.252.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-11-02T02:22:41.761788', 'updated_at': '2026-11-02T02:22:41.919136'}} 2026-11-02 02:22:43,226 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd0e3cce2-9ec1-4534-bedd-3ddbcf75275b', 'name': 'ctest-vn-41750427', 'tenant_id': '538b723b508149f2a05006bd6d44ebb4', 'project_id': '538b723b508149f2a05006bd6d44ebb4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['560b5f03-0b37-499a-9f9e-4292c21a8521'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91420020', 'ctest-vn-41750427'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91420020', 'ctest-policy-allow-all-78820309']], 'subnet_ipam': [{'subnet_cidr': '207.122.216.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-11-02T02:22:42.292894', 'updated_at': '2026-11-02T02:22:42.472098'}} 2026-11-02 02:22:43,398 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-02 02:22:43,761 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-02 02:22:43,788 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c01ed095-7ad8-46a9-91c3-c9c005d4f498 2026-11-02 02:22:43,800 - DEBUG - Requesting: http://10.0.0.38:8082/project/538b723b-5081-49f2-a050-06bd6d44ebb4 2026-11-02 02:22:43,868 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a416c840-66e8-4c0a-bf72-5235819dfd5b 2026-11-02 02:22:43,878 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a416c840-66e8-4c0a-bf72-5235819dfd5b 2026-11-02 02:22:43,886 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/58e3e552-3eb2-4054-8cb8-e7aeff39807c 2026-11-02 02:22:43,892 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/58e3e552-3eb2-4054-8cb8-e7aeff39807c 2026-11-02 02:22:43,897 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ec8ea71e-8dc3-4c96-9954-5ef576daf81c 2026-11-02 02:22:43,902 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-02 02:22:43,902 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a416c840-66e8-4c0a-bf72-5235819dfd5b 2026-11-02 02:22:43,909 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/58e3e552-3eb2-4054-8cb8-e7aeff39807c 2026-11-02 02:22:43,921 - INFO - Verified VN network id 11 for VN a416c840-66e8-4c0a-bf72-5235819dfd5b 2026-11-02 02:22:43,921 - INFO - Verifications in API Server for VN ctest-vn-50085850 passed 2026-11-02 02:22:43,921 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a416c840-66e8-4c0a-bf72-5235819dfd5b 2026-11-02 02:22:43,929 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/58e3e552-3eb2-4054-8cb8-e7aeff39807c 2026-11-02 02:22:43,935 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/58e3e552-3eb2-4054-8cb8-e7aeff39807c 2026-11-02 02:22:43,940 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ec8ea71e-8dc3-4c96-9954-5ef576daf81c 2026-11-02 02:22:43,951 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91420020:ctest-vn-50085850', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91420020', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11823858050637777930', 'uuid-lslong': '13795178998350609755'}, 'enable': 'true', 'created': '2026-11-02T02:22:41', 'last-modified': '2026-11-02T02:22:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.954443'} 2026-11-02 02:22:43,958 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-02 02:22:43,958 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50085850 passed 2026-11-02 02:22:43,958 - DEBUG - ====Verifying policy data for ctest-vn-50085850 in API_Server ====== 2026-11-02 02:22:43,958 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-02 02:22:43,962 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c01ed095-7ad8-46a9-91c3-c9c005d4f498 2026-11-02 02:22:43,971 - DEBUG - Requesting: http://10.0.0.38:8082/project/538b723b-5081-49f2-a050-06bd6d44ebb4 2026-11-02 02:22:44,039 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a416c840-66e8-4c0a-bf72-5235819dfd5b 2026-11-02 02:22:44,049 - DEBUG - ==>Verifying data for policy with id: aa16111d-2242-4b27-a778-dc2fc382602e, fqn: ['default-domain', 'ctest-TestBasicPolicy-91420020', 'ctest-policy-allow-all-78820309'] 2026-11-02 02:22:44,049 - INFO - VN ctest-vn-50085850 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-02 02:22:44,049 - DEBUG - Verifying the vn in opserver 2026-11-02 02:22:44,049 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91420020:ctest-vn-50085850 virtual network link through opserver 10.0.0.38 2026-11-02 02:22:44,049 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-11-02 02:22:44,412 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-11-02 02:22:44,466 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91420020:ctest-vn-50085850', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91420020:ctest-vn-50085850?flat'} 2026-11-02 02:22:44,466 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91420020:ctest-vn-50085850 is found in opserver 2026-11-02 02:22:44,477 - DEBUG - Do not have enough data to verify VN in agent 2026-11-02 02:22:44,481 - DEBUG - VRF ids for VN ctest-vn-50085850: {} 2026-11-02 02:22:44,481 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-02 02:22:44,488 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c01ed095-7ad8-46a9-91c3-c9c005d4f498 2026-11-02 02:22:44,498 - DEBUG - Requesting: http://10.0.0.38:8082/project/538b723b-5081-49f2-a050-06bd6d44ebb4 2026-11-02 02:22:44,567 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d0e3cce2-9ec1-4534-bedd-3ddbcf75275b 2026-11-02 02:22:44,578 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d0e3cce2-9ec1-4534-bedd-3ddbcf75275b 2026-11-02 02:22:44,586 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ef5dbd3-c3ea-4087-bfb1-6ea77afb4e61 2026-11-02 02:22:44,591 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ef5dbd3-c3ea-4087-bfb1-6ea77afb4e61 2026-11-02 02:22:44,598 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9f301689-3cc8-4a8a-bf29-2475aa52327d 2026-11-02 02:22:44,603 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-02 02:22:44,603 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d0e3cce2-9ec1-4534-bedd-3ddbcf75275b 2026-11-02 02:22:44,610 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ef5dbd3-c3ea-4087-bfb1-6ea77afb4e61 2026-11-02 02:22:44,622 - INFO - Verified VN network id 12 for VN d0e3cce2-9ec1-4534-bedd-3ddbcf75275b 2026-11-02 02:22:44,622 - INFO - Verifications in API Server for VN ctest-vn-41750427 passed 2026-11-02 02:22:44,622 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d0e3cce2-9ec1-4534-bedd-3ddbcf75275b 2026-11-02 02:22:44,630 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ef5dbd3-c3ea-4087-bfb1-6ea77afb4e61 2026-11-02 02:22:44,635 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ef5dbd3-c3ea-4087-bfb1-6ea77afb4e61 2026-11-02 02:22:44,641 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9f301689-3cc8-4a8a-bf29-2475aa52327d 2026-11-02 02:22:44,651 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91420020:ctest-vn-41750427', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91420020', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15052099653300471092', 'uuid-lslong': '13753216851347056475'}, 'enable': 'true', 'created': '2026-11-02T02:22:42', 'last-modified': '2026-11-02T02:22:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.439645'} 2026-11-02 02:22:44,657 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-02 02:22:44,657 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41750427 passed 2026-11-02 02:22:44,658 - DEBUG - ====Verifying policy data for ctest-vn-41750427 in API_Server ====== 2026-11-02 02:22:44,658 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-02 02:22:44,662 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c01ed095-7ad8-46a9-91c3-c9c005d4f498 2026-11-02 02:22:44,672 - DEBUG - Requesting: http://10.0.0.38:8082/project/538b723b-5081-49f2-a050-06bd6d44ebb4 2026-11-02 02:22:44,737 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d0e3cce2-9ec1-4534-bedd-3ddbcf75275b 2026-11-02 02:22:44,746 - DEBUG - ==>Verifying data for policy with id: aa16111d-2242-4b27-a778-dc2fc382602e, fqn: ['default-domain', 'ctest-TestBasicPolicy-91420020', 'ctest-policy-allow-all-78820309'] 2026-11-02 02:22:44,746 - INFO - VN ctest-vn-41750427 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-02 02:22:44,746 - DEBUG - Verifying the vn in opserver 2026-11-02 02:22:44,746 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91420020:ctest-vn-41750427 virtual network link through opserver 10.0.0.38 2026-11-02 02:22:44,746 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-11-02 02:22:44,755 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91420020:ctest-vn-41750427', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91420020:ctest-vn-41750427?flat'} 2026-11-02 02:22:44,755 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91420020:ctest-vn-41750427 is found in opserver 2026-11-02 02:22:44,766 - DEBUG - Do not have enough data to verify VN in agent 2026-11-02 02:22:44,770 - DEBUG - VRF ids for VN ctest-vn-41750427: {} 2026-11-02 02:22:44,823 - DEBUG - Services list from nova: [, , ] 2026-11-02 02:22:45,225 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6460-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6460-1) 2026-11-02 02:22:45,608 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6460-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6460-1) 2026-11-02 02:22:45,608 - INFO - Waiting for VM ctest-TestBasicPolicy-91420020-00621792 to be up.. 2026-11-02 02:22:45,649 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 02:22:50,725 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 02:22:55,807 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 02:23:00,881 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 02:23:05,956 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 02:23:11,024 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 02:23:16,098 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 02:23:21,177 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 02:23:26,250 - DEBUG - VM is in ACTIVE state now 2026-11-02 02:23:26,250 - INFO - VM name : ctest-TestBasicPolicy-91420020-00621792 2026-11-02 02:23:26,327 - DEBUG - VM ctest-TestBasicPolicy-91420020-00621792 ID is fbbdcf9a-edaf-42be-a623-560acaed5962 2026-11-02 02:23:26,348 - DEBUG - VM ctest-TestBasicPolicy-91420020-00621792 launched on Node cn-jenkins-deploy-platform-ansible-os-6460-1 2026-11-02 02:23:26,426 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fbbdcf9a-edaf-42be-a623-560acaed5962 2026-11-02 02:23:26,433 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b9724145-bc52-4621-a380-e3a1e0dc121b 2026-11-02 02:23:29,695 - 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 1028ms') 2026-11-02 02:23:29,695 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91420020-00621792 failed! 2026-11-02 02:23:29,750 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-91420020:ctest-vn-50085850 is 114.132.252.193 and allocation pool is NOT set 2026-11-02 02:23:31,811 - 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=8.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.222 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.222/4.278/8.335/4.056 ms') 2026-11-02 02:23:31,811 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91420020-00621792 passed 2026-11-02 02:23:31,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 02:23:31,962 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91420020-00621792, IP 114.132.252.195, Port 22 2026-11-02 02:23:32,132 - DEBUG - VM ctest-TestBasicPolicy-91420020-00621792 is ready for SSH connections 2026-11-02 02:23:32,132 - INFO - Waiting for VM ctest-TestBasicPolicy-91420020-43040811 to be up.. 2026-11-02 02:23:32,209 - DEBUG - VM is in ACTIVE state now 2026-11-02 02:23:32,210 - INFO - VM name : ctest-TestBasicPolicy-91420020-43040811 2026-11-02 02:23:32,276 - DEBUG - VM ctest-TestBasicPolicy-91420020-43040811 ID is ea01735f-f003-4004-899d-b74cf891785e 2026-11-02 02:23:32,276 - DEBUG - VM ctest-TestBasicPolicy-91420020-43040811 launched on Node cn-jenkins-deploy-platform-ansible-os-6460-1 2026-11-02 02:23:32,347 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ea01735f-f003-4004-899d-b74cf891785e 2026-11-02 02:23:32,354 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4e24fb31-9ad5-474a-aa79-0fd86b509e36 2026-11-02 02:23:33,591 - 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=11.7 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.90 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.901/6.805/11.709/4.904 ms') 2026-11-02 02:23:33,591 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-91420020-43040811 passed 2026-11-02 02:23:33,738 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 02:23:33,738 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91420020-43040811, IP 207.122.216.131, Port 22 2026-11-02 02:23:33,810 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-11-02 02:23:33,880 - DEBUG - VM ctest-TestBasicPolicy-91420020-43040811 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-02 02:23:38,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 02:23:38,882 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91420020-43040811, IP 207.122.216.131, Port 22 2026-11-02 02:23:39,065 - DEBUG - VM ctest-TestBasicPolicy-91420020-43040811 is ready for SSH connections 2026-11-02 02:23:39,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 02:23:39,065 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.122.216.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-11-02 02:23:39,066 - DEBUG - ping -s 56 -c 3 -W 1 207.122.216.131 2026-11-02 02:23:43,086 - DEBUG - PING 207.122.216.131 (207.122.216.131): 56 data bytes 64 bytes from 207.122.216.131: seq=0 ttl=63 time=4.317 ms 64 bytes from 207.122.216.131: seq=1 ttl=63 time=1.112 ms 64 bytes from 207.122.216.131: seq=2 ttl=63 time=0.903 ms --- 207.122.216.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.903/2.110/4.317 ms 2026-11-02 02:23:43,087 - INFO - Ping to IP 207.122.216.131 from VM ctest-TestBasicPolicy-91420020-00621792 passed 2026-11-02 02:23:43,270 - DEBUG - Policy Update Response {"network-policy": {"uuid": "aa16111d-2242-4b27-a778-dc2fc382602e", "href": "http://10.0.0.38:8082/network-policy/aa16111d-2242-4b27-a778-dc2fc382602e"}} 2026-11-02 02:23:43,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 02:23:43,270 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.122.216.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-11-02 02:23:43,270 - DEBUG - ping -s 56 -c 3 -W 1 207.122.216.131 2026-11-02 02:23:46,405 - DEBUG - PING 207.122.216.131 (207.122.216.131): 56 data bytes 64 bytes from 207.122.216.131: seq=0 ttl=63 time=1.692 ms --- 207.122.216.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.692/1.692/1.692 ms 2026-11-02 02:23:46,405 - WARNING - Ping to IP 207.122.216.131 from VM ctest-TestBasicPolicy-91420020-00621792 failed 2026-11-02 02:23:46,405 - INFO - Deleting VM ctest-TestBasicPolicy-91420020-43040811 2026-11-02 02:23:46,487 - INFO - Deleting VM ctest-TestBasicPolicy-91420020-00621792 2026-11-02 02:23:46,822 - INFO - Deleted policy ctest-policy-allow-all-78820309 2026-11-02 02:23:46,822 - INFO - Deleting VN ctest-vn-41750427 2026-11-02 02:23:46,854 - DEBUG - VN d0e3cce2-9ec1-4534-bedd-3ddbcf75275b still in use: Unable to complete operation on network d0e3cce2-9ec1-4534-bedd-3ddbcf75275b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c02f6d63-2171-4c6b-8509-aef493234553'] 2026-11-02 02:23:46,855 - WARNING - Deleting VN ctest-vn-41750427 failed..Will retry 2026-11-02 02:23:48,886 - DEBUG - VN d0e3cce2-9ec1-4534-bedd-3ddbcf75275b still in use: Unable to complete operation on network d0e3cce2-9ec1-4534-bedd-3ddbcf75275b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7e8b53bd-4172-4672-956a-d10be38b2dcc'] 2026-11-02 02:23:48,886 - WARNING - Deleting VN ctest-vn-41750427 failed..Will retry 2026-11-02 02:23:51,014 - DEBUG - Response for deleting network () 2026-11-02 02:23:51,014 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ef5dbd3-c3ea-4087-bfb1-6ea77afb4e61 2026-11-02 02:23:51,019 - DEBUG - Response Code: 404 2026-11-02 02:23:51,019 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-02 02:23:51,024 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c01ed095-7ad8-46a9-91c3-c9c005d4f498 2026-11-02 02:23:51,080 - DEBUG - Requesting: http://10.0.0.38:8082/project/538b723b-5081-49f2-a050-06bd6d44ebb4 2026-11-02 02:23:51,152 - INFO - Validated that VN ctest-vn-41750427 is not found in API Server 2026-11-02 02:23:51,165 - DEBUG - VN ctest-vn-41750427 is not present in Agent 10.0.0.38 2026-11-02 02:23:51,165 - INFO - Validated that VN ctest-vn-41750427 is not in any agent 2026-11-02 02:23:51,184 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41750427 info 2026-11-02 02:23:51,184 - INFO - Deleting VN ctest-vn-50085850 2026-11-02 02:23:51,309 - DEBUG - Response for deleting network () 2026-11-02 02:23:51,309 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/58e3e552-3eb2-4054-8cb8-e7aeff39807c 2026-11-02 02:23:51,316 - DEBUG - Response Code: 404 2026-11-02 02:23:51,316 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-02 02:23:51,321 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c01ed095-7ad8-46a9-91c3-c9c005d4f498 2026-11-02 02:23:51,375 - DEBUG - Requesting: http://10.0.0.38:8082/project/538b723b-5081-49f2-a050-06bd6d44ebb4 2026-11-02 02:23:51,450 - INFO - Validated that VN ctest-vn-50085850 is not found in API Server 2026-11-02 02:23:51,461 - DEBUG - VN ctest-vn-50085850 is not present in Agent 10.0.0.38 2026-11-02 02:23:51,461 - INFO - Validated that VN ctest-vn-50085850 is not in any agent 2026-11-02 02:23:51,476 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50085850 info 2026-11-02 02:23:51,736 - DEBUG - No XMPP flaps were noticed during the test 2026-11-02 02:23:51,736 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:11] 2026-11-02 02:23:51,736 - INFO - -------------------------------------------------------------------------------- 2026-11-02 02:23:52,499 - INFO - Deleted project: ctest-TestBasicPolicy-91420020, ID : 538b723b-5081-49f2-a050-06bd6d44ebb4