2026-01-29 02:10:18,569 - INFO - Domain Default found not creating 2026-01-29 02:10:18,738 - INFO - Project ctest-TestBasicPolicy-11162299 not found, creating it 2026-01-29 02:10:19,216 - INFO - Created Project:ctest-TestBasicPolicy-11162299, ID : 2156661b-cb8c-411b-8522-fbc71f3c09eb 2026-01-29 02:10:20,817 - INFO - ================================================================================ 2026-01-29 02:10:20,817 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-29 02:10:20,817 - 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-01-29 02:10:21,081 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.192': '0'}} with 2026-01-29 02:10:21,081 - INFO - Initial checks done. Running the testcase now 2026-01-29 02:10:21,081 - INFO - 2026-01-29 02:10:21,697 - DEBUG - Response for create_network : {'network': {'id': 'ca8941ca-5bb1-4b6a-8b9d-dcf23c40509b', 'name': 'ctest-vn-57926242', 'tenant_id': '2156661bcb8c411b8522fbc71f3c09eb', 'project_id': '2156661bcb8c411b8522fbc71f3c09eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11162299', 'ctest-vn-57926242'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 02:10:21,894 - DEBUG - Response for create_subnet : {'subnet': {'id': '4dbbe042-9579-4db1-b4ce-14c2cab89589', 'name': '', 'tenant_id': '2156661bcb8c411b8522fbc71f3c09eb', 'network_id': 'ca8941ca-5bb1-4b6a-8b9d-dcf23c40509b', 'ip_version': 4, 'cidr': '197.247.200.128/26', 'allocation_pools': [{'start': '197.247.200.130', 'end': '197.247.200.190'}], 'gateway_ip': '197.247.200.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.247.200.130', 'tags': [], 'project_id': '2156661bcb8c411b8522fbc71f3c09eb'}} 2026-01-29 02:10:21,916 - INFO - Created VN ctest-vn-57926242 2026-01-29 02:10:21,967 - DEBUG - VN ctest-vn-57926242 UUID is ca8941ca-5bb1-4b6a-8b9d-dcf23c40509b 2026-01-29 02:10:22,261 - DEBUG - Response for create_network : {'network': {'id': '4ab0c590-e56c-4ef9-ad6d-249ade1e62c5', 'name': 'ctest-vn-88799470', 'tenant_id': '2156661bcb8c411b8522fbc71f3c09eb', 'project_id': '2156661bcb8c411b8522fbc71f3c09eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11162299', 'ctest-vn-88799470'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 02:10:22,465 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb7e802b-0011-4408-a7df-dd0692424905', 'name': '', 'tenant_id': '2156661bcb8c411b8522fbc71f3c09eb', 'network_id': '4ab0c590-e56c-4ef9-ad6d-249ade1e62c5', 'ip_version': 4, 'cidr': '46.115.181.0/26', 'allocation_pools': [{'start': '46.115.181.2', 'end': '46.115.181.62'}], 'gateway_ip': '46.115.181.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.115.181.2', 'tags': [], 'project_id': '2156661bcb8c411b8522fbc71f3c09eb'}} 2026-01-29 02:10:22,485 - INFO - Created VN ctest-vn-88799470 2026-01-29 02:10:22,539 - DEBUG - VN ctest-vn-88799470 UUID is 4ab0c590-e56c-4ef9-ad6d-249ade1e62c5 2026-01-29 02:10:22,655 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-11162299:ctest-vn-57926242, 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-11162299:ctest-vn-88799470, 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-01-29 02:10:22,962 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ca8941ca-5bb1-4b6a-8b9d-dcf23c40509b', 'name': 'ctest-vn-57926242', 'tenant_id': '2156661bcb8c411b8522fbc71f3c09eb', 'project_id': '2156661bcb8c411b8522fbc71f3c09eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4dbbe042-9579-4db1-b4ce-14c2cab89589'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11162299', 'ctest-vn-57926242'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11162299', 'ctest-policy-allow-all-19385111']], 'subnet_ipam': [{'subnet_cidr': '197.247.200.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 02:10:23,185 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4ab0c590-e56c-4ef9-ad6d-249ade1e62c5', 'name': 'ctest-vn-88799470', 'tenant_id': '2156661bcb8c411b8522fbc71f3c09eb', 'project_id': '2156661bcb8c411b8522fbc71f3c09eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cb7e802b-0011-4408-a7df-dd0692424905'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11162299', 'ctest-vn-88799470'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11162299', 'ctest-policy-allow-all-19385111']], 'subnet_ipam': [{'subnet_cidr': '46.115.181.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 02:10:23,335 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-29 02:10:23,684 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-29 02:10:23,716 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8a86c72d-4f9c-48b6-9254-1943b01cb590 2026-01-29 02:10:23,728 - DEBUG - Requesting: http://10.0.0.50:8082/project/2156661b-cb8c-411b-8522-fbc71f3c09eb 2026-01-29 02:10:23,808 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ca8941ca-5bb1-4b6a-8b9d-dcf23c40509b 2026-01-29 02:10:23,819 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ca8941ca-5bb1-4b6a-8b9d-dcf23c40509b 2026-01-29 02:10:23,830 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f91ddd61-774f-4b65-aedc-4f3af84ae1e9 2026-01-29 02:10:23,837 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f91ddd61-774f-4b65-aedc-4f3af84ae1e9 2026-01-29 02:10:23,844 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c2b9661b-e781-4adc-91fe-51186b76532d 2026-01-29 02:10:23,850 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 02:10:23,851 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ca8941ca-5bb1-4b6a-8b9d-dcf23c40509b 2026-01-29 02:10:23,859 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f91ddd61-774f-4b65-aedc-4f3af84ae1e9 2026-01-29 02:10:23,873 - INFO - Verified VN network id 11 for VN ca8941ca-5bb1-4b6a-8b9d-dcf23c40509b 2026-01-29 02:10:23,874 - INFO - Verifications in API Server for VN ctest-vn-57926242 passed 2026-01-29 02:10:23,874 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ca8941ca-5bb1-4b6a-8b9d-dcf23c40509b 2026-01-29 02:10:23,883 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f91ddd61-774f-4b65-aedc-4f3af84ae1e9 2026-01-29 02:10:23,890 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f91ddd61-774f-4b65-aedc-4f3af84ae1e9 2026-01-29 02:10:23,898 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c2b9661b-e781-4adc-91fe-51186b76532d 2026-01-29 02:10:23,911 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11162299:ctest-vn-57926242', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11162299', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14594268404848348010', 'uuid-lslong': '10060440075566600347'}, 'enable': 'true', 'created': '2026-01-29T02:10:21', 'last-modified': '2026-01-29T02:10:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.972345'} 2026-01-29 02:10:23,918 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 02:10:23,918 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57926242 passed 2026-01-29 02:10:23,918 - DEBUG - ====Verifying policy data for ctest-vn-57926242 in API_Server ====== 2026-01-29 02:10:23,918 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-29 02:10:23,924 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8a86c72d-4f9c-48b6-9254-1943b01cb590 2026-01-29 02:10:23,936 - DEBUG - Requesting: http://10.0.0.50:8082/project/2156661b-cb8c-411b-8522-fbc71f3c09eb 2026-01-29 02:10:24,005 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ca8941ca-5bb1-4b6a-8b9d-dcf23c40509b 2026-01-29 02:10:24,018 - DEBUG - ==>Verifying data for policy with id: a656df34-8238-4a1c-b862-da098b594455, fqn: ['default-domain', 'ctest-TestBasicPolicy-11162299', 'ctest-policy-allow-all-19385111'] 2026-01-29 02:10:24,018 - INFO - VN ctest-vn-57926242 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 02:10:24,018 - DEBUG - Verifying the vn in opserver 2026-01-29 02:10:24,018 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11162299:ctest-vn-57926242 virtual network link through opserver 10.0.0.50 2026-01-29 02:10:24,018 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-29 02:10:24,351 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-29 02:10:24,413 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11162299:ctest-vn-57926242', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11162299:ctest-vn-57926242?flat'} 2026-01-29 02:10:24,413 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11162299:ctest-vn-57926242 is found in opserver 2026-01-29 02:10:24,422 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 02:10:24,426 - DEBUG - VRF ids for VN ctest-vn-57926242: {} 2026-01-29 02:10:24,426 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-29 02:10:24,431 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8a86c72d-4f9c-48b6-9254-1943b01cb590 2026-01-29 02:10:24,442 - DEBUG - Requesting: http://10.0.0.50:8082/project/2156661b-cb8c-411b-8522-fbc71f3c09eb 2026-01-29 02:10:24,516 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4ab0c590-e56c-4ef9-ad6d-249ade1e62c5 2026-01-29 02:10:24,528 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4ab0c590-e56c-4ef9-ad6d-249ade1e62c5 2026-01-29 02:10:24,537 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b279c0df-d7ee-475d-a798-9f0438c65bf7 2026-01-29 02:10:24,544 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b279c0df-d7ee-475d-a798-9f0438c65bf7 2026-01-29 02:10:24,551 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/cc9e315b-055e-464b-be60-ddf0cb0792ed 2026-01-29 02:10:24,559 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 02:10:24,559 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4ab0c590-e56c-4ef9-ad6d-249ade1e62c5 2026-01-29 02:10:24,570 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b279c0df-d7ee-475d-a798-9f0438c65bf7 2026-01-29 02:10:24,588 - INFO - Verified VN network id 12 for VN 4ab0c590-e56c-4ef9-ad6d-249ade1e62c5 2026-01-29 02:10:24,588 - INFO - Verifications in API Server for VN ctest-vn-88799470 passed 2026-01-29 02:10:24,588 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4ab0c590-e56c-4ef9-ad6d-249ade1e62c5 2026-01-29 02:10:24,599 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b279c0df-d7ee-475d-a798-9f0438c65bf7 2026-01-29 02:10:24,606 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b279c0df-d7ee-475d-a798-9f0438c65bf7 2026-01-29 02:10:24,616 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/cc9e315b-055e-464b-be60-ddf0cb0792ed 2026-01-29 02:10:24,627 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11162299:ctest-vn-88799470', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11162299', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5382018780822785785', 'uuid-lslong': '12496684788593091269'}, 'enable': 'true', 'created': '2026-01-29T02:10:22', 'last-modified': '2026-01-29T02:10:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.462873'} 2026-01-29 02:10:24,633 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 02:10:24,633 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88799470 passed 2026-01-29 02:10:24,633 - DEBUG - ====Verifying policy data for ctest-vn-88799470 in API_Server ====== 2026-01-29 02:10:24,633 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-29 02:10:24,639 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8a86c72d-4f9c-48b6-9254-1943b01cb590 2026-01-29 02:10:24,649 - DEBUG - Requesting: http://10.0.0.50:8082/project/2156661b-cb8c-411b-8522-fbc71f3c09eb 2026-01-29 02:10:24,724 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4ab0c590-e56c-4ef9-ad6d-249ade1e62c5 2026-01-29 02:10:24,735 - DEBUG - ==>Verifying data for policy with id: a656df34-8238-4a1c-b862-da098b594455, fqn: ['default-domain', 'ctest-TestBasicPolicy-11162299', 'ctest-policy-allow-all-19385111'] 2026-01-29 02:10:24,735 - INFO - VN ctest-vn-88799470 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 02:10:24,735 - DEBUG - Verifying the vn in opserver 2026-01-29 02:10:24,735 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11162299:ctest-vn-88799470 virtual network link through opserver 10.0.0.50 2026-01-29 02:10:24,735 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-29 02:10:24,746 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11162299:ctest-vn-88799470', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11162299:ctest-vn-88799470?flat'} 2026-01-29 02:10:24,746 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11162299:ctest-vn-88799470 is found in opserver 2026-01-29 02:10:24,756 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 02:10:24,761 - DEBUG - VRF ids for VN ctest-vn-88799470: {} 2026-01-29 02:10:24,823 - DEBUG - Services list from nova: [, , ] 2026-01-29 02:10:25,957 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5113-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5113-1) 2026-01-29 02:10:27,257 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5113-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5113-1) 2026-01-29 02:10:27,257 - INFO - Waiting for VM ctest-TestBasicPolicy-11162299-07222290 to be up.. 2026-01-29 02:10:27,356 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 02:10:32,437 - DEBUG - VM is in ACTIVE state now 2026-01-29 02:10:32,437 - INFO - VM name : ctest-TestBasicPolicy-11162299-07222290 2026-01-29 02:10:32,518 - DEBUG - VM ctest-TestBasicPolicy-11162299-07222290 ID is e0f1af19-fd52-40e6-8433-006a31f321c5 2026-01-29 02:10:32,537 - DEBUG - VM ctest-TestBasicPolicy-11162299-07222290 launched on Node cn-jenkins-deploy-platform-ansible-os-5113-1 2026-01-29 02:10:32,615 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e0f1af19-fd52-40e6-8433-006a31f321c5 2026-01-29 02:10:32,624 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/41d68831-5e55-40f8-befe-e751b6620d42 2026-01-29 02:10:35,879 - 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 1013ms') 2026-01-29 02:10:35,879 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11162299-07222290 failed! 2026-01-29 02:10:35,935 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-11162299:ctest-vn-57926242 is 197.247.200.129 and allocation pool is NOT set 2026-01-29 02:10:37,995 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.00 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 = 3.003/4.843/6.684/1.840 ms') 2026-01-29 02:10:37,996 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11162299-07222290 passed 2026-01-29 02:10:38,151 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 02:10:38,152 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11162299-07222290, IP 197.247.200.131, Port 22 2026-01-29 02:10:38,218 - 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-01-29 02:10:38,309 - DEBUG - VM ctest-TestBasicPolicy-11162299-07222290 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-29 02:10:43,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 02:10:43,310 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11162299-07222290, IP 197.247.200.131, Port 22 2026-01-29 02:10:43,466 - DEBUG - VM ctest-TestBasicPolicy-11162299-07222290 is ready for SSH connections 2026-01-29 02:10:43,467 - INFO - Waiting for VM ctest-TestBasicPolicy-11162299-98780967 to be up.. 2026-01-29 02:10:43,542 - DEBUG - VM is in ACTIVE state now 2026-01-29 02:10:43,542 - INFO - VM name : ctest-TestBasicPolicy-11162299-98780967 2026-01-29 02:10:43,617 - DEBUG - VM ctest-TestBasicPolicy-11162299-98780967 ID is ab91b324-9428-493b-926c-c2e630c57a7a 2026-01-29 02:10:43,617 - DEBUG - VM ctest-TestBasicPolicy-11162299-98780967 launched on Node cn-jenkins-deploy-platform-ansible-os-5113-1 2026-01-29 02:10:43,696 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ab91b324-9428-493b-926c-c2e630c57a7a 2026-01-29 02:10:43,705 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3fa94bd2-96d8-406d-a84a-f22ad42bef83 2026-01-29 02:10:44,936 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.418 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.418/1.756/3.095/1.338 ms') 2026-01-29 02:10:44,936 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-11162299-98780967 passed 2026-01-29 02:10:45,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 02:10:45,088 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11162299-98780967, IP 46.115.181.3, Port 22 2026-01-29 02:10:45,243 - DEBUG - VM ctest-TestBasicPolicy-11162299-98780967 is ready for SSH connections 2026-01-29 02:10:45,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 02:10:45,243 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.115.181.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-29 02:10:45,243 - DEBUG - ping -s 56 -c 3 -W 1 46.115.181.3 2026-01-29 02:10:49,327 - DEBUG - PING 46.115.181.3 (46.115.181.3): 56 data bytes 64 bytes from 46.115.181.3: seq=0 ttl=63 time=3.756 ms 64 bytes from 46.115.181.3: seq=1 ttl=63 time=0.982 ms 64 bytes from 46.115.181.3: seq=2 ttl=63 time=0.965 ms --- 46.115.181.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.965/1.901/3.756 ms 2026-01-29 02:10:49,327 - INFO - Ping to IP 46.115.181.3 from VM ctest-TestBasicPolicy-11162299-07222290 passed 2026-01-29 02:10:49,599 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a656df34-8238-4a1c-b862-da098b594455", "href": "http://10.0.0.50:8082/network-policy/a656df34-8238-4a1c-b862-da098b594455"}} 2026-01-29 02:10:49,599 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 02:10:49,599 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.115.181.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-29 02:10:49,599 - DEBUG - ping -s 56 -c 3 -W 1 46.115.181.3 2026-01-29 02:10:52,830 - DEBUG - PING 46.115.181.3 (46.115.181.3): 56 data bytes --- 46.115.181.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-29 02:10:52,831 - WARNING - Ping to IP 46.115.181.3 from VM ctest-TestBasicPolicy-11162299-07222290 failed 2026-01-29 02:10:52,831 - INFO - Deleting VM ctest-TestBasicPolicy-11162299-98780967 2026-01-29 02:10:52,914 - INFO - Deleting VM ctest-TestBasicPolicy-11162299-07222290 2026-01-29 02:10:53,289 - INFO - Deleted policy ctest-policy-allow-all-19385111 2026-01-29 02:10:53,289 - INFO - Deleting VN ctest-vn-88799470 2026-01-29 02:10:53,326 - DEBUG - VN 4ab0c590-e56c-4ef9-ad6d-249ade1e62c5 still in use: Unable to complete operation on network 4ab0c590-e56c-4ef9-ad6d-249ade1e62c5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3e782b33-4d2d-4f6c-acee-4559ed2326b4'] 2026-01-29 02:10:53,326 - WARNING - Deleting VN ctest-vn-88799470 failed..Will retry 2026-01-29 02:10:55,429 - DEBUG - Response for deleting network () 2026-01-29 02:10:55,429 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b279c0df-d7ee-475d-a798-9f0438c65bf7 2026-01-29 02:10:55,438 - DEBUG - Response Code: 404 2026-01-29 02:10:55,438 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-29 02:10:55,443 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8a86c72d-4f9c-48b6-9254-1943b01cb590 2026-01-29 02:10:55,497 - DEBUG - Requesting: http://10.0.0.50:8082/project/2156661b-cb8c-411b-8522-fbc71f3c09eb 2026-01-29 02:10:55,568 - INFO - Validated that VN ctest-vn-88799470 is not found in API Server 2026-01-29 02:10:55,580 - DEBUG - VN ctest-vn-88799470 is not present in Agent 10.0.0.50 2026-01-29 02:10:55,580 - INFO - Validated that VN ctest-vn-88799470 is not in any agent 2026-01-29 02:10:55,594 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88799470 info 2026-01-29 02:10:55,594 - INFO - Deleting VN ctest-vn-57926242 2026-01-29 02:10:55,696 - DEBUG - Response for deleting network () 2026-01-29 02:10:55,697 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f91ddd61-774f-4b65-aedc-4f3af84ae1e9 2026-01-29 02:10:55,703 - DEBUG - Response Code: 404 2026-01-29 02:10:55,703 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-29 02:10:55,709 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8a86c72d-4f9c-48b6-9254-1943b01cb590 2026-01-29 02:10:55,760 - DEBUG - Requesting: http://10.0.0.50:8082/project/2156661b-cb8c-411b-8522-fbc71f3c09eb 2026-01-29 02:10:55,835 - INFO - Validated that VN ctest-vn-57926242 is not found in API Server 2026-01-29 02:10:55,844 - DEBUG - VN ctest-vn-57926242 is not present in Agent 10.0.0.50 2026-01-29 02:10:55,844 - INFO - Validated that VN ctest-vn-57926242 is not in any agent 2026-01-29 02:10:55,857 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57926242 info 2026-01-29 02:10:56,118 - DEBUG - No XMPP flaps were noticed during the test 2026-01-29 02:10:56,118 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2026-01-29 02:10:56,118 - INFO - -------------------------------------------------------------------------------- 2026-01-29 02:10:56,896 - INFO - Deleted project: ctest-TestBasicPolicy-11162299, ID : 2156661b-cb8c-411b-8522-fbc71f3c09eb