2026-08-14 08:56:09,468 - INFO - Domain Default found not creating 2026-08-14 08:56:09,633 - INFO - Project ctest-TestBasicPolicy-62279161 not found, creating it 2026-08-14 08:56:10,103 - INFO - Created Project:ctest-TestBasicPolicy-62279161, ID : a7b6ab11-a7a8-43f4-9bc3-b4c7aa334cc7 2026-08-14 08:56:11,667 - INFO - ================================================================================ 2026-08-14 08:56:11,668 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-14 08:56:11,668 - 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-08-14 08:56:11,924 - DEBUG - Nothing to compare xmpp stats {'10.0.0.163': {'10.20.0.25': '0'}} with 2026-08-14 08:56:11,924 - INFO - Initial checks done. Running the testcase now 2026-08-14 08:56:11,924 - INFO - 2026-08-14 08:56:12,513 - DEBUG - Response for create_network : {'network': {'id': '58f1b208-f6f2-4106-8b7e-ed6ff3e017f4', 'name': 'ctest-vn-92447313', 'tenant_id': 'a7b6ab11a7a843f49bc3b4c7aa334cc7', 'project_id': 'a7b6ab11a7a843f49bc3b4c7aa334cc7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62279161', 'ctest-vn-92447313'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-08-14 08:56:12,747 - DEBUG - Response for create_subnet : {'subnet': {'id': '808d4f3f-e954-4a24-9fa6-eaa71062e0a6', 'name': '', 'tenant_id': 'a7b6ab11a7a843f49bc3b4c7aa334cc7', 'network_id': '58f1b208-f6f2-4106-8b7e-ed6ff3e017f4', 'ip_version': 4, 'cidr': '173.3.185.64/26', 'allocation_pools': [{'start': '173.3.185.66', 'end': '173.3.185.126'}], 'gateway_ip': '173.3.185.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-08-14T08:56:12.685421', 'updated_at': '2026-08-14T08:56:12.685421', 'dns_server_address': '173.3.185.66', 'tags': [], 'project_id': 'a7b6ab11a7a843f49bc3b4c7aa334cc7'}} 2026-08-14 08:56:12,764 - INFO - Created VN ctest-vn-92447313 2026-08-14 08:56:12,817 - DEBUG - VN ctest-vn-92447313 UUID is 58f1b208-f6f2-4106-8b7e-ed6ff3e017f4 2026-08-14 08:56:13,154 - DEBUG - Response for create_network : {'network': {'id': '3f74bd30-0a74-448f-8c44-43b520b24ffb', 'name': 'ctest-vn-64823522', 'tenant_id': 'a7b6ab11a7a843f49bc3b4c7aa334cc7', 'project_id': 'a7b6ab11a7a843f49bc3b4c7aa334cc7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62279161', 'ctest-vn-64823522'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-08-14 08:56:13,355 - DEBUG - Response for create_subnet : {'subnet': {'id': '636fe146-d806-4abf-b4bb-8066fd71a6db', 'name': '', 'tenant_id': 'a7b6ab11a7a843f49bc3b4c7aa334cc7', 'network_id': '3f74bd30-0a74-448f-8c44-43b520b24ffb', 'ip_version': 4, 'cidr': '194.123.244.128/26', 'allocation_pools': [{'start': '194.123.244.130', 'end': '194.123.244.190'}], 'gateway_ip': '194.123.244.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-08-14T08:56:13.283453', 'updated_at': '2026-08-14T08:56:13.283453', 'dns_server_address': '194.123.244.130', 'tags': [], 'project_id': 'a7b6ab11a7a843f49bc3b4c7aa334cc7'}} 2026-08-14 08:56:13,373 - INFO - Created VN ctest-vn-64823522 2026-08-14 08:56:13,425 - DEBUG - VN ctest-vn-64823522 UUID is 3f74bd30-0a74-448f-8c44-43b520b24ffb 2026-08-14 08:56:13,577 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-62279161:ctest-vn-92447313, 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-62279161:ctest-vn-64823522, 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-08-14 08:56:13,889 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '58f1b208-f6f2-4106-8b7e-ed6ff3e017f4', 'name': 'ctest-vn-92447313', 'tenant_id': 'a7b6ab11a7a843f49bc3b4c7aa334cc7', 'project_id': 'a7b6ab11a7a843f49bc3b4c7aa334cc7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['808d4f3f-e954-4a24-9fa6-eaa71062e0a6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62279161', 'ctest-vn-92447313'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62279161', 'ctest-policy-allow-all-39157009']], 'subnet_ipam': [{'subnet_cidr': '173.3.185.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-08-14T08:56:12.478726', 'updated_at': '2026-08-14T08:56:12.702794'}} 2026-08-14 08:56:14,138 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3f74bd30-0a74-448f-8c44-43b520b24ffb', 'name': 'ctest-vn-64823522', 'tenant_id': 'a7b6ab11a7a843f49bc3b4c7aa334cc7', 'project_id': 'a7b6ab11a7a843f49bc3b4c7aa334cc7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['636fe146-d806-4abf-b4bb-8066fd71a6db'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62279161', 'ctest-vn-64823522'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62279161', 'ctest-policy-allow-all-39157009']], 'subnet_ipam': [{'subnet_cidr': '194.123.244.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-08-14T08:56:13.117654', 'updated_at': '2026-08-14T08:56:13.297057'}} 2026-08-14 08:56:14,317 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-08-14 08:56:14,650 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-08-14 08:56:14,687 - DEBUG - Requesting: http://10.0.0.163:8082/domain/feb00bb1-dd77-4ad3-a16b-4634f8bbb996 2026-08-14 08:56:14,702 - DEBUG - Requesting: http://10.0.0.163:8082/project/a7b6ab11-a7a8-43f4-9bc3-b4c7aa334cc7 2026-08-14 08:56:14,782 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/58f1b208-f6f2-4106-8b7e-ed6ff3e017f4 2026-08-14 08:56:14,802 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/58f1b208-f6f2-4106-8b7e-ed6ff3e017f4 2026-08-14 08:56:14,811 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/9da992c6-e540-4468-8daa-560c5ce334f3 2026-08-14 08:56:14,818 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/9da992c6-e540-4468-8daa-560c5ce334f3 2026-08-14 08:56:14,826 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/43342a9e-e904-4059-afbf-98daa26f2a3c 2026-08-14 08:56:14,833 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-14 08:56:14,833 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/58f1b208-f6f2-4106-8b7e-ed6ff3e017f4 2026-08-14 08:56:14,842 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/9da992c6-e540-4468-8daa-560c5ce334f3 2026-08-14 08:56:14,858 - INFO - Verified VN network id 11 for VN 58f1b208-f6f2-4106-8b7e-ed6ff3e017f4 2026-08-14 08:56:14,858 - INFO - Verifications in API Server for VN ctest-vn-92447313 passed 2026-08-14 08:56:14,858 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/58f1b208-f6f2-4106-8b7e-ed6ff3e017f4 2026-08-14 08:56:14,867 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/9da992c6-e540-4468-8daa-560c5ce334f3 2026-08-14 08:56:14,875 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/9da992c6-e540-4468-8daa-560c5ce334f3 2026-08-14 08:56:14,887 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/43342a9e-e904-4059-afbf-98daa26f2a3c 2026-08-14 08:56:14,900 - DEBUG - Control-node 10.0.0.163 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62279161:ctest-vn-92447313', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62279161', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6409099496297480454', 'uuid-lslong': '10051732483426228212'}, 'enable': 'true', 'created': '2026-08-14T08:56:12', 'last-modified': '2026-08-14T08:56:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.038807'} 2026-08-14 08:56:14,907 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-14 08:56:14,907 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92447313 passed 2026-08-14 08:56:14,907 - DEBUG - ====Verifying policy data for ctest-vn-92447313 in API_Server ====== 2026-08-14 08:56:14,907 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-08-14 08:56:14,914 - DEBUG - Requesting: http://10.0.0.163:8082/domain/feb00bb1-dd77-4ad3-a16b-4634f8bbb996 2026-08-14 08:56:14,929 - DEBUG - Requesting: http://10.0.0.163:8082/project/a7b6ab11-a7a8-43f4-9bc3-b4c7aa334cc7 2026-08-14 08:56:15,006 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/58f1b208-f6f2-4106-8b7e-ed6ff3e017f4 2026-08-14 08:56:15,020 - DEBUG - ==>Verifying data for policy with id: a4a1c03d-8dd0-4b0a-9c15-ba964d7aacae, fqn: ['default-domain', 'ctest-TestBasicPolicy-62279161', 'ctest-policy-allow-all-39157009'] 2026-08-14 08:56:15,020 - INFO - VN ctest-vn-92447313 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-14 08:56:15,020 - DEBUG - Verifying the vn in opserver 2026-08-14 08:56:15,020 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62279161:ctest-vn-92447313 virtual network link through opserver 10.0.0.163 2026-08-14 08:56:15,021 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-08-14 08:56:15,355 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-08-14 08:56:15,411 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62279161:ctest-vn-92447313', 'href': 'http://10.0.0.163:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62279161:ctest-vn-92447313?flat'} 2026-08-14 08:56:15,411 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62279161:ctest-vn-92447313 is found in opserver 2026-08-14 08:56:15,421 - DEBUG - Do not have enough data to verify VN in agent 2026-08-14 08:56:15,427 - DEBUG - VRF ids for VN ctest-vn-92447313: {} 2026-08-14 08:56:15,427 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-08-14 08:56:15,433 - DEBUG - Requesting: http://10.0.0.163:8082/domain/feb00bb1-dd77-4ad3-a16b-4634f8bbb996 2026-08-14 08:56:15,447 - DEBUG - Requesting: http://10.0.0.163:8082/project/a7b6ab11-a7a8-43f4-9bc3-b4c7aa334cc7 2026-08-14 08:56:15,518 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/3f74bd30-0a74-448f-8c44-43b520b24ffb 2026-08-14 08:56:15,533 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/3f74bd30-0a74-448f-8c44-43b520b24ffb 2026-08-14 08:56:15,543 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/715dd469-d5a0-4f54-bde4-bfcd74f96060 2026-08-14 08:56:15,552 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/715dd469-d5a0-4f54-bde4-bfcd74f96060 2026-08-14 08:56:15,560 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/2f8f643b-9ced-4aba-ae84-639c83ff8e6c 2026-08-14 08:56:15,568 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-14 08:56:15,568 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/3f74bd30-0a74-448f-8c44-43b520b24ffb 2026-08-14 08:56:15,580 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/715dd469-d5a0-4f54-bde4-bfcd74f96060 2026-08-14 08:56:15,594 - INFO - Verified VN network id 12 for VN 3f74bd30-0a74-448f-8c44-43b520b24ffb 2026-08-14 08:56:15,594 - INFO - Verifications in API Server for VN ctest-vn-64823522 passed 2026-08-14 08:56:15,595 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/3f74bd30-0a74-448f-8c44-43b520b24ffb 2026-08-14 08:56:15,606 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/715dd469-d5a0-4f54-bde4-bfcd74f96060 2026-08-14 08:56:15,614 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/715dd469-d5a0-4f54-bde4-bfcd74f96060 2026-08-14 08:56:15,621 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/2f8f643b-9ced-4aba-ae84-639c83ff8e6c 2026-08-14 08:56:15,635 - DEBUG - Control-node 10.0.0.163 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62279161:ctest-vn-64823522', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62279161', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4572487535719367823', 'uuid-lslong': '10107277908942934011'}, 'enable': 'true', 'created': '2026-08-14T08:56:13', 'last-modified': '2026-08-14T08:56:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.529709'} 2026-08-14 08:56:15,641 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-14 08:56:15,641 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64823522 passed 2026-08-14 08:56:15,641 - DEBUG - ====Verifying policy data for ctest-vn-64823522 in API_Server ====== 2026-08-14 08:56:15,641 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-08-14 08:56:15,649 - DEBUG - Requesting: http://10.0.0.163:8082/domain/feb00bb1-dd77-4ad3-a16b-4634f8bbb996 2026-08-14 08:56:15,663 - DEBUG - Requesting: http://10.0.0.163:8082/project/a7b6ab11-a7a8-43f4-9bc3-b4c7aa334cc7 2026-08-14 08:56:15,741 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/3f74bd30-0a74-448f-8c44-43b520b24ffb 2026-08-14 08:56:15,751 - DEBUG - ==>Verifying data for policy with id: a4a1c03d-8dd0-4b0a-9c15-ba964d7aacae, fqn: ['default-domain', 'ctest-TestBasicPolicy-62279161', 'ctest-policy-allow-all-39157009'] 2026-08-14 08:56:15,751 - INFO - VN ctest-vn-64823522 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-14 08:56:15,751 - DEBUG - Verifying the vn in opserver 2026-08-14 08:56:15,752 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62279161:ctest-vn-64823522 virtual network link through opserver 10.0.0.163 2026-08-14 08:56:15,752 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-08-14 08:56:15,763 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62279161:ctest-vn-64823522', 'href': 'http://10.0.0.163:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62279161:ctest-vn-64823522?flat'} 2026-08-14 08:56:15,763 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62279161:ctest-vn-64823522 is found in opserver 2026-08-14 08:56:15,773 - DEBUG - Do not have enough data to verify VN in agent 2026-08-14 08:56:15,778 - DEBUG - VRF ids for VN ctest-vn-64823522: {} 2026-08-14 08:56:15,840 - DEBUG - Services list from nova: [, , ] 2026-08-14 08:56:16,331 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6157-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6157-1) 2026-08-14 08:56:16,766 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6157-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6157-1) 2026-08-14 08:56:16,766 - INFO - Waiting for VM ctest-TestBasicPolicy-62279161-15757843 to be up.. 2026-08-14 08:56:16,806 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:56:21,880 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:56:26,952 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:56:32,028 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:56:37,101 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:56:42,174 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:56:47,260 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:56:52,349 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:56:57,426 - DEBUG - VM is in ACTIVE state now 2026-08-14 08:56:57,426 - INFO - VM name : ctest-TestBasicPolicy-62279161-15757843 2026-08-14 08:56:57,500 - DEBUG - VM ctest-TestBasicPolicy-62279161-15757843 ID is 167996dc-b9d0-40de-8c67-b3d5daf953f7 2026-08-14 08:56:57,524 - DEBUG - VM ctest-TestBasicPolicy-62279161-15757843 launched on Node cn-jenkins-deploy-platform-ansible-os-6157-1 2026-08-14 08:56:57,605 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/167996dc-b9d0-40de-8c67-b3d5daf953f7 2026-08-14 08:56:57,616 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/cc85b034-ca4d-4216-a020-ce84c38997c3 2026-08-14 08:56:58,861 - 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.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.78 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.779/5.942/8.106/2.163 ms') 2026-08-14 08:56:58,861 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62279161-15757843 passed 2026-08-14 08:56:59,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:56:59,014 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62279161-15757843, IP 173.3.185.67, Port 22 2026-08-14 08:56:59,179 - DEBUG - VM ctest-TestBasicPolicy-62279161-15757843 is ready for SSH connections 2026-08-14 08:56:59,179 - INFO - Waiting for VM ctest-TestBasicPolicy-62279161-64608197 to be up.. 2026-08-14 08:56:59,257 - DEBUG - VM is in ACTIVE state now 2026-08-14 08:56:59,257 - INFO - VM name : ctest-TestBasicPolicy-62279161-64608197 2026-08-14 08:56:59,332 - DEBUG - VM ctest-TestBasicPolicy-62279161-64608197 ID is 7afd6df0-3386-4cfb-b847-58c28df38664 2026-08-14 08:56:59,333 - DEBUG - VM ctest-TestBasicPolicy-62279161-64608197 launched on Node cn-jenkins-deploy-platform-ansible-os-6157-1 2026-08-14 08:56:59,407 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/7afd6df0-3386-4cfb-b847-58c28df38664 2026-08-14 08:56:59,416 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/d6e84678-9279-4819-86b3-ac29bad9daee 2026-08-14 08:57:02,671 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2026-08-14 08:57:02,671 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-62279161-64608197 failed! 2026-08-14 08:57:02,729 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-62279161:ctest-vn-64823522 is 194.123.244.129 and allocation pool is NOT set 2026-08-14 08:57:04,793 - 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.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.448 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 = 0.448/2.448/4.448/2.000 ms') 2026-08-14 08:57:04,793 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-62279161-64608197 passed 2026-08-14 08:57:04,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:57:04,949 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62279161-64608197, IP 194.123.244.131, Port 22 2026-08-14 08:57:05,105 - DEBUG - VM ctest-TestBasicPolicy-62279161-64608197 is ready for SSH connections 2026-08-14 08:57:05,105 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:57:05,105 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.123.244.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-08-14 08:57:05,105 - DEBUG - ping -s 56 -c 3 -W 1 194.123.244.131 2026-08-14 08:57:09,082 - DEBUG - PING 194.123.244.131 (194.123.244.131): 56 data bytes 64 bytes from 194.123.244.131: seq=0 ttl=63 time=3.912 ms 64 bytes from 194.123.244.131: seq=1 ttl=63 time=1.304 ms 64 bytes from 194.123.244.131: seq=2 ttl=63 time=0.965 ms --- 194.123.244.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.965/2.060/3.912 ms 2026-08-14 08:57:09,082 - INFO - Ping to IP 194.123.244.131 from VM ctest-TestBasicPolicy-62279161-15757843 passed 2026-08-14 08:57:09,261 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a4a1c03d-8dd0-4b0a-9c15-ba964d7aacae", "href": "http://10.0.0.163:8082/network-policy/a4a1c03d-8dd0-4b0a-9c15-ba964d7aacae"}} 2026-08-14 08:57:09,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:57:09,261 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.123.244.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-08-14 08:57:09,262 - DEBUG - ping -s 56 -c 3 -W 1 194.123.244.131 2026-08-14 08:57:12,413 - DEBUG - PING 194.123.244.131 (194.123.244.131): 56 data bytes 64 bytes from 194.123.244.131: seq=0 ttl=63 time=1.532 ms --- 194.123.244.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.532/1.532/1.532 ms 2026-08-14 08:57:12,413 - WARNING - Ping to IP 194.123.244.131 from VM ctest-TestBasicPolicy-62279161-15757843 failed 2026-08-14 08:57:12,413 - INFO - Deleting VM ctest-TestBasicPolicy-62279161-64608197 2026-08-14 08:57:12,489 - INFO - Deleting VM ctest-TestBasicPolicy-62279161-15757843 2026-08-14 08:57:12,892 - INFO - Deleted policy ctest-policy-allow-all-39157009 2026-08-14 08:57:12,893 - INFO - Deleting VN ctest-vn-64823522 2026-08-14 08:57:12,929 - DEBUG - VN 3f74bd30-0a74-448f-8c44-43b520b24ffb still in use: Unable to complete operation on network 3f74bd30-0a74-448f-8c44-43b520b24ffb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0c85e038-194f-4842-b558-7d37d1d9f142'] 2026-08-14 08:57:12,929 - WARNING - Deleting VN ctest-vn-64823522 failed..Will retry 2026-08-14 08:57:15,054 - DEBUG - Response for deleting network () 2026-08-14 08:57:15,054 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/715dd469-d5a0-4f54-bde4-bfcd74f96060 2026-08-14 08:57:15,063 - DEBUG - Response Code: 404 2026-08-14 08:57:15,063 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-08-14 08:57:15,069 - DEBUG - Requesting: http://10.0.0.163:8082/domain/feb00bb1-dd77-4ad3-a16b-4634f8bbb996 2026-08-14 08:57:15,125 - DEBUG - Requesting: http://10.0.0.163:8082/project/a7b6ab11-a7a8-43f4-9bc3-b4c7aa334cc7 2026-08-14 08:57:15,203 - INFO - Validated that VN ctest-vn-64823522 is not found in API Server 2026-08-14 08:57:15,214 - DEBUG - VN ctest-vn-64823522 is not present in Agent 10.0.0.163 2026-08-14 08:57:15,214 - INFO - Validated that VN ctest-vn-64823522 is not in any agent 2026-08-14 08:57:15,230 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64823522 info 2026-08-14 08:57:15,230 - INFO - Deleting VN ctest-vn-92447313 2026-08-14 08:57:15,346 - DEBUG - Response for deleting network () 2026-08-14 08:57:15,347 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/9da992c6-e540-4468-8daa-560c5ce334f3 2026-08-14 08:57:15,354 - DEBUG - Response Code: 404 2026-08-14 08:57:15,354 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-08-14 08:57:15,361 - DEBUG - Requesting: http://10.0.0.163:8082/domain/feb00bb1-dd77-4ad3-a16b-4634f8bbb996 2026-08-14 08:57:15,414 - DEBUG - Requesting: http://10.0.0.163:8082/project/a7b6ab11-a7a8-43f4-9bc3-b4c7aa334cc7 2026-08-14 08:57:15,492 - INFO - Validated that VN ctest-vn-92447313 is not found in API Server 2026-08-14 08:57:15,503 - DEBUG - VN ctest-vn-92447313 is not present in Agent 10.0.0.163 2026-08-14 08:57:15,503 - INFO - Validated that VN ctest-vn-92447313 is not in any agent 2026-08-14 08:57:15,522 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92447313 info 2026-08-14 08:57:15,779 - DEBUG - No XMPP flaps were noticed during the test 2026-08-14 08:57:15,779 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:04] 2026-08-14 08:57:15,779 - INFO - -------------------------------------------------------------------------------- 2026-08-14 08:57:16,500 - INFO - Deleted project: ctest-TestBasicPolicy-62279161, ID : a7b6ab11-a7a8-43f4-9bc3-b4c7aa334cc7