2026-08-26 06:15:30,901 - INFO - Domain Default found not creating 2026-08-26 06:15:31,085 - INFO - Project ctest-TestBasicPolicy-64084082 not found, creating it 2026-08-26 06:15:31,628 - INFO - Created Project:ctest-TestBasicPolicy-64084082, ID : 4b94a38a-d294-4e58-8950-83843d838e86 2026-08-26 06:15:33,257 - INFO - ================================================================================ 2026-08-26 06:15:33,257 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-26 06:15:33,257 - 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-26 06:15:33,521 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-08-26 06:15:33,521 - INFO - Initial checks done. Running the testcase now 2026-08-26 06:15:33,521 - INFO - 2026-08-26 06:15:34,169 - DEBUG - Response for create_network : {'network': {'id': '45dddea8-6ce0-4f60-ba02-b934e0d228aa', 'name': 'ctest-vn-69922406', 'tenant_id': '4b94a38ad2944e58895083843d838e86', 'project_id': '4b94a38ad2944e58895083843d838e86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64084082', 'ctest-vn-69922406'], 'port_security_enabled': True, 'description': ''}} 2026-08-26 06:15:34,381 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e60b75e-defb-4254-b692-1b9313bae038', 'name': '', 'tenant_id': '4b94a38ad2944e58895083843d838e86', 'network_id': '45dddea8-6ce0-4f60-ba02-b934e0d228aa', 'ip_version': 4, 'cidr': '190.67.41.128/26', 'allocation_pools': [{'start': '190.67.41.130', 'end': '190.67.41.190'}], 'gateway_ip': '190.67.41.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.67.41.130', 'tags': [], 'project_id': '4b94a38ad2944e58895083843d838e86'}} 2026-08-26 06:15:34,400 - INFO - Created VN ctest-vn-69922406 2026-08-26 06:15:34,454 - DEBUG - VN ctest-vn-69922406 UUID is 45dddea8-6ce0-4f60-ba02-b934e0d228aa 2026-08-26 06:15:34,783 - DEBUG - Response for create_network : {'network': {'id': '706bf160-0857-499d-aafb-0f4a6abc11f5', 'name': 'ctest-vn-60364917', 'tenant_id': '4b94a38ad2944e58895083843d838e86', 'project_id': '4b94a38ad2944e58895083843d838e86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64084082', 'ctest-vn-60364917'], 'port_security_enabled': True, 'description': ''}} 2026-08-26 06:15:34,988 - DEBUG - Response for create_subnet : {'subnet': {'id': '6560cfae-5b9a-4f24-af3b-4888811a12f3', 'name': '', 'tenant_id': '4b94a38ad2944e58895083843d838e86', 'network_id': '706bf160-0857-499d-aafb-0f4a6abc11f5', 'ip_version': 4, 'cidr': '149.94.253.192/26', 'allocation_pools': [{'start': '149.94.253.194', 'end': '149.94.253.254'}], 'gateway_ip': '149.94.253.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.94.253.194', 'tags': [], 'project_id': '4b94a38ad2944e58895083843d838e86'}} 2026-08-26 06:15:35,007 - INFO - Created VN ctest-vn-60364917 2026-08-26 06:15:35,061 - DEBUG - VN ctest-vn-60364917 UUID is 706bf160-0857-499d-aafb-0f4a6abc11f5 2026-08-26 06:15:35,179 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-64084082:ctest-vn-69922406, 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-64084082:ctest-vn-60364917, 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-26 06:15:35,521 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '45dddea8-6ce0-4f60-ba02-b934e0d228aa', 'name': 'ctest-vn-69922406', 'tenant_id': '4b94a38ad2944e58895083843d838e86', 'project_id': '4b94a38ad2944e58895083843d838e86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['8e60b75e-defb-4254-b692-1b9313bae038'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64084082', 'ctest-vn-69922406'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64084082', 'ctest-policy-allow-all-17013400']], 'subnet_ipam': [{'subnet_cidr': '190.67.41.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-26 06:15:35,779 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '706bf160-0857-499d-aafb-0f4a6abc11f5', 'name': 'ctest-vn-60364917', 'tenant_id': '4b94a38ad2944e58895083843d838e86', 'project_id': '4b94a38ad2944e58895083843d838e86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['6560cfae-5b9a-4f24-af3b-4888811a12f3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64084082', 'ctest-vn-60364917'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64084082', 'ctest-policy-allow-all-17013400']], 'subnet_ipam': [{'subnet_cidr': '149.94.253.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-26 06:15:35,950 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-26 06:15:36,278 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-26 06:15:36,315 - DEBUG - Requesting: http://10.0.0.50:8082/domain/03305af0-14c8-4ca5-b6cb-c40669bb9281 2026-08-26 06:15:36,351 - DEBUG - Requesting: http://10.0.0.50:8082/project/4b94a38a-d294-4e58-8950-83843d838e86 2026-08-26 06:15:36,438 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45dddea8-6ce0-4f60-ba02-b934e0d228aa 2026-08-26 06:15:36,454 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45dddea8-6ce0-4f60-ba02-b934e0d228aa 2026-08-26 06:15:36,465 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/93d6c7b4-f9b8-40c7-a08e-8a5df20ca20c 2026-08-26 06:15:36,474 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/93d6c7b4-f9b8-40c7-a08e-8a5df20ca20c 2026-08-26 06:15:36,483 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/05cea06e-cfe3-429b-a8d3-ae61950aad41 2026-08-26 06:15:36,491 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-26 06:15:36,491 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45dddea8-6ce0-4f60-ba02-b934e0d228aa 2026-08-26 06:15:36,503 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/93d6c7b4-f9b8-40c7-a08e-8a5df20ca20c 2026-08-26 06:15:36,521 - INFO - Verified VN network id 12 for VN 45dddea8-6ce0-4f60-ba02-b934e0d228aa 2026-08-26 06:15:36,521 - INFO - Verifications in API Server for VN ctest-vn-69922406 passed 2026-08-26 06:15:36,522 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45dddea8-6ce0-4f60-ba02-b934e0d228aa 2026-08-26 06:15:36,532 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/93d6c7b4-f9b8-40c7-a08e-8a5df20ca20c 2026-08-26 06:15:36,541 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/93d6c7b4-f9b8-40c7-a08e-8a5df20ca20c 2026-08-26 06:15:36,550 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/05cea06e-cfe3-429b-a8d3-ae61950aad41 2026-08-26 06:15:36,567 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64084082:ctest-vn-69922406', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64084082', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5034424773432594272', 'uuid-lslong': '13403479077769324714'}, 'enable': 'true', 'created': '2026-08-26T06:15:34', 'last-modified': '2026-08-26T06:15:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.074435'} 2026-08-26 06:15:36,578 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-26 06:15:36,578 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69922406 passed 2026-08-26 06:15:36,579 - DEBUG - ====Verifying policy data for ctest-vn-69922406 in API_Server ====== 2026-08-26 06:15:36,579 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-26 06:15:36,585 - DEBUG - Requesting: http://10.0.0.50:8082/domain/03305af0-14c8-4ca5-b6cb-c40669bb9281 2026-08-26 06:15:36,598 - DEBUG - Requesting: http://10.0.0.50:8082/project/4b94a38a-d294-4e58-8950-83843d838e86 2026-08-26 06:15:36,675 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/45dddea8-6ce0-4f60-ba02-b934e0d228aa 2026-08-26 06:15:36,688 - DEBUG - ==>Verifying data for policy with id: f12fd383-8db6-41bd-9fed-4ed1fa445244, fqn: ['default-domain', 'ctest-TestBasicPolicy-64084082', 'ctest-policy-allow-all-17013400'] 2026-08-26 06:15:36,688 - INFO - VN ctest-vn-69922406 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-26 06:15:36,688 - DEBUG - Verifying the vn in opserver 2026-08-26 06:15:36,688 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64084082:ctest-vn-69922406 virtual network link through opserver 10.0.0.50 2026-08-26 06:15:36,688 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-26 06:15:37,022 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-26 06:15:37,089 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64084082:ctest-vn-69922406', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64084082:ctest-vn-69922406?flat'} 2026-08-26 06:15:37,089 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64084082:ctest-vn-69922406 is found in opserver 2026-08-26 06:15:37,101 - DEBUG - Do not have enough data to verify VN in agent 2026-08-26 06:15:37,108 - DEBUG - VRF ids for VN ctest-vn-69922406: {} 2026-08-26 06:15:37,108 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-26 06:15:37,115 - DEBUG - Requesting: http://10.0.0.50:8082/domain/03305af0-14c8-4ca5-b6cb-c40669bb9281 2026-08-26 06:15:37,129 - DEBUG - Requesting: http://10.0.0.50:8082/project/4b94a38a-d294-4e58-8950-83843d838e86 2026-08-26 06:15:37,214 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/706bf160-0857-499d-aafb-0f4a6abc11f5 2026-08-26 06:15:37,228 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/706bf160-0857-499d-aafb-0f4a6abc11f5 2026-08-26 06:15:37,238 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f1374241-edae-4b75-b517-792a2e97a4b3 2026-08-26 06:15:37,246 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f1374241-edae-4b75-b517-792a2e97a4b3 2026-08-26 06:15:37,254 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e1da3b15-df15-4717-bfb1-9f2179d29246 2026-08-26 06:15:37,262 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-26 06:15:37,262 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/706bf160-0857-499d-aafb-0f4a6abc11f5 2026-08-26 06:15:37,274 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f1374241-edae-4b75-b517-792a2e97a4b3 2026-08-26 06:15:37,293 - INFO - Verified VN network id 13 for VN 706bf160-0857-499d-aafb-0f4a6abc11f5 2026-08-26 06:15:37,293 - INFO - Verifications in API Server for VN ctest-vn-60364917 passed 2026-08-26 06:15:37,293 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/706bf160-0857-499d-aafb-0f4a6abc11f5 2026-08-26 06:15:37,307 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f1374241-edae-4b75-b517-792a2e97a4b3 2026-08-26 06:15:37,316 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f1374241-edae-4b75-b517-792a2e97a4b3 2026-08-26 06:15:37,326 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e1da3b15-df15-4717-bfb1-9f2179d29246 2026-08-26 06:15:37,344 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64084082:ctest-vn-60364917', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64084082', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8100833749515061661', 'uuid-lslong': '12320458017894830581'}, 'enable': 'true', 'created': '2026-08-26T06:15:34', 'last-modified': '2026-08-26T06:15:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.602084'} 2026-08-26 06:15:37,351 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-26 06:15:37,352 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60364917 passed 2026-08-26 06:15:37,352 - DEBUG - ====Verifying policy data for ctest-vn-60364917 in API_Server ====== 2026-08-26 06:15:37,352 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-26 06:15:37,359 - DEBUG - Requesting: http://10.0.0.50:8082/domain/03305af0-14c8-4ca5-b6cb-c40669bb9281 2026-08-26 06:15:37,373 - DEBUG - Requesting: http://10.0.0.50:8082/project/4b94a38a-d294-4e58-8950-83843d838e86 2026-08-26 06:15:37,455 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/706bf160-0857-499d-aafb-0f4a6abc11f5 2026-08-26 06:15:37,465 - DEBUG - ==>Verifying data for policy with id: f12fd383-8db6-41bd-9fed-4ed1fa445244, fqn: ['default-domain', 'ctest-TestBasicPolicy-64084082', 'ctest-policy-allow-all-17013400'] 2026-08-26 06:15:37,465 - INFO - VN ctest-vn-60364917 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-26 06:15:37,465 - DEBUG - Verifying the vn in opserver 2026-08-26 06:15:37,465 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64084082:ctest-vn-60364917 virtual network link through opserver 10.0.0.50 2026-08-26 06:15:37,465 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-26 06:15:37,477 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64084082:ctest-vn-60364917', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64084082:ctest-vn-60364917?flat'} 2026-08-26 06:15:37,477 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64084082:ctest-vn-60364917 is found in opserver 2026-08-26 06:15:37,491 - DEBUG - Do not have enough data to verify VN in agent 2026-08-26 06:15:37,497 - DEBUG - VRF ids for VN ctest-vn-60364917: {} 2026-08-26 06:15:37,566 - DEBUG - Services list from nova: [, , ] 2026-08-26 06:15:38,072 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6231-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6231-1) 2026-08-26 06:15:38,513 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6231-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6231-1) 2026-08-26 06:15:38,513 - INFO - Waiting for VM ctest-TestBasicPolicy-64084082-72865010 to be up.. 2026-08-26 06:15:38,564 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-26 06:15:43,650 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-26 06:15:48,742 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-26 06:15:53,822 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-26 06:15:58,912 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-26 06:16:04,012 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-26 06:16:09,108 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-26 06:16:14,199 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-26 06:16:19,291 - DEBUG - VM is in ACTIVE state now 2026-08-26 06:16:19,291 - INFO - VM name : ctest-TestBasicPolicy-64084082-72865010 2026-08-26 06:16:19,381 - DEBUG - VM ctest-TestBasicPolicy-64084082-72865010 ID is 62d0f3b0-6a02-4633-9f64-df2ae2b0639b 2026-08-26 06:16:19,405 - DEBUG - VM ctest-TestBasicPolicy-64084082-72865010 launched on Node cn-jenkins-deploy-platform-ansible-os-6231-1 2026-08-26 06:16:19,492 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/62d0f3b0-6a02-4633-9f64-df2ae2b0639b 2026-08-26 06:16:19,502 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/dafadbbf-5095-4630-88a7-103d557435e6 2026-08-26 06:16:22,768 - 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-08-26 06:16:22,768 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64084082-72865010 failed! 2026-08-26 06:16:22,826 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-64084082:ctest-vn-69922406 is 190.67.41.129 and allocation pool is NOT set 2026-08-26 06:16:24,891 - 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=7.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.19 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 3.191/5.195/7.200/2.004 ms') 2026-08-26 06:16:24,891 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64084082-72865010 passed 2026-08-26 06:16:25,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-26 06:16:25,050 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64084082-72865010, IP 190.67.41.131, Port 22 2026-08-26 06:16:25,116 - 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-08-26 06:16:25,210 - DEBUG - VM ctest-TestBasicPolicy-64084082-72865010 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-26 06:16:30,212 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-26 06:16:30,212 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64084082-72865010, IP 190.67.41.131, Port 22 2026-08-26 06:16:30,386 - DEBUG - VM ctest-TestBasicPolicy-64084082-72865010 is ready for SSH connections 2026-08-26 06:16:30,387 - INFO - Waiting for VM ctest-TestBasicPolicy-64084082-16455500 to be up.. 2026-08-26 06:16:30,493 - DEBUG - VM is in ACTIVE state now 2026-08-26 06:16:30,493 - INFO - VM name : ctest-TestBasicPolicy-64084082-16455500 2026-08-26 06:16:30,590 - DEBUG - VM ctest-TestBasicPolicy-64084082-16455500 ID is 9fdefccf-e05c-4a5b-b927-b709a8ff59b6 2026-08-26 06:16:30,591 - DEBUG - VM ctest-TestBasicPolicy-64084082-16455500 launched on Node cn-jenkins-deploy-platform-ansible-os-6231-1 2026-08-26 06:16:30,681 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9fdefccf-e05c-4a5b-b927-b709a8ff59b6 2026-08-26 06:16:30,702 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/22db2152-945d-4d6c-99c4-e276b5e39ac9 2026-08-26 06:16:31,950 - 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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.656 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.656/2.568/4.480/1.912 ms') 2026-08-26 06:16:31,950 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-64084082-16455500 passed 2026-08-26 06:16:32,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-26 06:16:32,106 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64084082-16455500, IP 149.94.253.195, Port 22 2026-08-26 06:16:32,272 - DEBUG - VM ctest-TestBasicPolicy-64084082-16455500 is ready for SSH connections 2026-08-26 06:16:32,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-26 06:16:32,272 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.94.253.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-26 06:16:32,272 - DEBUG - ping -s 56 -c 3 -W 1 149.94.253.195 2026-08-26 06:16:36,361 - DEBUG - PING 149.94.253.195 (149.94.253.195): 56 data bytes 64 bytes from 149.94.253.195: seq=0 ttl=63 time=5.636 ms 64 bytes from 149.94.253.195: seq=1 ttl=63 time=1.384 ms 64 bytes from 149.94.253.195: seq=2 ttl=63 time=1.173 ms --- 149.94.253.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.173/2.731/5.636 ms 2026-08-26 06:16:36,361 - INFO - Ping to IP 149.94.253.195 from VM ctest-TestBasicPolicy-64084082-72865010 passed 2026-08-26 06:16:36,553 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f12fd383-8db6-41bd-9fed-4ed1fa445244", "href": "http://10.0.0.50:8082/network-policy/f12fd383-8db6-41bd-9fed-4ed1fa445244"}} 2026-08-26 06:16:36,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-26 06:16:36,554 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.94.253.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-26 06:16:36,554 - DEBUG - ping -s 56 -c 3 -W 1 149.94.253.195 2026-08-26 06:16:39,708 - DEBUG - PING 149.94.253.195 (149.94.253.195): 56 data bytes 64 bytes from 149.94.253.195: seq=0 ttl=63 time=2.139 ms --- 149.94.253.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.139/2.139/2.139 ms 2026-08-26 06:16:39,708 - WARNING - Ping to IP 149.94.253.195 from VM ctest-TestBasicPolicy-64084082-72865010 failed 2026-08-26 06:16:39,708 - INFO - Deleting VM ctest-TestBasicPolicy-64084082-16455500 2026-08-26 06:16:39,789 - INFO - Deleting VM ctest-TestBasicPolicy-64084082-72865010 2026-08-26 06:16:40,272 - INFO - Deleted policy ctest-policy-allow-all-17013400 2026-08-26 06:16:40,272 - INFO - Deleting VN ctest-vn-60364917 2026-08-26 06:16:40,328 - DEBUG - VN 706bf160-0857-499d-aafb-0f4a6abc11f5 still in use: Unable to complete operation on network 706bf160-0857-499d-aafb-0f4a6abc11f5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-05a60b41-25cb-4fca-b44b-443b13d86201'] 2026-08-26 06:16:40,328 - WARNING - Deleting VN ctest-vn-60364917 failed..Will retry 2026-08-26 06:16:42,462 - DEBUG - Response for deleting network () 2026-08-26 06:16:42,462 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f1374241-edae-4b75-b517-792a2e97a4b3 2026-08-26 06:16:42,470 - DEBUG - Response Code: 404 2026-08-26 06:16:42,471 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-26 06:16:42,480 - DEBUG - Requesting: http://10.0.0.50:8082/domain/03305af0-14c8-4ca5-b6cb-c40669bb9281 2026-08-26 06:16:42,538 - DEBUG - Requesting: http://10.0.0.50:8082/project/4b94a38a-d294-4e58-8950-83843d838e86 2026-08-26 06:16:42,621 - INFO - Validated that VN ctest-vn-60364917 is not found in API Server 2026-08-26 06:16:42,634 - DEBUG - VN ctest-vn-60364917 is not present in Agent 10.0.0.50 2026-08-26 06:16:42,634 - INFO - Validated that VN ctest-vn-60364917 is not in any agent 2026-08-26 06:16:42,651 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60364917 info 2026-08-26 06:16:42,652 - INFO - Deleting VN ctest-vn-69922406 2026-08-26 06:16:42,766 - DEBUG - Response for deleting network () 2026-08-26 06:16:42,767 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/93d6c7b4-f9b8-40c7-a08e-8a5df20ca20c 2026-08-26 06:16:42,773 - DEBUG - Response Code: 404 2026-08-26 06:16:42,773 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-26 06:16:42,779 - DEBUG - Requesting: http://10.0.0.50:8082/domain/03305af0-14c8-4ca5-b6cb-c40669bb9281 2026-08-26 06:16:42,836 - DEBUG - Requesting: http://10.0.0.50:8082/project/4b94a38a-d294-4e58-8950-83843d838e86 2026-08-26 06:16:42,915 - INFO - Validated that VN ctest-vn-69922406 is not found in API Server 2026-08-26 06:16:42,926 - DEBUG - VN ctest-vn-69922406 is not present in Agent 10.0.0.50 2026-08-26 06:16:42,926 - INFO - Validated that VN ctest-vn-69922406 is not in any agent 2026-08-26 06:16:42,947 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69922406 info 2026-08-26 06:16:43,207 - DEBUG - No XMPP flaps were noticed during the test
2026-08-26 06:16:43,207 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:10]
2026-08-26 06:16:43,207 - INFO - -------------------------------------------------------------------------------- 2026-08-26 06:16:43,944 - INFO - Deleted project: ctest-TestBasicPolicy-64084082, ID : 4b94a38a-d294-4e58-8950-83843d838e86