2026-02-03 18:43:25,474 - INFO - Domain Default found not creating 2026-02-03 18:43:25,657 - INFO - Project ctest-TestBasicPolicy-90037827 not found, creating it 2026-02-03 18:43:26,110 - INFO - Created Project:ctest-TestBasicPolicy-90037827, ID : 05798587-a0ef-47ed-8c91-d4eaff08c7d3 2026-02-03 18:43:27,548 - INFO - ================================================================================ 2026-02-03 18:43:27,549 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-03 18:43:27,549 - 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-02-03 18:43:27,804 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-03 18:43:27,804 - INFO - Initial checks done. Running the testcase now 2026-02-03 18:43:27,804 - INFO - 2026-02-03 18:43:28,356 - DEBUG - Response for create_network : {'network': {'id': '6ebd9f29-decc-450b-a3b8-12f8c0405e33', 'name': 'ctest-vn-94999602', 'tenant_id': '05798587a0ef47ed8c91d4eaff08c7d3', 'project_id': '05798587a0ef47ed8c91d4eaff08c7d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90037827', 'ctest-vn-94999602'], 'port_security_enabled': True, 'description': ''}} 2026-02-03 18:43:28,561 - DEBUG - Response for create_subnet : {'subnet': {'id': '085334e6-2231-46b6-aa93-9926463bf0ba', 'name': '', 'tenant_id': '05798587a0ef47ed8c91d4eaff08c7d3', 'network_id': '6ebd9f29-decc-450b-a3b8-12f8c0405e33', 'ip_version': 4, 'cidr': '94.55.146.192/26', 'allocation_pools': [{'start': '94.55.146.194', 'end': '94.55.146.254'}], 'gateway_ip': '94.55.146.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.55.146.194', 'tags': [], 'project_id': '05798587a0ef47ed8c91d4eaff08c7d3'}} 2026-02-03 18:43:28,578 - INFO - Created VN ctest-vn-94999602 2026-02-03 18:43:28,631 - DEBUG - VN ctest-vn-94999602 UUID is 6ebd9f29-decc-450b-a3b8-12f8c0405e33 2026-02-03 18:43:28,938 - DEBUG - Response for create_network : {'network': {'id': '3d4a95a1-f732-41b8-adac-88e267a76d07', 'name': 'ctest-vn-69056024', 'tenant_id': '05798587a0ef47ed8c91d4eaff08c7d3', 'project_id': '05798587a0ef47ed8c91d4eaff08c7d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90037827', 'ctest-vn-69056024'], 'port_security_enabled': True, 'description': ''}} 2026-02-03 18:43:29,164 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef2bc2ef-0f19-4ff6-8d37-867486f8035f', 'name': '', 'tenant_id': '05798587a0ef47ed8c91d4eaff08c7d3', 'network_id': '3d4a95a1-f732-41b8-adac-88e267a76d07', 'ip_version': 4, 'cidr': '86.86.123.64/26', 'allocation_pools': [{'start': '86.86.123.66', 'end': '86.86.123.126'}], 'gateway_ip': '86.86.123.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.86.123.66', 'tags': [], 'project_id': '05798587a0ef47ed8c91d4eaff08c7d3'}} 2026-02-03 18:43:29,181 - INFO - Created VN ctest-vn-69056024 2026-02-03 18:43:29,231 - DEBUG - VN ctest-vn-69056024 UUID is 3d4a95a1-f732-41b8-adac-88e267a76d07 2026-02-03 18:43:29,354 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90037827:ctest-vn-94999602, 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-90037827:ctest-vn-69056024, 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-02-03 18:43:29,666 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6ebd9f29-decc-450b-a3b8-12f8c0405e33', 'name': 'ctest-vn-94999602', 'tenant_id': '05798587a0ef47ed8c91d4eaff08c7d3', 'project_id': '05798587a0ef47ed8c91d4eaff08c7d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['085334e6-2231-46b6-aa93-9926463bf0ba'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90037827', 'ctest-vn-94999602'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90037827', 'ctest-policy-allow-all-78010311']], 'subnet_ipam': [{'subnet_cidr': '94.55.146.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-03 18:43:29,902 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3d4a95a1-f732-41b8-adac-88e267a76d07', 'name': 'ctest-vn-69056024', 'tenant_id': '05798587a0ef47ed8c91d4eaff08c7d3', 'project_id': '05798587a0ef47ed8c91d4eaff08c7d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ef2bc2ef-0f19-4ff6-8d37-867486f8035f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90037827', 'ctest-vn-69056024'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90037827', 'ctest-policy-allow-all-78010311']], 'subnet_ipam': [{'subnet_cidr': '86.86.123.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-03 18:43:30,059 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-03 18:43:30,367 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-03 18:43:30,396 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0b7ce9ba-4407-4921-ac3c-b6fa2ad0e050 2026-02-03 18:43:30,411 - DEBUG - Requesting: http://10.0.0.50:8082/project/05798587-a0ef-47ed-8c91-d4eaff08c7d3 2026-02-03 18:43:30,487 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6ebd9f29-decc-450b-a3b8-12f8c0405e33 2026-02-03 18:43:30,499 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6ebd9f29-decc-450b-a3b8-12f8c0405e33 2026-02-03 18:43:30,508 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78962e8a-9c1f-4890-a725-298a9677be5c 2026-02-03 18:43:30,514 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78962e8a-9c1f-4890-a725-298a9677be5c 2026-02-03 18:43:30,520 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5c07bc3e-f3c3-4d4c-bea7-4ae1b4e90c26 2026-02-03 18:43:30,525 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-03 18:43:30,525 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6ebd9f29-decc-450b-a3b8-12f8c0405e33 2026-02-03 18:43:30,533 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78962e8a-9c1f-4890-a725-298a9677be5c 2026-02-03 18:43:30,544 - INFO - Verified VN network id 9 for VN 6ebd9f29-decc-450b-a3b8-12f8c0405e33 2026-02-03 18:43:30,545 - INFO - Verifications in API Server for VN ctest-vn-94999602 passed 2026-02-03 18:43:30,545 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6ebd9f29-decc-450b-a3b8-12f8c0405e33 2026-02-03 18:43:30,552 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78962e8a-9c1f-4890-a725-298a9677be5c 2026-02-03 18:43:30,559 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78962e8a-9c1f-4890-a725-298a9677be5c 2026-02-03 18:43:30,565 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5c07bc3e-f3c3-4d4c-bea7-4ae1b4e90c26 2026-02-03 18:43:30,575 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90037827:ctest-vn-94999602', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90037827', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7979709116950791435', 'uuid-lslong': '11797200083483647539'}, 'enable': 'true', 'created': '2026-02-03T18:43:28', 'last-modified': '2026-02-03T18:43:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.945015'} 2026-02-03 18:43:30,584 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-03 18:43:30,584 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94999602 passed 2026-02-03 18:43:30,584 - DEBUG - ====Verifying policy data for ctest-vn-94999602 in API_Server ====== 2026-02-03 18:43:30,584 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-03 18:43:30,589 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0b7ce9ba-4407-4921-ac3c-b6fa2ad0e050 2026-02-03 18:43:30,600 - DEBUG - Requesting: http://10.0.0.50:8082/project/05798587-a0ef-47ed-8c91-d4eaff08c7d3 2026-02-03 18:43:30,667 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6ebd9f29-decc-450b-a3b8-12f8c0405e33 2026-02-03 18:43:30,677 - DEBUG - ==>Verifying data for policy with id: a0e68f8c-55cf-4e4c-8c0e-fd90bf300178, fqn: ['default-domain', 'ctest-TestBasicPolicy-90037827', 'ctest-policy-allow-all-78010311'] 2026-02-03 18:43:30,677 - INFO - VN ctest-vn-94999602 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-03 18:43:30,677 - DEBUG - Verifying the vn in opserver 2026-02-03 18:43:30,677 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90037827:ctest-vn-94999602 virtual network link through opserver 10.0.0.50 2026-02-03 18:43:30,677 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-03 18:43:30,972 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-03 18:43:31,037 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90037827:ctest-vn-94999602', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90037827:ctest-vn-94999602?flat'} 2026-02-03 18:43:31,037 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90037827:ctest-vn-94999602 is found in opserver 2026-02-03 18:43:31,046 - DEBUG - Do not have enough data to verify VN in agent 2026-02-03 18:43:31,050 - DEBUG - VRF ids for VN ctest-vn-94999602: {} 2026-02-03 18:43:31,050 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-03 18:43:31,055 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0b7ce9ba-4407-4921-ac3c-b6fa2ad0e050 2026-02-03 18:43:31,065 - DEBUG - Requesting: http://10.0.0.50:8082/project/05798587-a0ef-47ed-8c91-d4eaff08c7d3 2026-02-03 18:43:31,159 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3d4a95a1-f732-41b8-adac-88e267a76d07 2026-02-03 18:43:31,169 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3d4a95a1-f732-41b8-adac-88e267a76d07 2026-02-03 18:43:31,178 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ee922c8c-edda-4243-b42d-eadc0091f2a7 2026-02-03 18:43:31,185 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ee922c8c-edda-4243-b42d-eadc0091f2a7 2026-02-03 18:43:31,191 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/995343c0-31a2-4704-92dc-fba1cafa695c 2026-02-03 18:43:31,197 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-03 18:43:31,197 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3d4a95a1-f732-41b8-adac-88e267a76d07 2026-02-03 18:43:31,207 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ee922c8c-edda-4243-b42d-eadc0091f2a7 2026-02-03 18:43:31,220 - INFO - Verified VN network id 10 for VN 3d4a95a1-f732-41b8-adac-88e267a76d07 2026-02-03 18:43:31,220 - INFO - Verifications in API Server for VN ctest-vn-69056024 passed 2026-02-03 18:43:31,220 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3d4a95a1-f732-41b8-adac-88e267a76d07 2026-02-03 18:43:31,230 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ee922c8c-edda-4243-b42d-eadc0091f2a7 2026-02-03 18:43:31,239 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ee922c8c-edda-4243-b42d-eadc0091f2a7 2026-02-03 18:43:31,245 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/995343c0-31a2-4704-92dc-fba1cafa695c 2026-02-03 18:43:31,257 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90037827:ctest-vn-69056024', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90037827', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4416506907459731896', 'uuid-lslong': '12514527970538777863'}, 'enable': 'true', 'created': '2026-02-03T18:43:28', 'last-modified': '2026-02-03T18:43:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.384475'} 2026-02-03 18:43:31,263 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-03 18:43:31,263 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69056024 passed 2026-02-03 18:43:31,263 - DEBUG - ====Verifying policy data for ctest-vn-69056024 in API_Server ====== 2026-02-03 18:43:31,263 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-03 18:43:31,268 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0b7ce9ba-4407-4921-ac3c-b6fa2ad0e050 2026-02-03 18:43:31,278 - DEBUG - Requesting: http://10.0.0.50:8082/project/05798587-a0ef-47ed-8c91-d4eaff08c7d3 2026-02-03 18:43:31,347 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3d4a95a1-f732-41b8-adac-88e267a76d07 2026-02-03 18:43:31,355 - DEBUG - ==>Verifying data for policy with id: a0e68f8c-55cf-4e4c-8c0e-fd90bf300178, fqn: ['default-domain', 'ctest-TestBasicPolicy-90037827', 'ctest-policy-allow-all-78010311'] 2026-02-03 18:43:31,355 - INFO - VN ctest-vn-69056024 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-03 18:43:31,355 - DEBUG - Verifying the vn in opserver 2026-02-03 18:43:31,355 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90037827:ctest-vn-69056024 virtual network link through opserver 10.0.0.50 2026-02-03 18:43:31,356 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-03 18:43:31,365 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90037827:ctest-vn-69056024', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90037827:ctest-vn-69056024?flat'} 2026-02-03 18:43:31,365 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90037827:ctest-vn-69056024 is found in opserver 2026-02-03 18:43:31,374 - DEBUG - Do not have enough data to verify VN in agent 2026-02-03 18:43:31,378 - DEBUG - VRF ids for VN ctest-vn-69056024: {} 2026-02-03 18:43:31,437 - DEBUG - Services list from nova: [, , ] 2026-02-03 18:43:32,453 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5193-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5193-1) 2026-02-03 18:43:33,586 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5193-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5193-1) 2026-02-03 18:43:33,586 - INFO - Waiting for VM ctest-TestBasicPolicy-90037827-56640791 to be up.. 2026-02-03 18:43:33,670 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-03 18:43:38,744 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-03 18:43:43,817 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-03 18:43:48,888 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-03 18:43:53,960 - DEBUG - VM is in ACTIVE state now 2026-02-03 18:43:53,960 - INFO - VM name : ctest-TestBasicPolicy-90037827-56640791 2026-02-03 18:43:54,032 - DEBUG - VM ctest-TestBasicPolicy-90037827-56640791 ID is 78b65c3c-f32e-4949-a72c-f9d9a570aea3 2026-02-03 18:43:54,050 - DEBUG - VM ctest-TestBasicPolicy-90037827-56640791 launched on Node cn-jenkins-deploy-platform-ansible-os-5193-1 2026-02-03 18:43:54,119 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/78b65c3c-f32e-4949-a72c-f9d9a570aea3 2026-02-03 18:43:54,127 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3d343425-e154-4f25-ad32-e3c0b5248658 2026-02-03 18:43:57,385 - 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 1030ms') 2026-02-03 18:43:57,385 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90037827-56640791 failed! 2026-02-03 18:43:57,439 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-90037827:ctest-vn-94999602 is 94.55.146.193 and allocation pool is NOT set 2026-02-03 18:43:59,500 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.997 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.997/4.706/8.415/3.709 ms') 2026-02-03 18:43:59,500 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90037827-56640791 passed 2026-02-03 18:43:59,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 18:43:59,651 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90037827-56640791, IP 94.55.146.195, Port 22 2026-02-03 18:43:59,709 - 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-02-03 18:43:59,786 - DEBUG - VM ctest-TestBasicPolicy-90037827-56640791 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-03 18:44:04,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 18:44:04,788 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90037827-56640791, IP 94.55.146.195, Port 22 2026-02-03 18:44:04,955 - DEBUG - VM ctest-TestBasicPolicy-90037827-56640791 is ready for SSH connections 2026-02-03 18:44:04,955 - INFO - Waiting for VM ctest-TestBasicPolicy-90037827-27463864 to be up.. 2026-02-03 18:44:05,029 - DEBUG - VM is in ACTIVE state now 2026-02-03 18:44:05,029 - INFO - VM name : ctest-TestBasicPolicy-90037827-27463864 2026-02-03 18:44:05,106 - DEBUG - VM ctest-TestBasicPolicy-90037827-27463864 ID is 3d3eb484-5cb6-4207-8cb8-58b32c707076 2026-02-03 18:44:05,106 - DEBUG - VM ctest-TestBasicPolicy-90037827-27463864 launched on Node cn-jenkins-deploy-platform-ansible-os-5193-1 2026-02-03 18:44:05,184 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3d3eb484-5cb6-4207-8cb8-58b32c707076 2026-02-03 18:44:05,193 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f93bee66-b8f1-4ee0-b66a-58f1f8bf6098 2026-02-03 18:44:06,433 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.464 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.464/1.734/3.004/1.270 ms') 2026-02-03 18:44:06,433 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-90037827-27463864 passed 2026-02-03 18:44:06,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 18:44:06,583 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90037827-27463864, IP 86.86.123.67, Port 22 2026-02-03 18:44:06,754 - DEBUG - VM ctest-TestBasicPolicy-90037827-27463864 is ready for SSH connections 2026-02-03 18:44:06,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 18:44:06,754 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 86.86.123.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-03 18:44:06,754 - DEBUG - ping -s 56 -c 3 -W 1 86.86.123.67 2026-02-03 18:44:10,744 - DEBUG - PING 86.86.123.67 (86.86.123.67): 56 data bytes 64 bytes from 86.86.123.67: seq=0 ttl=63 time=3.224 ms 64 bytes from 86.86.123.67: seq=1 ttl=63 time=1.097 ms 64 bytes from 86.86.123.67: seq=2 ttl=63 time=1.007 ms --- 86.86.123.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.007/1.776/3.224 ms 2026-02-03 18:44:10,744 - INFO - Ping to IP 86.86.123.67 from VM ctest-TestBasicPolicy-90037827-56640791 passed 2026-02-03 18:44:10,914 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a0e68f8c-55cf-4e4c-8c0e-fd90bf300178", "href": "http://10.0.0.50:8082/network-policy/a0e68f8c-55cf-4e4c-8c0e-fd90bf300178"}} 2026-02-03 18:44:10,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 18:44:10,915 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 86.86.123.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-03 18:44:10,915 - DEBUG - ping -s 56 -c 3 -W 1 86.86.123.67 2026-02-03 18:44:14,136 - DEBUG - PING 86.86.123.67 (86.86.123.67): 56 data bytes --- 86.86.123.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-03 18:44:14,136 - WARNING - Ping to IP 86.86.123.67 from VM ctest-TestBasicPolicy-90037827-56640791 failed 2026-02-03 18:44:14,136 - INFO - Deleting VM ctest-TestBasicPolicy-90037827-27463864 2026-02-03 18:44:14,311 - INFO - Deleting VM ctest-TestBasicPolicy-90037827-56640791 2026-02-03 18:44:14,700 - INFO - Deleted policy ctest-policy-allow-all-78010311 2026-02-03 18:44:14,701 - INFO - Deleting VN ctest-vn-69056024 2026-02-03 18:44:14,739 - DEBUG - VN 3d4a95a1-f732-41b8-adac-88e267a76d07 still in use: Unable to complete operation on network 3d4a95a1-f732-41b8-adac-88e267a76d07. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a22d4f9b-f339-4511-b470-05635d406088'] 2026-02-03 18:44:14,740 - WARNING - Deleting VN ctest-vn-69056024 failed..Will retry 2026-02-03 18:44:16,862 - DEBUG - Response for deleting network () 2026-02-03 18:44:16,862 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ee922c8c-edda-4243-b42d-eadc0091f2a7 2026-02-03 18:44:16,866 - DEBUG - Response Code: 404 2026-02-03 18:44:16,867 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-03 18:44:16,871 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0b7ce9ba-4407-4921-ac3c-b6fa2ad0e050 2026-02-03 18:44:16,924 - DEBUG - Requesting: http://10.0.0.50:8082/project/05798587-a0ef-47ed-8c91-d4eaff08c7d3 2026-02-03 18:44:16,992 - INFO - Validated that VN ctest-vn-69056024 is not found in API Server 2026-02-03 18:44:17,000 - DEBUG - VN ctest-vn-69056024 is not present in Agent 10.0.0.50 2026-02-03 18:44:17,000 - INFO - Validated that VN ctest-vn-69056024 is not in any agent 2026-02-03 18:44:17,012 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69056024 info 2026-02-03 18:44:17,012 - INFO - Deleting VN ctest-vn-94999602 2026-02-03 18:44:17,110 - DEBUG - Response for deleting network () 2026-02-03 18:44:17,110 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78962e8a-9c1f-4890-a725-298a9677be5c 2026-02-03 18:44:17,114 - DEBUG - Response Code: 404 2026-02-03 18:44:17,115 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-03 18:44:17,123 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0b7ce9ba-4407-4921-ac3c-b6fa2ad0e050 2026-02-03 18:44:17,177 - DEBUG - Requesting: http://10.0.0.50:8082/project/05798587-a0ef-47ed-8c91-d4eaff08c7d3 2026-02-03 18:44:17,250 - INFO - Validated that VN ctest-vn-94999602 is not found in API Server 2026-02-03 18:44:17,259 - DEBUG - VN ctest-vn-94999602 is not present in Agent 10.0.0.50 2026-02-03 18:44:17,259 - INFO - Validated that VN ctest-vn-94999602 is not in any agent 2026-02-03 18:44:17,273 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94999602 info 2026-02-03 18:44:17,527 - DEBUG - No XMPP flaps were noticed during the test 2026-02-03 18:44:17,527 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:50] 2026-02-03 18:44:17,527 - INFO - -------------------------------------------------------------------------------- 2026-02-03 18:44:18,243 - INFO - Deleted project: ctest-TestBasicPolicy-90037827, ID : 05798587-a0ef-47ed-8c91-d4eaff08c7d3