2026-08-25 15:49:51,549 - INFO - Domain Default found not creating 2026-08-25 15:49:51,762 - INFO - Project ctest-TestBasicPolicy-89053460 not found, creating it 2026-08-25 15:49:52,309 - INFO - Created Project:ctest-TestBasicPolicy-89053460, ID : d7c83200-c238-41fe-9bc1-cc94b78d06c3 2026-08-25 15:49:54,224 - INFO - ================================================================================ 2026-08-25 15:49:54,224 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-25 15:49:54,224 - 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-25 15:49:54,503 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.25': '0'}} with 2026-08-25 15:49:54,504 - INFO - Initial checks done. Running the testcase now 2026-08-25 15:49:54,504 - INFO - 2026-08-25 15:49:55,257 - DEBUG - Response for create_network : {'network': {'id': 'b7db3d4e-5146-4ee0-8046-ae845f981025', 'name': 'ctest-vn-98417991', 'tenant_id': 'd7c83200c23841fe9bc1cc94b78d06c3', 'project_id': 'd7c83200c23841fe9bc1cc94b78d06c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89053460', 'ctest-vn-98417991'], 'port_security_enabled': True, 'description': ''}} 2026-08-25 15:49:55,519 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4a7c445-f8e2-423c-bbaf-417f130fdf93', 'name': '', 'tenant_id': 'd7c83200c23841fe9bc1cc94b78d06c3', 'network_id': 'b7db3d4e-5146-4ee0-8046-ae845f981025', 'ip_version': 4, 'cidr': '177.214.59.128/26', 'allocation_pools': [{'start': '177.214.59.130', 'end': '177.214.59.190'}], 'gateway_ip': '177.214.59.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.214.59.130', 'tags': [], 'project_id': 'd7c83200c23841fe9bc1cc94b78d06c3'}} 2026-08-25 15:49:55,541 - INFO - Created VN ctest-vn-98417991 2026-08-25 15:49:55,605 - DEBUG - VN ctest-vn-98417991 UUID is b7db3d4e-5146-4ee0-8046-ae845f981025 2026-08-25 15:49:55,954 - DEBUG - Response for create_network : {'network': {'id': 'dd2f1369-8906-40d9-b05f-ae1b7c1d1166', 'name': 'ctest-vn-37381097', 'tenant_id': 'd7c83200c23841fe9bc1cc94b78d06c3', 'project_id': 'd7c83200c23841fe9bc1cc94b78d06c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89053460', 'ctest-vn-37381097'], 'port_security_enabled': True, 'description': ''}} 2026-08-25 15:49:56,167 - DEBUG - Response for create_subnet : {'subnet': {'id': '2ddd7d88-d43e-45c3-92e2-751d174c51cf', 'name': '', 'tenant_id': 'd7c83200c23841fe9bc1cc94b78d06c3', 'network_id': 'dd2f1369-8906-40d9-b05f-ae1b7c1d1166', 'ip_version': 4, 'cidr': '33.195.123.0/26', 'allocation_pools': [{'start': '33.195.123.2', 'end': '33.195.123.62'}], 'gateway_ip': '33.195.123.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.195.123.2', 'tags': [], 'project_id': 'd7c83200c23841fe9bc1cc94b78d06c3'}} 2026-08-25 15:49:56,190 - INFO - Created VN ctest-vn-37381097 2026-08-25 15:49:56,245 - DEBUG - VN ctest-vn-37381097 UUID is dd2f1369-8906-40d9-b05f-ae1b7c1d1166 2026-08-25 15:49:56,372 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-89053460:ctest-vn-98417991, 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-89053460:ctest-vn-37381097, 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-25 15:49:56,718 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b7db3d4e-5146-4ee0-8046-ae845f981025', 'name': 'ctest-vn-98417991', 'tenant_id': 'd7c83200c23841fe9bc1cc94b78d06c3', 'project_id': 'd7c83200c23841fe9bc1cc94b78d06c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b4a7c445-f8e2-423c-bbaf-417f130fdf93'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89053460', 'ctest-vn-98417991'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89053460', 'ctest-policy-allow-all-73065819']], 'subnet_ipam': [{'subnet_cidr': '177.214.59.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-25 15:49:56,987 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dd2f1369-8906-40d9-b05f-ae1b7c1d1166', 'name': 'ctest-vn-37381097', 'tenant_id': 'd7c83200c23841fe9bc1cc94b78d06c3', 'project_id': 'd7c83200c23841fe9bc1cc94b78d06c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2ddd7d88-d43e-45c3-92e2-751d174c51cf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89053460', 'ctest-vn-37381097'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89053460', 'ctest-policy-allow-all-73065819']], 'subnet_ipam': [{'subnet_cidr': '33.195.123.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-25 15:49:57,173 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-25 15:49:57,541 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-25 15:49:57,579 - DEBUG - Requesting: http://10.0.0.177:8082/domain/dd578497-7f24-4751-b723-806fa619a4fc 2026-08-25 15:49:57,597 - DEBUG - Requesting: http://10.0.0.177:8082/project/d7c83200-c238-41fe-9bc1-cc94b78d06c3 2026-08-25 15:49:57,685 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/b7db3d4e-5146-4ee0-8046-ae845f981025 2026-08-25 15:49:57,700 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/b7db3d4e-5146-4ee0-8046-ae845f981025 2026-08-25 15:49:57,710 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/8c87e369-a48e-43ac-9705-354bb3683305 2026-08-25 15:49:57,718 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/8c87e369-a48e-43ac-9705-354bb3683305 2026-08-25 15:49:57,727 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/c44653d3-9425-4310-8fdc-9f740f8983c2 2026-08-25 15:49:57,737 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-25 15:49:57,737 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/b7db3d4e-5146-4ee0-8046-ae845f981025 2026-08-25 15:49:57,749 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/8c87e369-a48e-43ac-9705-354bb3683305 2026-08-25 15:49:57,768 - INFO - Verified VN network id 11 for VN b7db3d4e-5146-4ee0-8046-ae845f981025 2026-08-25 15:49:57,768 - INFO - Verifications in API Server for VN ctest-vn-98417991 passed 2026-08-25 15:49:57,769 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/b7db3d4e-5146-4ee0-8046-ae845f981025 2026-08-25 15:49:57,782 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/8c87e369-a48e-43ac-9705-354bb3683305 2026-08-25 15:49:57,792 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/8c87e369-a48e-43ac-9705-354bb3683305 2026-08-25 15:49:57,802 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/c44653d3-9425-4310-8fdc-9f740f8983c2 2026-08-25 15:49:57,819 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89053460:ctest-vn-98417991', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89053460', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13248250135420751584', 'uuid-lslong': '9243267168787238949'}, 'enable': 'true', 'created': '2026-08-25T15:49:55', 'last-modified': '2026-08-25T15:49:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.124503'} 2026-08-25 15:49:57,829 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-25 15:49:57,829 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98417991 passed 2026-08-25 15:49:57,830 - DEBUG - ====Verifying policy data for ctest-vn-98417991 in API_Server ====== 2026-08-25 15:49:57,830 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-25 15:49:57,839 - DEBUG - Requesting: http://10.0.0.177:8082/domain/dd578497-7f24-4751-b723-806fa619a4fc 2026-08-25 15:49:57,854 - DEBUG - Requesting: http://10.0.0.177:8082/project/d7c83200-c238-41fe-9bc1-cc94b78d06c3 2026-08-25 15:49:57,949 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/b7db3d4e-5146-4ee0-8046-ae845f981025 2026-08-25 15:49:57,967 - DEBUG - ==>Verifying data for policy with id: 488a011e-00dd-4b31-9a4c-253adf472c05, fqn: ['default-domain', 'ctest-TestBasicPolicy-89053460', 'ctest-policy-allow-all-73065819'] 2026-08-25 15:49:57,967 - INFO - VN ctest-vn-98417991 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-25 15:49:57,967 - DEBUG - Verifying the vn in opserver 2026-08-25 15:49:57,967 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89053460:ctest-vn-98417991 virtual network link through opserver 10.0.0.177 2026-08-25 15:49:57,967 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-25 15:49:58,337 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-25 15:49:58,416 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89053460:ctest-vn-98417991', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89053460:ctest-vn-98417991?flat'} 2026-08-25 15:49:58,416 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89053460:ctest-vn-98417991 is found in opserver 2026-08-25 15:49:58,430 - DEBUG - Do not have enough data to verify VN in agent 2026-08-25 15:49:58,437 - DEBUG - VRF ids for VN ctest-vn-98417991: {} 2026-08-25 15:49:58,438 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-25 15:49:58,445 - DEBUG - Requesting: http://10.0.0.177:8082/domain/dd578497-7f24-4751-b723-806fa619a4fc 2026-08-25 15:49:58,461 - DEBUG - Requesting: http://10.0.0.177:8082/project/d7c83200-c238-41fe-9bc1-cc94b78d06c3 2026-08-25 15:49:58,547 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/dd2f1369-8906-40d9-b05f-ae1b7c1d1166 2026-08-25 15:49:58,562 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/dd2f1369-8906-40d9-b05f-ae1b7c1d1166 2026-08-25 15:49:58,574 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/ac171682-51d5-4987-8857-6de2af9ef9f4 2026-08-25 15:49:58,583 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/ac171682-51d5-4987-8857-6de2af9ef9f4 2026-08-25 15:49:58,590 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/081ee4d2-f36c-41be-b225-00dba8168ad5 2026-08-25 15:49:58,598 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-25 15:49:58,598 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/dd2f1369-8906-40d9-b05f-ae1b7c1d1166 2026-08-25 15:49:58,609 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/ac171682-51d5-4987-8857-6de2af9ef9f4 2026-08-25 15:49:58,626 - INFO - Verified VN network id 12 for VN dd2f1369-8906-40d9-b05f-ae1b7c1d1166 2026-08-25 15:49:58,626 - INFO - Verifications in API Server for VN ctest-vn-37381097 passed 2026-08-25 15:49:58,626 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/dd2f1369-8906-40d9-b05f-ae1b7c1d1166 2026-08-25 15:49:58,637 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/ac171682-51d5-4987-8857-6de2af9ef9f4 2026-08-25 15:49:58,644 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/ac171682-51d5-4987-8857-6de2af9ef9f4 2026-08-25 15:49:58,653 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/081ee4d2-f36c-41be-b225-00dba8168ad5 2026-08-25 15:49:58,667 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89053460:ctest-vn-37381097', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89053460', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15937978950278856921', 'uuid-lslong': '12709068106532458854'}, 'enable': 'true', 'created': '2026-08-25T15:49:55', 'last-modified': '2026-08-25T15:49:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.717828'} 2026-08-25 15:49:58,675 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-25 15:49:58,675 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37381097 passed 2026-08-25 15:49:58,676 - DEBUG - ====Verifying policy data for ctest-vn-37381097 in API_Server ====== 2026-08-25 15:49:58,676 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-25 15:49:58,682 - DEBUG - Requesting: http://10.0.0.177:8082/domain/dd578497-7f24-4751-b723-806fa619a4fc 2026-08-25 15:49:58,696 - DEBUG - Requesting: http://10.0.0.177:8082/project/d7c83200-c238-41fe-9bc1-cc94b78d06c3 2026-08-25 15:49:58,776 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/dd2f1369-8906-40d9-b05f-ae1b7c1d1166 2026-08-25 15:49:58,788 - DEBUG - ==>Verifying data for policy with id: 488a011e-00dd-4b31-9a4c-253adf472c05, fqn: ['default-domain', 'ctest-TestBasicPolicy-89053460', 'ctest-policy-allow-all-73065819'] 2026-08-25 15:49:58,788 - INFO - VN ctest-vn-37381097 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-25 15:49:58,788 - DEBUG - Verifying the vn in opserver 2026-08-25 15:49:58,788 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89053460:ctest-vn-37381097 virtual network link through opserver 10.0.0.177 2026-08-25 15:49:58,788 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-25 15:49:58,799 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89053460:ctest-vn-37381097', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89053460:ctest-vn-37381097?flat'} 2026-08-25 15:49:58,799 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89053460:ctest-vn-37381097 is found in opserver 2026-08-25 15:49:58,813 - DEBUG - Do not have enough data to verify VN in agent 2026-08-25 15:49:58,820 - DEBUG - VRF ids for VN ctest-vn-37381097: {} 2026-08-25 15:49:58,902 - DEBUG - Services list from nova: [, , ] 2026-08-25 15:49:59,464 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6226-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6226-1) 2026-08-25 15:49:59,936 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6226-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6226-1) 2026-08-25 15:49:59,937 - INFO - Waiting for VM ctest-TestBasicPolicy-89053460-80638335 to be up.. 2026-08-25 15:49:59,989 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 15:50:05,094 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 15:50:10,188 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 15:50:15,276 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 15:50:20,390 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 15:50:25,486 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 15:50:30,582 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 15:50:35,669 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 15:50:40,780 - DEBUG - VM is in ACTIVE state now 2026-08-25 15:50:40,781 - INFO - VM name : ctest-TestBasicPolicy-89053460-80638335 2026-08-25 15:50:40,898 - DEBUG - VM ctest-TestBasicPolicy-89053460-80638335 ID is 99fcf078-653e-4677-af93-9fc8675b4ec1 2026-08-25 15:50:40,923 - DEBUG - VM ctest-TestBasicPolicy-89053460-80638335 launched on Node cn-jenkins-deploy-platform-ansible-os-6226-1 2026-08-25 15:50:41,008 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/99fcf078-653e-4677-af93-9fc8675b4ec1 2026-08-25 15:50:41,019 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/8a6e48f0-2f92-4792-bbc3-a4b976ace740 2026-08-25 15:50:44,313 - 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 1025ms') 2026-08-25 15:50:44,313 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89053460-80638335 failed! 2026-08-25 15:50:44,377 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-89053460:ctest-vn-98417991 is 177.214.59.129 and allocation pool is NOT set 2026-08-25 15:50:48,467 - 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 1025ms') 2026-08-25 15:50:48,467 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89053460-80638335 failed! 2026-08-25 15:50:48,524 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-89053460:ctest-vn-98417991 is 177.214.59.129 and allocation pool is NOT set 2026-08-25 15:50:50,590 - 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=4.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.602 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.602/2.462/4.323/1.860 ms') 2026-08-25 15:50:50,591 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89053460-80638335 passed 2026-08-25 15:50:50,744 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 15:50:50,745 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89053460-80638335, IP 177.214.59.131, Port 22 2026-08-25 15:50:50,922 - DEBUG - VM ctest-TestBasicPolicy-89053460-80638335 is ready for SSH connections 2026-08-25 15:50:50,923 - INFO - Waiting for VM ctest-TestBasicPolicy-89053460-92135206 to be up.. 2026-08-25 15:50:51,020 - DEBUG - VM is in ACTIVE state now 2026-08-25 15:50:51,020 - INFO - VM name : ctest-TestBasicPolicy-89053460-92135206 2026-08-25 15:50:51,111 - DEBUG - VM ctest-TestBasicPolicy-89053460-92135206 ID is b769795b-aaef-460e-b8c9-42af76748ce6 2026-08-25 15:50:51,111 - DEBUG - VM ctest-TestBasicPolicy-89053460-92135206 launched on Node cn-jenkins-deploy-platform-ansible-os-6226-1 2026-08-25 15:50:51,196 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/b769795b-aaef-460e-b8c9-42af76748ce6 2026-08-25 15:50:51,207 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/016bcb71-57de-4164-846c-76bf98efc829 2026-08-25 15:50:52,455 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.618 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.618/2.232/3.847/1.614 ms') 2026-08-25 15:50:52,455 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-89053460-92135206 passed 2026-08-25 15:50:52,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 15:50:52,609 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89053460-92135206, IP 33.195.123.3, Port 22 2026-08-25 15:50:52,787 - DEBUG - VM ctest-TestBasicPolicy-89053460-92135206 is ready for SSH connections 2026-08-25 15:50:52,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 15:50:52,787 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.195.123.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-25 15:50:52,787 - DEBUG - ping -s 56 -c 3 -W 1 33.195.123.3 2026-08-25 15:50:56,843 - DEBUG - PING 33.195.123.3 (33.195.123.3): 56 data bytes 64 bytes from 33.195.123.3: seq=0 ttl=63 time=4.074 ms 64 bytes from 33.195.123.3: seq=1 ttl=63 time=1.032 ms 64 bytes from 33.195.123.3: seq=2 ttl=63 time=1.057 ms --- 33.195.123.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.032/2.054/4.074 ms 2026-08-25 15:50:56,843 - INFO - Ping to IP 33.195.123.3 from VM ctest-TestBasicPolicy-89053460-80638335 passed 2026-08-25 15:50:57,036 - DEBUG - Policy Update Response {"network-policy": {"uuid": "488a011e-00dd-4b31-9a4c-253adf472c05", "href": "http://10.0.0.177:8082/network-policy/488a011e-00dd-4b31-9a4c-253adf472c05"}} 2026-08-25 15:50:57,036 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 15:50:57,037 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.195.123.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-25 15:50:57,037 - DEBUG - ping -s 56 -c 3 -W 1 33.195.123.3 2026-08-25 15:51:00,158 - DEBUG - PING 33.195.123.3 (33.195.123.3): 56 data bytes 64 bytes from 33.195.123.3: seq=0 ttl=63 time=1.705 ms --- 33.195.123.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.705/1.705/1.705 ms 2026-08-25 15:51:00,158 - WARNING - Ping to IP 33.195.123.3 from VM ctest-TestBasicPolicy-89053460-80638335 failed 2026-08-25 15:51:00,158 - INFO - Deleting VM ctest-TestBasicPolicy-89053460-92135206 2026-08-25 15:51:00,239 - INFO - Deleting VM ctest-TestBasicPolicy-89053460-80638335 2026-08-25 15:51:00,683 - INFO - Deleted policy ctest-policy-allow-all-73065819 2026-08-25 15:51:00,683 - INFO - Deleting VN ctest-vn-37381097 2026-08-25 15:51:00,731 - DEBUG - VN dd2f1369-8906-40d9-b05f-ae1b7c1d1166 still in use: Unable to complete operation on network dd2f1369-8906-40d9-b05f-ae1b7c1d1166. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-842d4db1-f4da-4bac-9ada-960b5bac50f3'] 2026-08-25 15:51:00,731 - WARNING - Deleting VN ctest-vn-37381097 failed..Will retry 2026-08-25 15:51:02,867 - DEBUG - Response for deleting network () 2026-08-25 15:51:02,867 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/ac171682-51d5-4987-8857-6de2af9ef9f4 2026-08-25 15:51:02,875 - DEBUG - Response Code: 404 2026-08-25 15:51:02,875 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-25 15:51:02,883 - DEBUG - Requesting: http://10.0.0.177:8082/domain/dd578497-7f24-4751-b723-806fa619a4fc 2026-08-25 15:51:02,952 - DEBUG - Requesting: http://10.0.0.177:8082/project/d7c83200-c238-41fe-9bc1-cc94b78d06c3 2026-08-25 15:51:03,036 - INFO - Validated that VN ctest-vn-37381097 is not found in API Server 2026-08-25 15:51:03,049 - DEBUG - VN ctest-vn-37381097 is not present in Agent 10.0.0.177 2026-08-25 15:51:03,049 - INFO - Validated that VN ctest-vn-37381097 is not in any agent 2026-08-25 15:51:03,068 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37381097 info 2026-08-25 15:51:03,068 - INFO - Deleting VN ctest-vn-98417991 2026-08-25 15:51:03,212 - DEBUG - Response for deleting network () 2026-08-25 15:51:03,212 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/8c87e369-a48e-43ac-9705-354bb3683305 2026-08-25 15:51:03,220 - DEBUG - Response Code: 404 2026-08-25 15:51:03,220 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-25 15:51:03,228 - DEBUG - Requesting: http://10.0.0.177:8082/domain/dd578497-7f24-4751-b723-806fa619a4fc 2026-08-25 15:51:03,287 - DEBUG - Requesting: http://10.0.0.177:8082/project/d7c83200-c238-41fe-9bc1-cc94b78d06c3 2026-08-25 15:51:03,371 - INFO - Validated that VN ctest-vn-98417991 is not found in API Server 2026-08-25 15:51:03,383 - DEBUG - VN ctest-vn-98417991 is not present in Agent 10.0.0.177 2026-08-25 15:51:03,383 - INFO - Validated that VN ctest-vn-98417991 is not in any agent 2026-08-25 15:51:03,406 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-98417991 info 2026-08-25 15:51:03,686 - DEBUG - No XMPP flaps were noticed during the test
2026-08-25 15:51:03,686 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:09]
2026-08-25 15:51:03,686 - INFO - -------------------------------------------------------------------------------- 2026-08-25 15:51:04,456 - INFO - Deleted project: ctest-TestBasicPolicy-89053460, ID : d7c83200-c238-41fe-9bc1-cc94b78d06c3