2026-10-13 08:06:49,986 - INFO - Domain Default found not creating 2026-10-13 08:06:50,122 - INFO - Project ctest-TestBasicPolicy-65820173 not found, creating it 2026-10-13 08:06:50,555 - INFO - Created Project:ctest-TestBasicPolicy-65820173, ID : a14dd55d-a6af-4ab1-91b3-c52a33b7a3c4 2026-10-13 08:06:52,148 - INFO - ================================================================================ 2026-10-13 08:06:52,149 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-13 08:06:52,149 - 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-10-13 08:06:52,403 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with 2026-10-13 08:06:52,403 - INFO - Initial checks done. Running the testcase now 2026-10-13 08:06:52,403 - INFO - 2026-10-13 08:06:52,995 - DEBUG - Response for create_network : {'network': {'id': '22bf4c95-cbe9-4c93-bc99-75f9634e37a7', 'name': 'ctest-vn-64300747', 'tenant_id': 'a14dd55da6af4ab191b3c52a33b7a3c4', 'project_id': 'a14dd55da6af4ab191b3c52a33b7a3c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65820173', 'ctest-vn-64300747'], 'port_security_enabled': True, 'description': ''}} 2026-10-13 08:06:53,167 - DEBUG - Response for create_subnet : {'subnet': {'id': '1255469a-450d-4f2f-ae91-2bc472bba88d', 'name': '', 'tenant_id': 'a14dd55da6af4ab191b3c52a33b7a3c4', 'network_id': '22bf4c95-cbe9-4c93-bc99-75f9634e37a7', 'ip_version': 4, 'cidr': '152.88.30.0/26', 'allocation_pools': [{'start': '152.88.30.2', 'end': '152.88.30.62'}], 'gateway_ip': '152.88.30.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.88.30.2', 'tags': [], 'project_id': 'a14dd55da6af4ab191b3c52a33b7a3c4'}} 2026-10-13 08:06:53,180 - INFO - Created VN ctest-vn-64300747 2026-10-13 08:06:53,237 - DEBUG - VN ctest-vn-64300747 UUID is 22bf4c95-cbe9-4c93-bc99-75f9634e37a7 2026-10-13 08:06:53,540 - DEBUG - Response for create_network : {'network': {'id': 'c7a13d75-8a7d-4a58-b421-0a9b30fe8e32', 'name': 'ctest-vn-31228150', 'tenant_id': 'a14dd55da6af4ab191b3c52a33b7a3c4', 'project_id': 'a14dd55da6af4ab191b3c52a33b7a3c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65820173', 'ctest-vn-31228150'], 'port_security_enabled': True, 'description': ''}} 2026-10-13 08:06:53,728 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c788d05-3c85-4867-8e84-595d5447b27f', 'name': '', 'tenant_id': 'a14dd55da6af4ab191b3c52a33b7a3c4', 'network_id': 'c7a13d75-8a7d-4a58-b421-0a9b30fe8e32', 'ip_version': 4, 'cidr': '128.219.143.0/26', 'allocation_pools': [{'start': '128.219.143.2', 'end': '128.219.143.62'}], 'gateway_ip': '128.219.143.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.219.143.2', 'tags': [], 'project_id': 'a14dd55da6af4ab191b3c52a33b7a3c4'}} 2026-10-13 08:06:53,743 - INFO - Created VN ctest-vn-31228150 2026-10-13 08:06:53,793 - DEBUG - VN ctest-vn-31228150 UUID is c7a13d75-8a7d-4a58-b421-0a9b30fe8e32 2026-10-13 08:06:53,938 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65820173:ctest-vn-64300747, 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-65820173:ctest-vn-31228150, 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-10-13 08:06:54,231 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '22bf4c95-cbe9-4c93-bc99-75f9634e37a7', 'name': 'ctest-vn-64300747', 'tenant_id': 'a14dd55da6af4ab191b3c52a33b7a3c4', 'project_id': 'a14dd55da6af4ab191b3c52a33b7a3c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['1255469a-450d-4f2f-ae91-2bc472bba88d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65820173', 'ctest-vn-64300747'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65820173', 'ctest-policy-allow-all-43538515']], 'subnet_ipam': [{'subnet_cidr': '152.88.30.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-13 08:06:54,448 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c7a13d75-8a7d-4a58-b421-0a9b30fe8e32', 'name': 'ctest-vn-31228150', 'tenant_id': 'a14dd55da6af4ab191b3c52a33b7a3c4', 'project_id': 'a14dd55da6af4ab191b3c52a33b7a3c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['8c788d05-3c85-4867-8e84-595d5447b27f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65820173', 'ctest-vn-31228150'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65820173', 'ctest-policy-allow-all-43538515']], 'subnet_ipam': [{'subnet_cidr': '128.219.143.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-13 08:06:54,606 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-13 08:06:54,986 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-13 08:06:55,011 - DEBUG - Requesting: http://10.0.0.185:8082/domain/78b56cbc-1501-4971-be3e-84d6b062bdff 2026-10-13 08:06:55,044 - DEBUG - Requesting: http://10.0.0.185:8082/project/a14dd55d-a6af-4ab1-91b3-c52a33b7a3c4 2026-10-13 08:06:55,120 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/22bf4c95-cbe9-4c93-bc99-75f9634e37a7 2026-10-13 08:06:55,130 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/22bf4c95-cbe9-4c93-bc99-75f9634e37a7 2026-10-13 08:06:55,138 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/6c05793e-e246-447d-ba07-485b6677d8ef 2026-10-13 08:06:55,144 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/6c05793e-e246-447d-ba07-485b6677d8ef 2026-10-13 08:06:55,150 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/da14bfad-b29e-4487-8faf-be806aff790f 2026-10-13 08:06:55,155 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-13 08:06:55,155 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/22bf4c95-cbe9-4c93-bc99-75f9634e37a7 2026-10-13 08:06:55,163 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/6c05793e-e246-447d-ba07-485b6677d8ef 2026-10-13 08:06:55,174 - INFO - Verified VN network id 12 for VN 22bf4c95-cbe9-4c93-bc99-75f9634e37a7 2026-10-13 08:06:55,174 - INFO - Verifications in API Server for VN ctest-vn-64300747 passed 2026-10-13 08:06:55,174 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/22bf4c95-cbe9-4c93-bc99-75f9634e37a7 2026-10-13 08:06:55,182 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/6c05793e-e246-447d-ba07-485b6677d8ef 2026-10-13 08:06:55,187 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/6c05793e-e246-447d-ba07-485b6677d8ef 2026-10-13 08:06:55,192 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/da14bfad-b29e-4487-8faf-be806aff790f 2026-10-13 08:06:55,203 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65820173:ctest-vn-64300747', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65820173', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2503804124096187539', 'uuid-lslong': '13590023064540559271'}, 'enable': 'true', 'created': '2026-10-13T08:06:52', 'last-modified': '2026-10-13T08:06:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.999002'} 2026-10-13 08:06:55,209 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-13 08:06:55,209 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64300747 passed 2026-10-13 08:06:55,209 - DEBUG - ====Verifying policy data for ctest-vn-64300747 in API_Server ====== 2026-10-13 08:06:55,209 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-13 08:06:55,213 - DEBUG - Requesting: http://10.0.0.185:8082/domain/78b56cbc-1501-4971-be3e-84d6b062bdff 2026-10-13 08:06:55,222 - DEBUG - Requesting: http://10.0.0.185:8082/project/a14dd55d-a6af-4ab1-91b3-c52a33b7a3c4 2026-10-13 08:06:55,290 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/22bf4c95-cbe9-4c93-bc99-75f9634e37a7 2026-10-13 08:06:55,298 - DEBUG - ==>Verifying data for policy with id: 6a639019-f8ee-4b8a-ad9a-4d1713599beb, fqn: ['default-domain', 'ctest-TestBasicPolicy-65820173', 'ctest-policy-allow-all-43538515'] 2026-10-13 08:06:55,298 - INFO - VN ctest-vn-64300747 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-13 08:06:55,298 - DEBUG - Verifying the vn in opserver 2026-10-13 08:06:55,298 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65820173:ctest-vn-64300747 virtual network link through opserver 10.0.0.185 2026-10-13 08:06:55,298 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-10-13 08:06:55,660 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-10-13 08:06:55,707 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65820173:ctest-vn-64300747', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65820173:ctest-vn-64300747?flat'} 2026-10-13 08:06:55,707 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65820173:ctest-vn-64300747 is found in opserver 2026-10-13 08:06:55,716 - DEBUG - Do not have enough data to verify VN in agent 2026-10-13 08:06:55,722 - DEBUG - VRF ids for VN ctest-vn-64300747: {} 2026-10-13 08:06:55,722 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-13 08:06:55,727 - DEBUG - Requesting: http://10.0.0.185:8082/domain/78b56cbc-1501-4971-be3e-84d6b062bdff 2026-10-13 08:06:55,738 - DEBUG - Requesting: http://10.0.0.185:8082/project/a14dd55d-a6af-4ab1-91b3-c52a33b7a3c4 2026-10-13 08:06:55,808 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/c7a13d75-8a7d-4a58-b421-0a9b30fe8e32 2026-10-13 08:06:55,820 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/c7a13d75-8a7d-4a58-b421-0a9b30fe8e32 2026-10-13 08:06:55,830 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/9bbcf0c2-7679-46a6-970c-0a64168dff7e 2026-10-13 08:06:55,836 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/9bbcf0c2-7679-46a6-970c-0a64168dff7e 2026-10-13 08:06:55,842 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/74fce349-5f9a-413f-a8d2-f69c95d0fc8b 2026-10-13 08:06:55,847 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-13 08:06:55,847 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/c7a13d75-8a7d-4a58-b421-0a9b30fe8e32 2026-10-13 08:06:55,855 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/9bbcf0c2-7679-46a6-970c-0a64168dff7e 2026-10-13 08:06:55,867 - INFO - Verified VN network id 13 for VN c7a13d75-8a7d-4a58-b421-0a9b30fe8e32 2026-10-13 08:06:55,867 - INFO - Verifications in API Server for VN ctest-vn-31228150 passed 2026-10-13 08:06:55,867 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/c7a13d75-8a7d-4a58-b421-0a9b30fe8e32 2026-10-13 08:06:55,876 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/9bbcf0c2-7679-46a6-970c-0a64168dff7e 2026-10-13 08:06:55,881 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/9bbcf0c2-7679-46a6-970c-0a64168dff7e 2026-10-13 08:06:55,887 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/74fce349-5f9a-413f-a8d2-f69c95d0fc8b 2026-10-13 08:06:55,899 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65820173:ctest-vn-31228150', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65820173', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14384846259842009688', 'uuid-lslong': '12979667262716677682'}, 'enable': 'true', 'created': '2026-10-13T08:06:53', 'last-modified': '2026-10-13T08:06:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.466402'} 2026-10-13 08:06:55,905 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-13 08:06:55,905 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31228150 passed 2026-10-13 08:06:55,905 - DEBUG - ====Verifying policy data for ctest-vn-31228150 in API_Server ====== 2026-10-13 08:06:55,905 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-13 08:06:55,911 - DEBUG - Requesting: http://10.0.0.185:8082/domain/78b56cbc-1501-4971-be3e-84d6b062bdff 2026-10-13 08:06:55,921 - DEBUG - Requesting: http://10.0.0.185:8082/project/a14dd55d-a6af-4ab1-91b3-c52a33b7a3c4 2026-10-13 08:06:55,993 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/c7a13d75-8a7d-4a58-b421-0a9b30fe8e32 2026-10-13 08:06:56,001 - DEBUG - ==>Verifying data for policy with id: 6a639019-f8ee-4b8a-ad9a-4d1713599beb, fqn: ['default-domain', 'ctest-TestBasicPolicy-65820173', 'ctest-policy-allow-all-43538515'] 2026-10-13 08:06:56,001 - INFO - VN ctest-vn-31228150 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-13 08:06:56,001 - DEBUG - Verifying the vn in opserver 2026-10-13 08:06:56,001 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65820173:ctest-vn-31228150 virtual network link through opserver 10.0.0.185 2026-10-13 08:06:56,001 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-10-13 08:06:56,010 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65820173:ctest-vn-31228150', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65820173:ctest-vn-31228150?flat'} 2026-10-13 08:06:56,010 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65820173:ctest-vn-31228150 is found in opserver 2026-10-13 08:06:56,019 - DEBUG - Do not have enough data to verify VN in agent 2026-10-13 08:06:56,023 - DEBUG - VRF ids for VN ctest-vn-31228150: {} 2026-10-13 08:06:56,075 - DEBUG - Services list from nova: [, , ] 2026-10-13 08:06:56,449 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6359-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6359-1) 2026-10-13 08:06:56,813 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6359-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6359-1) 2026-10-13 08:06:56,813 - INFO - Waiting for VM ctest-TestBasicPolicy-65820173-31885041 to be up.. 2026-10-13 08:06:56,849 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-13 08:07:01,921 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-13 08:07:06,990 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-13 08:07:12,057 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-13 08:07:17,128 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-13 08:07:22,197 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-13 08:07:27,268 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-13 08:07:32,331 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-13 08:07:37,405 - DEBUG - VM is in ACTIVE state now 2026-10-13 08:07:37,405 - INFO - VM name : ctest-TestBasicPolicy-65820173-31885041 2026-10-13 08:07:37,471 - DEBUG - VM ctest-TestBasicPolicy-65820173-31885041 ID is 9b8b917f-0c82-4cd1-bf6a-f8550f4b878f 2026-10-13 08:07:37,489 - DEBUG - VM ctest-TestBasicPolicy-65820173-31885041 launched on Node cn-jenkins-deploy-platform-ansible-os-6359-1 2026-10-13 08:07:37,558 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/9b8b917f-0c82-4cd1-bf6a-f8550f4b878f 2026-10-13 08:07:37,566 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/97b7663a-0098-4f79-b806-a8ca08be7438 2026-10-13 08:07:40,814 - 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 1014ms') 2026-10-13 08:07:40,814 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65820173-31885041 failed! 2026-10-13 08:07:40,869 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65820173:ctest-vn-64300747 is 152.88.30.1 and allocation pool is NOT set 2026-10-13 08:07:42,930 - 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.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.815 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 = 0.815/4.703/8.592/3.888 ms') 2026-10-13 08:07:42,930 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65820173-31885041 passed 2026-10-13 08:07:43,077 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-13 08:07:43,078 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65820173-31885041, IP 152.88.30.3, Port 22 2026-10-13 08:07:43,144 - 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-10-13 08:07:43,210 - DEBUG - VM ctest-TestBasicPolicy-65820173-31885041 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-13 08:07:48,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-13 08:07:48,211 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65820173-31885041, IP 152.88.30.3, Port 22 2026-10-13 08:07:48,375 - DEBUG - VM ctest-TestBasicPolicy-65820173-31885041 is ready for SSH connections 2026-10-13 08:07:48,375 - INFO - Waiting for VM ctest-TestBasicPolicy-65820173-28886316 to be up.. 2026-10-13 08:07:48,446 - DEBUG - VM is in ACTIVE state now 2026-10-13 08:07:48,446 - INFO - VM name : ctest-TestBasicPolicy-65820173-28886316 2026-10-13 08:07:48,513 - DEBUG - VM ctest-TestBasicPolicy-65820173-28886316 ID is 9569dfb2-8807-40be-a658-fa72ef48c630 2026-10-13 08:07:48,513 - DEBUG - VM ctest-TestBasicPolicy-65820173-28886316 launched on Node cn-jenkins-deploy-platform-ansible-os-6359-1 2026-10-13 08:07:48,575 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/9569dfb2-8807-40be-a658-fa72ef48c630 2026-10-13 08:07:48,582 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/5bb6afd9-0c4a-42b0-ad12-489170aece59 2026-10-13 08:07:49,820 - 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=4.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.428 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.428/2.325/4.223/1.897 ms') 2026-10-13 08:07:49,820 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-65820173-28886316 passed 2026-10-13 08:07:49,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-13 08:07:49,974 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65820173-28886316, IP 128.219.143.3, Port 22 2026-10-13 08:07:50,129 - DEBUG - VM ctest-TestBasicPolicy-65820173-28886316 is ready for SSH connections 2026-10-13 08:07:50,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-13 08:07:50,130 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.219.143.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-10-13 08:07:50,130 - DEBUG - ping -s 56 -c 3 -W 1 128.219.143.3 2026-10-13 08:07:54,078 - DEBUG - PING 128.219.143.3 (128.219.143.3): 56 data bytes 64 bytes from 128.219.143.3: seq=0 ttl=63 time=4.216 ms 64 bytes from 128.219.143.3: seq=1 ttl=63 time=0.836 ms 64 bytes from 128.219.143.3: seq=2 ttl=63 time=0.751 ms --- 128.219.143.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.751/1.934/4.216 ms 2026-10-13 08:07:54,078 - INFO - Ping to IP 128.219.143.3 from VM ctest-TestBasicPolicy-65820173-31885041 passed 2026-10-13 08:07:54,257 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6a639019-f8ee-4b8a-ad9a-4d1713599beb", "href": "http://10.0.0.185:8082/network-policy/6a639019-f8ee-4b8a-ad9a-4d1713599beb"}} 2026-10-13 08:07:54,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-13 08:07:54,257 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.219.143.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-10-13 08:07:54,258 - DEBUG - ping -s 56 -c 3 -W 1 128.219.143.3 2026-10-13 08:07:57,381 - DEBUG - PING 128.219.143.3 (128.219.143.3): 56 data bytes 64 bytes from 128.219.143.3: seq=0 ttl=63 time=1.232 ms --- 128.219.143.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.232/1.232/1.232 ms 2026-10-13 08:07:57,381 - WARNING - Ping to IP 128.219.143.3 from VM ctest-TestBasicPolicy-65820173-31885041 failed 2026-10-13 08:07:57,382 - INFO - Deleting VM ctest-TestBasicPolicy-65820173-28886316 2026-10-13 08:07:57,448 - INFO - Deleting VM ctest-TestBasicPolicy-65820173-31885041 2026-10-13 08:07:57,785 - INFO - Deleted policy ctest-policy-allow-all-43538515 2026-10-13 08:07:57,786 - INFO - Deleting VN ctest-vn-31228150 2026-10-13 08:07:57,817 - DEBUG - VN c7a13d75-8a7d-4a58-b421-0a9b30fe8e32 still in use: Unable to complete operation on network c7a13d75-8a7d-4a58-b421-0a9b30fe8e32. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6a59902b-e3ae-447a-a93d-97429a58a59b'] 2026-10-13 08:07:57,817 - WARNING - Deleting VN ctest-vn-31228150 failed..Will retry 2026-10-13 08:07:59,911 - DEBUG - Response for deleting network () 2026-10-13 08:07:59,911 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/9bbcf0c2-7679-46a6-970c-0a64168dff7e 2026-10-13 08:07:59,919 - DEBUG - Response Code: 404 2026-10-13 08:07:59,919 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-13 08:07:59,923 - DEBUG - Requesting: http://10.0.0.185:8082/domain/78b56cbc-1501-4971-be3e-84d6b062bdff 2026-10-13 08:07:59,975 - DEBUG - Requesting: http://10.0.0.185:8082/project/a14dd55d-a6af-4ab1-91b3-c52a33b7a3c4 2026-10-13 08:08:00,056 - INFO - Validated that VN ctest-vn-31228150 is not found in API Server 2026-10-13 08:08:00,068 - DEBUG - VN ctest-vn-31228150 is not present in Agent 10.0.0.185 2026-10-13 08:08:00,068 - INFO - Validated that VN ctest-vn-31228150 is not in any agent 2026-10-13 08:08:00,086 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31228150 info 2026-10-13 08:08:00,086 - INFO - Deleting VN ctest-vn-64300747 2026-10-13 08:08:00,183 - DEBUG - Response for deleting network () 2026-10-13 08:08:00,183 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/6c05793e-e246-447d-ba07-485b6677d8ef 2026-10-13 08:08:00,188 - DEBUG - Response Code: 404 2026-10-13 08:08:00,188 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-13 08:08:00,198 - DEBUG - Requesting: http://10.0.0.185:8082/domain/78b56cbc-1501-4971-be3e-84d6b062bdff 2026-10-13 08:08:00,251 - DEBUG - Requesting: http://10.0.0.185:8082/project/a14dd55d-a6af-4ab1-91b3-c52a33b7a3c4 2026-10-13 08:08:00,323 - INFO - Validated that VN ctest-vn-64300747 is not found in API Server 2026-10-13 08:08:00,332 - DEBUG - VN ctest-vn-64300747 is not present in Agent 10.0.0.185 2026-10-13 08:08:00,332 - INFO - Validated that VN ctest-vn-64300747 is not in any agent 2026-10-13 08:08:00,347 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64300747 info 2026-10-13 08:08:00,613 - DEBUG - No XMPP flaps were noticed during the test
2026-10-13 08:08:00,613 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:08]
2026-10-13 08:08:00,613 - INFO - -------------------------------------------------------------------------------- 2026-10-13 08:08:01,350 - INFO - Deleted project: ctest-TestBasicPolicy-65820173, ID : a14dd55d-a6af-4ab1-91b3-c52a33b7a3c4