2026-10-07 10:01:14,097 - INFO - Domain Default found not creating 2026-10-07 10:01:14,260 - INFO - Project ctest-TestBasicPolicy-62683023 not found, creating it 2026-10-07 10:01:14,735 - INFO - Created Project:ctest-TestBasicPolicy-62683023, ID : fa2e3e0a-e060-4ec9-b572-66cfc39fa099 2026-10-07 10:01:16,371 - INFO - ================================================================================ 2026-10-07 10:01:16,372 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-07 10:01:16,372 - 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-10-07 10:01:16,639 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-10-07 10:01:16,639 - INFO - Initial checks done. Running the testcase now 2026-10-07 10:01:16,639 - INFO - 2026-10-07 10:01:17,252 - DEBUG - Response for create_network : {'network': {'id': '41626dd3-b96e-4032-971b-703c2666cbe1', 'name': 'ctest-vn-63120150', 'tenant_id': 'fa2e3e0ae0604ec9b57266cfc39fa099', 'project_id': 'fa2e3e0ae0604ec9b57266cfc39fa099', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62683023', 'ctest-vn-63120150'], 'port_security_enabled': True, 'description': ''}} 2026-10-07 10:01:17,448 - DEBUG - Response for create_subnet : {'subnet': {'id': '07d2e8c7-95ff-4043-a4a7-53ba3dc6bd22', 'name': '', 'tenant_id': 'fa2e3e0ae0604ec9b57266cfc39fa099', 'network_id': '41626dd3-b96e-4032-971b-703c2666cbe1', 'ip_version': 4, 'cidr': '18.146.195.192/26', 'allocation_pools': [{'start': '18.146.195.194', 'end': '18.146.195.254'}], 'gateway_ip': '18.146.195.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.146.195.194', 'tags': [], 'project_id': 'fa2e3e0ae0604ec9b57266cfc39fa099'}} 2026-10-07 10:01:17,468 - INFO - Created VN ctest-vn-63120150 2026-10-07 10:01:17,518 - DEBUG - VN ctest-vn-63120150 UUID is 41626dd3-b96e-4032-971b-703c2666cbe1 2026-10-07 10:01:17,806 - DEBUG - Response for create_network : {'network': {'id': '36531ca8-cc11-4d30-9330-9b31b151caa1', 'name': 'ctest-vn-58269057', 'tenant_id': 'fa2e3e0ae0604ec9b57266cfc39fa099', 'project_id': 'fa2e3e0ae0604ec9b57266cfc39fa099', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62683023', 'ctest-vn-58269057'], 'port_security_enabled': True, 'description': ''}} 2026-10-07 10:01:18,022 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e124875-d3ab-479f-8a35-bc26e2579349', 'name': '', 'tenant_id': 'fa2e3e0ae0604ec9b57266cfc39fa099', 'network_id': '36531ca8-cc11-4d30-9330-9b31b151caa1', 'ip_version': 4, 'cidr': '16.163.131.64/26', 'allocation_pools': [{'start': '16.163.131.66', 'end': '16.163.131.126'}], 'gateway_ip': '16.163.131.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.163.131.66', 'tags': [], 'project_id': 'fa2e3e0ae0604ec9b57266cfc39fa099'}} 2026-10-07 10:01:18,037 - INFO - Created VN ctest-vn-58269057 2026-10-07 10:01:18,090 - DEBUG - VN ctest-vn-58269057 UUID is 36531ca8-cc11-4d30-9330-9b31b151caa1 2026-10-07 10:01:18,238 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-62683023:ctest-vn-63120150, 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-62683023:ctest-vn-58269057, 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-10-07 10:01:18,531 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '41626dd3-b96e-4032-971b-703c2666cbe1', 'name': 'ctest-vn-63120150', 'tenant_id': 'fa2e3e0ae0604ec9b57266cfc39fa099', 'project_id': 'fa2e3e0ae0604ec9b57266cfc39fa099', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['07d2e8c7-95ff-4043-a4a7-53ba3dc6bd22'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62683023', 'ctest-vn-63120150'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62683023', 'ctest-policy-allow-all-57942943']], 'subnet_ipam': [{'subnet_cidr': '18.146.195.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-07 10:01:18,771 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '36531ca8-cc11-4d30-9330-9b31b151caa1', 'name': 'ctest-vn-58269057', 'tenant_id': 'fa2e3e0ae0604ec9b57266cfc39fa099', 'project_id': 'fa2e3e0ae0604ec9b57266cfc39fa099', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['4e124875-d3ab-479f-8a35-bc26e2579349'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62683023', 'ctest-vn-58269057'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62683023', 'ctest-policy-allow-all-57942943']], 'subnet_ipam': [{'subnet_cidr': '16.163.131.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-07 10:01:18,938 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-07 10:01:19,301 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-07 10:01:19,331 - DEBUG - Requesting: http://10.0.0.161:8082/domain/8dcc81db-16b0-4b25-b383-367acd7e1de7 2026-10-07 10:01:19,344 - DEBUG - Requesting: http://10.0.0.161:8082/project/fa2e3e0a-e060-4ec9-b572-66cfc39fa099 2026-10-07 10:01:19,416 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/41626dd3-b96e-4032-971b-703c2666cbe1 2026-10-07 10:01:19,426 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/41626dd3-b96e-4032-971b-703c2666cbe1 2026-10-07 10:01:19,435 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6652a960-701c-412f-9576-55feb25cd8da 2026-10-07 10:01:19,442 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6652a960-701c-412f-9576-55feb25cd8da 2026-10-07 10:01:19,450 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/c2a1e580-b125-4b4e-aad7-71bd0477cc3b 2026-10-07 10:01:19,456 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-07 10:01:19,457 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/41626dd3-b96e-4032-971b-703c2666cbe1 2026-10-07 10:01:19,466 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6652a960-701c-412f-9576-55feb25cd8da 2026-10-07 10:01:19,479 - INFO - Verified VN network id 11 for VN 41626dd3-b96e-4032-971b-703c2666cbe1 2026-10-07 10:01:19,479 - INFO - Verifications in API Server for VN ctest-vn-63120150 passed 2026-10-07 10:01:19,479 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/41626dd3-b96e-4032-971b-703c2666cbe1 2026-10-07 10:01:19,487 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6652a960-701c-412f-9576-55feb25cd8da 2026-10-07 10:01:19,493 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6652a960-701c-412f-9576-55feb25cd8da 2026-10-07 10:01:19,500 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/c2a1e580-b125-4b4e-aad7-71bd0477cc3b 2026-10-07 10:01:19,512 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62683023:ctest-vn-63120150', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62683023', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4711448916299497522', 'uuid-lslong': '10888419927742925793'}, 'enable': 'true', 'created': '2026-10-07T10:01:17', 'last-modified': '2026-10-07T10:01:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.005272'} 2026-10-07 10:01:19,518 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-07 10:01:19,518 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63120150 passed 2026-10-07 10:01:19,518 - DEBUG - ====Verifying policy data for ctest-vn-63120150 in API_Server ====== 2026-10-07 10:01:19,518 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-07 10:01:19,523 - DEBUG - Requesting: http://10.0.0.161:8082/domain/8dcc81db-16b0-4b25-b383-367acd7e1de7 2026-10-07 10:01:19,534 - DEBUG - Requesting: http://10.0.0.161:8082/project/fa2e3e0a-e060-4ec9-b572-66cfc39fa099 2026-10-07 10:01:19,613 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/41626dd3-b96e-4032-971b-703c2666cbe1 2026-10-07 10:01:19,623 - DEBUG - ==>Verifying data for policy with id: 3ef65c81-f3b1-45ec-9131-b066e99eb0b9, fqn: ['default-domain', 'ctest-TestBasicPolicy-62683023', 'ctest-policy-allow-all-57942943'] 2026-10-07 10:01:19,623 - INFO - VN ctest-vn-63120150 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-07 10:01:19,623 - DEBUG - Verifying the vn in opserver 2026-10-07 10:01:19,623 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62683023:ctest-vn-63120150 virtual network link through opserver 10.0.0.161 2026-10-07 10:01:19,623 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-10-07 10:01:19,985 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-10-07 10:01:20,036 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62683023:ctest-vn-63120150', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62683023:ctest-vn-63120150?flat'} 2026-10-07 10:01:20,036 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62683023:ctest-vn-63120150 is found in opserver 2026-10-07 10:01:20,048 - DEBUG - Do not have enough data to verify VN in agent 2026-10-07 10:01:20,052 - DEBUG - VRF ids for VN ctest-vn-63120150: {} 2026-10-07 10:01:20,053 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-07 10:01:20,058 - DEBUG - Requesting: http://10.0.0.161:8082/domain/8dcc81db-16b0-4b25-b383-367acd7e1de7 2026-10-07 10:01:20,068 - DEBUG - Requesting: http://10.0.0.161:8082/project/fa2e3e0a-e060-4ec9-b572-66cfc39fa099 2026-10-07 10:01:20,143 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/36531ca8-cc11-4d30-9330-9b31b151caa1 2026-10-07 10:01:20,155 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/36531ca8-cc11-4d30-9330-9b31b151caa1 2026-10-07 10:01:20,165 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6fc0b963-cb8f-4c82-a57a-7911a46509b6 2026-10-07 10:01:20,172 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6fc0b963-cb8f-4c82-a57a-7911a46509b6 2026-10-07 10:01:20,179 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/8ac35942-f89b-4ef9-9ab8-0cf4ffd39c4b 2026-10-07 10:01:20,185 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-07 10:01:20,185 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/36531ca8-cc11-4d30-9330-9b31b151caa1 2026-10-07 10:01:20,195 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6fc0b963-cb8f-4c82-a57a-7911a46509b6 2026-10-07 10:01:20,210 - INFO - Verified VN network id 12 for VN 36531ca8-cc11-4d30-9330-9b31b151caa1 2026-10-07 10:01:20,210 - INFO - Verifications in API Server for VN ctest-vn-58269057 passed 2026-10-07 10:01:20,210 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/36531ca8-cc11-4d30-9330-9b31b151caa1 2026-10-07 10:01:20,221 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6fc0b963-cb8f-4c82-a57a-7911a46509b6 2026-10-07 10:01:20,228 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6fc0b963-cb8f-4c82-a57a-7911a46509b6 2026-10-07 10:01:20,235 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/8ac35942-f89b-4ef9-9ab8-0cf4ffd39c4b 2026-10-07 10:01:20,248 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62683023:ctest-vn-58269057', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62683023', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3914504012418862384', 'uuid-lslong': '10606147760188148385'}, 'enable': 'true', 'created': '2026-10-07T10:01:17', 'last-modified': '2026-10-07T10:01:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.508339'} 2026-10-07 10:01:20,254 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-07 10:01:20,254 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58269057 passed 2026-10-07 10:01:20,254 - DEBUG - ====Verifying policy data for ctest-vn-58269057 in API_Server ====== 2026-10-07 10:01:20,254 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-07 10:01:20,259 - DEBUG - Requesting: http://10.0.0.161:8082/domain/8dcc81db-16b0-4b25-b383-367acd7e1de7 2026-10-07 10:01:20,272 - DEBUG - Requesting: http://10.0.0.161:8082/project/fa2e3e0a-e060-4ec9-b572-66cfc39fa099 2026-10-07 10:01:20,341 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/36531ca8-cc11-4d30-9330-9b31b151caa1 2026-10-07 10:01:20,351 - DEBUG - ==>Verifying data for policy with id: 3ef65c81-f3b1-45ec-9131-b066e99eb0b9, fqn: ['default-domain', 'ctest-TestBasicPolicy-62683023', 'ctest-policy-allow-all-57942943'] 2026-10-07 10:01:20,351 - INFO - VN ctest-vn-58269057 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-07 10:01:20,352 - DEBUG - Verifying the vn in opserver 2026-10-07 10:01:20,352 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62683023:ctest-vn-58269057 virtual network link through opserver 10.0.0.161 2026-10-07 10:01:20,352 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-10-07 10:01:20,361 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62683023:ctest-vn-58269057', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62683023:ctest-vn-58269057?flat'} 2026-10-07 10:01:20,362 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62683023:ctest-vn-58269057 is found in opserver 2026-10-07 10:01:20,373 - DEBUG - Do not have enough data to verify VN in agent 2026-10-07 10:01:20,378 - DEBUG - VRF ids for VN ctest-vn-58269057: {} 2026-10-07 10:01:20,439 - DEBUG - Services list from nova: [, , ] 2026-10-07 10:01:20,859 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6354-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6354-1) 2026-10-07 10:01:21,267 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6354-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6354-1) 2026-10-07 10:01:21,267 - INFO - Waiting for VM ctest-TestBasicPolicy-62683023-07676915 to be up.. 2026-10-07 10:01:21,309 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-07 10:01:26,378 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-07 10:01:31,453 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-07 10:01:36,525 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-07 10:01:41,603 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-07 10:01:46,686 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-07 10:01:51,756 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-07 10:01:56,832 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-07 10:02:01,913 - DEBUG - VM is in ACTIVE state now 2026-10-07 10:02:01,913 - INFO - VM name : ctest-TestBasicPolicy-62683023-07676915 2026-10-07 10:02:01,993 - DEBUG - VM ctest-TestBasicPolicy-62683023-07676915 ID is 679fa7f8-65f2-4919-a22c-bf133f11fa76 2026-10-07 10:02:02,015 - DEBUG - VM ctest-TestBasicPolicy-62683023-07676915 launched on Node cn-jenkins-deploy-platform-ansible-os-6354-1 2026-10-07 10:02:02,090 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/679fa7f8-65f2-4919-a22c-bf133f11fa76 2026-10-07 10:02:02,098 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/6e2e17ef-2501-44cb-b002-5d407cd5a65c 2026-10-07 10:02:03,337 - 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.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.76 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.763/5.695/7.627/1.932 ms') 2026-10-07 10:02:03,337 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62683023-07676915 passed 2026-10-07 10:02:03,490 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-07 10:02:03,490 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62683023-07676915, IP 18.146.195.195, Port 22 2026-10-07 10:02:03,556 - 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-10-07 10:02:03,635 - DEBUG - VM ctest-TestBasicPolicy-62683023-07676915 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-07 10:02:08,636 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-07 10:02:08,636 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62683023-07676915, IP 18.146.195.195, Port 22 2026-10-07 10:02:08,816 - DEBUG - VM ctest-TestBasicPolicy-62683023-07676915 is ready for SSH connections 2026-10-07 10:02:08,816 - INFO - Waiting for VM ctest-TestBasicPolicy-62683023-45670651 to be up.. 2026-10-07 10:02:08,892 - DEBUG - VM is in ACTIVE state now 2026-10-07 10:02:08,892 - INFO - VM name : ctest-TestBasicPolicy-62683023-45670651 2026-10-07 10:02:08,973 - DEBUG - VM ctest-TestBasicPolicy-62683023-45670651 ID is 281d23b8-e869-4a7f-a2ce-72f07857249d 2026-10-07 10:02:08,973 - DEBUG - VM ctest-TestBasicPolicy-62683023-45670651 launched on Node cn-jenkins-deploy-platform-ansible-os-6354-1 2026-10-07 10:02:09,055 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/281d23b8-e869-4a7f-a2ce-72f07857249d 2026-10-07 10:02:09,066 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/394d7a73-79a8-434e-9e15-478184b98d52 2026-10-07 10:02:10,312 - 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=5.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.401 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.401/2.718/5.035/2.317 ms') 2026-10-07 10:02:10,312 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-62683023-45670651 passed 2026-10-07 10:02:10,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-07 10:02:10,462 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62683023-45670651, IP 16.163.131.67, Port 22 2026-10-07 10:02:10,618 - DEBUG - VM ctest-TestBasicPolicy-62683023-45670651 is ready for SSH connections 2026-10-07 10:02:10,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-07 10:02:10,618 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.163.131.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-07 10:02:10,618 - DEBUG - ping -s 56 -c 3 -W 1 16.163.131.67 2026-10-07 10:02:14,654 - DEBUG - PING 16.163.131.67 (16.163.131.67): 56 data bytes 64 bytes from 16.163.131.67: seq=0 ttl=63 time=4.533 ms 64 bytes from 16.163.131.67: seq=1 ttl=63 time=0.897 ms 64 bytes from 16.163.131.67: seq=2 ttl=63 time=0.891 ms --- 16.163.131.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.891/2.107/4.533 ms 2026-10-07 10:02:14,654 - INFO - Ping to IP 16.163.131.67 from VM ctest-TestBasicPolicy-62683023-07676915 passed 2026-10-07 10:02:14,830 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3ef65c81-f3b1-45ec-9131-b066e99eb0b9", "href": "http://10.0.0.161:8082/network-policy/3ef65c81-f3b1-45ec-9131-b066e99eb0b9"}} 2026-10-07 10:02:14,830 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-07 10:02:14,830 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.163.131.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-07 10:02:14,830 - DEBUG - ping -s 56 -c 3 -W 1 16.163.131.67 2026-10-07 10:02:17,950 - DEBUG - PING 16.163.131.67 (16.163.131.67): 56 data bytes 64 bytes from 16.163.131.67: seq=0 ttl=63 time=2.163 ms --- 16.163.131.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.163/2.163/2.163 ms 2026-10-07 10:02:17,950 - WARNING - Ping to IP 16.163.131.67 from VM ctest-TestBasicPolicy-62683023-07676915 failed 2026-10-07 10:02:17,950 - INFO - Deleting VM ctest-TestBasicPolicy-62683023-45670651 2026-10-07 10:02:18,029 - INFO - Deleting VM ctest-TestBasicPolicy-62683023-07676915 2026-10-07 10:02:18,377 - INFO - Deleted policy ctest-policy-allow-all-57942943 2026-10-07 10:02:18,377 - INFO - Deleting VN ctest-vn-58269057 2026-10-07 10:02:18,412 - DEBUG - VN 36531ca8-cc11-4d30-9330-9b31b151caa1 still in use: Unable to complete operation on network 36531ca8-cc11-4d30-9330-9b31b151caa1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0d4211d8-89be-4878-909b-66d8cc395036'] 2026-10-07 10:02:18,413 - WARNING - Deleting VN ctest-vn-58269057 failed..Will retry 2026-10-07 10:02:20,523 - DEBUG - Response for deleting network () 2026-10-07 10:02:20,523 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6fc0b963-cb8f-4c82-a57a-7911a46509b6 2026-10-07 10:02:20,527 - DEBUG - Response Code: 404 2026-10-07 10:02:20,528 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-07 10:02:20,547 - DEBUG - Requesting: http://10.0.0.161:8082/domain/8dcc81db-16b0-4b25-b383-367acd7e1de7 2026-10-07 10:02:20,605 - DEBUG - Requesting: http://10.0.0.161:8082/project/fa2e3e0a-e060-4ec9-b572-66cfc39fa099 2026-10-07 10:02:20,675 - INFO - Validated that VN ctest-vn-58269057 is not found in API Server 2026-10-07 10:02:20,688 - DEBUG - VN ctest-vn-58269057 is not present in Agent 10.0.0.161 2026-10-07 10:02:20,688 - INFO - Validated that VN ctest-vn-58269057 is not in any agent 2026-10-07 10:02:20,704 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58269057 info 2026-10-07 10:02:20,704 - INFO - Deleting VN ctest-vn-63120150 2026-10-07 10:02:20,822 - DEBUG - Response for deleting network () 2026-10-07 10:02:20,822 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/6652a960-701c-412f-9576-55feb25cd8da 2026-10-07 10:02:20,827 - DEBUG - Response Code: 404 2026-10-07 10:02:20,827 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-07 10:02:20,832 - DEBUG - Requesting: http://10.0.0.161:8082/domain/8dcc81db-16b0-4b25-b383-367acd7e1de7 2026-10-07 10:02:20,888 - DEBUG - Requesting: http://10.0.0.161:8082/project/fa2e3e0a-e060-4ec9-b572-66cfc39fa099 2026-10-07 10:02:20,961 - INFO - Validated that VN ctest-vn-63120150 is not found in API Server 2026-10-07 10:02:20,973 - DEBUG - VN ctest-vn-63120150 is not present in Agent 10.0.0.161 2026-10-07 10:02:20,973 - INFO - Validated that VN ctest-vn-63120150 is not in any agent 2026-10-07 10:02:20,987 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63120150 info 2026-10-07 10:02:21,257 - DEBUG - No XMPP flaps were noticed during the test
2026-10-07 10:02:21,257 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:05]
2026-10-07 10:02:21,257 - INFO - -------------------------------------------------------------------------------- 2026-10-07 10:02:22,005 - INFO - Deleted project: ctest-TestBasicPolicy-62683023, ID : fa2e3e0a-e060-4ec9-b572-66cfc39fa099