2025-09-22 15:27:51,158 - INFO - Domain Default found not creating 2025-09-22 15:27:51,317 - INFO - Project ctest-TestBasicPolicy-74746488 not found, creating it 2025-09-22 15:27:51,803 - INFO - Created Project:ctest-TestBasicPolicy-74746488, ID : 6cbec506-7eab-4f24-ae02-0fcba9a92898 2025-09-22 15:27:53,270 - INFO - ================================================================================ 2025-09-22 15:27:53,270 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-22 15:27:53,270 - 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 2025-09-22 15:27:53,525 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-09-22 15:27:53,525 - INFO - Initial checks done. Running the testcase now 2025-09-22 15:27:53,525 - INFO - 2025-09-22 15:27:54,104 - DEBUG - Response for create_network : {'network': {'id': '8ef78ea6-ef25-47a5-88c6-edde455120be', 'name': 'ctest-vn-68384754', 'tenant_id': '6cbec5067eab4f24ae020fcba9a92898', 'project_id': '6cbec5067eab4f24ae020fcba9a92898', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74746488', 'ctest-vn-68384754'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 15:27:54,383 - DEBUG - Response for create_subnet : {'subnet': {'id': '3694530f-0efa-489b-b564-40c452a15356', 'name': '', 'tenant_id': '6cbec5067eab4f24ae020fcba9a92898', 'network_id': '8ef78ea6-ef25-47a5-88c6-edde455120be', 'ip_version': 4, 'cidr': '200.146.206.64/26', 'allocation_pools': [{'start': '200.146.206.66', 'end': '200.146.206.126'}], 'gateway_ip': '200.146.206.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.146.206.66', 'tags': [], 'project_id': '6cbec5067eab4f24ae020fcba9a92898'}} 2025-09-22 15:27:54,410 - INFO - Created VN ctest-vn-68384754 2025-09-22 15:27:54,466 - DEBUG - VN ctest-vn-68384754 UUID is 8ef78ea6-ef25-47a5-88c6-edde455120be 2025-09-22 15:27:54,824 - DEBUG - Response for create_network : {'network': {'id': 'e4da7262-e5e3-4cd2-bb51-cfd1b6fb28d9', 'name': 'ctest-vn-65885822', 'tenant_id': '6cbec5067eab4f24ae020fcba9a92898', 'project_id': '6cbec5067eab4f24ae020fcba9a92898', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74746488', 'ctest-vn-65885822'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 15:27:55,054 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc0899c7-86d7-42ef-bc92-f20fe65ea0e0', 'name': '', 'tenant_id': '6cbec5067eab4f24ae020fcba9a92898', 'network_id': 'e4da7262-e5e3-4cd2-bb51-cfd1b6fb28d9', 'ip_version': 4, 'cidr': '80.216.131.0/26', 'allocation_pools': [{'start': '80.216.131.2', 'end': '80.216.131.62'}], 'gateway_ip': '80.216.131.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.216.131.2', 'tags': [], 'project_id': '6cbec5067eab4f24ae020fcba9a92898'}} 2025-09-22 15:27:55,074 - INFO - Created VN ctest-vn-65885822 2025-09-22 15:27:55,130 - DEBUG - VN ctest-vn-65885822 UUID is e4da7262-e5e3-4cd2-bb51-cfd1b6fb28d9 2025-09-22 15:27:55,248 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74746488:ctest-vn-68384754, 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-74746488:ctest-vn-65885822, 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] 2025-09-22 15:27:55,567 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8ef78ea6-ef25-47a5-88c6-edde455120be', 'name': 'ctest-vn-68384754', 'tenant_id': '6cbec5067eab4f24ae020fcba9a92898', 'project_id': '6cbec5067eab4f24ae020fcba9a92898', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3694530f-0efa-489b-b564-40c452a15356'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74746488', 'ctest-vn-68384754'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74746488', 'ctest-policy-allow-all-17490507']], 'subnet_ipam': [{'subnet_cidr': '200.146.206.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-22 15:27:55,884 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e4da7262-e5e3-4cd2-bb51-cfd1b6fb28d9', 'name': 'ctest-vn-65885822', 'tenant_id': '6cbec5067eab4f24ae020fcba9a92898', 'project_id': '6cbec5067eab4f24ae020fcba9a92898', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fc0899c7-86d7-42ef-bc92-f20fe65ea0e0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74746488', 'ctest-vn-65885822'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74746488', 'ctest-policy-allow-all-17490507']], 'subnet_ipam': [{'subnet_cidr': '80.216.131.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-22 15:27:56,055 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-22 15:27:56,370 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-22 15:27:56,407 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1db0b9d4-8eaa-4d63-b12b-e969ad445b15 2025-09-22 15:27:56,420 - DEBUG - Requesting: http://10.0.0.50:8082/project/6cbec506-7eab-4f24-ae02-0fcba9a92898 2025-09-22 15:27:56,488 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8ef78ea6-ef25-47a5-88c6-edde455120be 2025-09-22 15:27:56,498 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8ef78ea6-ef25-47a5-88c6-edde455120be 2025-09-22 15:27:56,509 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/75733b59-1bb7-4074-9d03-e62b6ff24dc0 2025-09-22 15:27:56,521 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/75733b59-1bb7-4074-9d03-e62b6ff24dc0 2025-09-22 15:27:56,532 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/30a6611d-103b-4534-9cc2-e588735f5f86 2025-09-22 15:27:56,540 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-22 15:27:56,540 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8ef78ea6-ef25-47a5-88c6-edde455120be 2025-09-22 15:27:56,550 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/75733b59-1bb7-4074-9d03-e62b6ff24dc0 2025-09-22 15:27:56,567 - INFO - Verified VN network id 11 for VN 8ef78ea6-ef25-47a5-88c6-edde455120be 2025-09-22 15:27:56,567 - INFO - Verifications in API Server for VN ctest-vn-68384754 passed 2025-09-22 15:27:56,567 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8ef78ea6-ef25-47a5-88c6-edde455120be 2025-09-22 15:27:56,579 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/75733b59-1bb7-4074-9d03-e62b6ff24dc0 2025-09-22 15:27:56,589 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/75733b59-1bb7-4074-9d03-e62b6ff24dc0 2025-09-22 15:27:56,597 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/30a6611d-103b-4534-9cc2-e588735f5f86 2025-09-22 15:27:56,612 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74746488:ctest-vn-68384754', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74746488', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10301859520261212069', 'uuid-lslong': '9855826373448376510'}, 'enable': 'true', 'created': '2025-09-22T15:27:54', 'last-modified': '2025-09-22T15:27:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.067836'} 2025-09-22 15:27:56,618 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-22 15:27:56,618 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68384754 passed 2025-09-22 15:27:56,618 - DEBUG - ====Verifying policy data for ctest-vn-68384754 in API_Server ====== 2025-09-22 15:27:56,619 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-22 15:27:56,626 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1db0b9d4-8eaa-4d63-b12b-e969ad445b15 2025-09-22 15:27:56,641 - DEBUG - Requesting: http://10.0.0.50:8082/project/6cbec506-7eab-4f24-ae02-0fcba9a92898 2025-09-22 15:27:56,725 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8ef78ea6-ef25-47a5-88c6-edde455120be 2025-09-22 15:27:56,735 - DEBUG - ==>Verifying data for policy with id: c965096f-ce08-4115-bca4-ff0a3ee7fa93, fqn: ['default-domain', 'ctest-TestBasicPolicy-74746488', 'ctest-policy-allow-all-17490507'] 2025-09-22 15:27:56,735 - INFO - VN ctest-vn-68384754 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-22 15:27:56,735 - DEBUG - Verifying the vn in opserver 2025-09-22 15:27:56,735 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74746488:ctest-vn-68384754 virtual network link through opserver 10.0.0.50 2025-09-22 15:27:56,735 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-09-22 15:27:57,033 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-09-22 15:27:57,097 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74746488:ctest-vn-68384754', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74746488:ctest-vn-68384754?flat'} 2025-09-22 15:27:57,097 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74746488:ctest-vn-68384754 is found in opserver 2025-09-22 15:27:57,109 - DEBUG - Do not have enough data to verify VN in agent 2025-09-22 15:27:57,116 - DEBUG - VRF ids for VN ctest-vn-68384754: {} 2025-09-22 15:27:57,117 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-22 15:27:57,124 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1db0b9d4-8eaa-4d63-b12b-e969ad445b15 2025-09-22 15:27:57,136 - DEBUG - Requesting: http://10.0.0.50:8082/project/6cbec506-7eab-4f24-ae02-0fcba9a92898 2025-09-22 15:27:57,216 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e4da7262-e5e3-4cd2-bb51-cfd1b6fb28d9 2025-09-22 15:27:57,231 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e4da7262-e5e3-4cd2-bb51-cfd1b6fb28d9 2025-09-22 15:27:57,247 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/50d90f8b-73b3-4c14-b6a3-7968b2ec0867 2025-09-22 15:27:57,258 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/50d90f8b-73b3-4c14-b6a3-7968b2ec0867 2025-09-22 15:27:57,266 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4ce60b72-f183-4e1d-84b0-c29a478f5e9e 2025-09-22 15:27:57,273 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-22 15:27:57,273 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e4da7262-e5e3-4cd2-bb51-cfd1b6fb28d9 2025-09-22 15:27:57,283 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/50d90f8b-73b3-4c14-b6a3-7968b2ec0867 2025-09-22 15:27:57,297 - INFO - Verified VN network id 12 for VN e4da7262-e5e3-4cd2-bb51-cfd1b6fb28d9 2025-09-22 15:27:57,298 - INFO - Verifications in API Server for VN ctest-vn-65885822 passed 2025-09-22 15:27:57,298 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e4da7262-e5e3-4cd2-bb51-cfd1b6fb28d9 2025-09-22 15:27:57,310 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/50d90f8b-73b3-4c14-b6a3-7968b2ec0867 2025-09-22 15:27:57,317 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/50d90f8b-73b3-4c14-b6a3-7968b2ec0867 2025-09-22 15:27:57,325 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4ce60b72-f183-4e1d-84b0-c29a478f5e9e 2025-09-22 15:27:57,337 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74746488:ctest-vn-65885822', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74746488', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16490618754659732690', 'uuid-lslong': '13497798057831114969'}, 'enable': 'true', 'created': '2025-09-22T15:27:54', 'last-modified': '2025-09-22T15:27:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.531495'} 2025-09-22 15:27:57,343 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-22 15:27:57,343 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65885822 passed 2025-09-22 15:27:57,344 - DEBUG - ====Verifying policy data for ctest-vn-65885822 in API_Server ====== 2025-09-22 15:27:57,344 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-22 15:27:57,350 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1db0b9d4-8eaa-4d63-b12b-e969ad445b15 2025-09-22 15:27:57,362 - DEBUG - Requesting: http://10.0.0.50:8082/project/6cbec506-7eab-4f24-ae02-0fcba9a92898 2025-09-22 15:27:57,448 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e4da7262-e5e3-4cd2-bb51-cfd1b6fb28d9 2025-09-22 15:27:57,459 - DEBUG - ==>Verifying data for policy with id: c965096f-ce08-4115-bca4-ff0a3ee7fa93, fqn: ['default-domain', 'ctest-TestBasicPolicy-74746488', 'ctest-policy-allow-all-17490507'] 2025-09-22 15:27:57,459 - INFO - VN ctest-vn-65885822 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-22 15:27:57,459 - DEBUG - Verifying the vn in opserver 2025-09-22 15:27:57,459 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74746488:ctest-vn-65885822 virtual network link through opserver 10.0.0.50 2025-09-22 15:27:57,459 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-09-22 15:27:57,475 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74746488:ctest-vn-65885822', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74746488:ctest-vn-65885822?flat'} 2025-09-22 15:27:57,475 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74746488:ctest-vn-65885822 is found in opserver 2025-09-22 15:27:57,493 - DEBUG - Do not have enough data to verify VN in agent 2025-09-22 15:27:57,499 - DEBUG - VRF ids for VN ctest-vn-65885822: {} 2025-09-22 15:27:57,576 - DEBUG - Services list from nova: [, , ] 2025-09-22 15:27:58,696 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4169-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4169-1) 2025-09-22 15:27:59,979 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4169-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4169-1) 2025-09-22 15:27:59,979 - INFO - Waiting for VM ctest-TestBasicPolicy-74746488-59132690 to be up.. 2025-09-22 15:28:00,058 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-22 15:28:05,180 - DEBUG - VM is in ACTIVE state now 2025-09-22 15:28:05,180 - INFO - VM name : ctest-TestBasicPolicy-74746488-59132690 2025-09-22 15:28:05,265 - DEBUG - VM ctest-TestBasicPolicy-74746488-59132690 ID is bdbaa648-cfa4-44a2-8a9f-60f7694451d5 2025-09-22 15:28:05,292 - DEBUG - VM ctest-TestBasicPolicy-74746488-59132690 launched on Node cn-jenkins-deploy-platform-ansible-os-4169-1 2025-09-22 15:28:05,394 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bdbaa648-cfa4-44a2-8a9f-60f7694451d5 2025-09-22 15:28:05,404 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3ddff678-dcfb-48d6-8817-d4287aeb2794 2025-09-22 15:28:08,666 - 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 1006ms') 2025-09-22 15:28:08,666 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74746488-59132690 failed! 2025-09-22 15:28:08,723 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74746488:ctest-vn-68384754 is 200.146.206.65 and allocation pool is NOT set 2025-09-22 15:28:10,784 - 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=10.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.856 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.856/5.511/10.166/4.655 ms') 2025-09-22 15:28:10,785 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74746488-59132690 passed 2025-09-22 15:28:10,943 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 15:28:10,943 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74746488-59132690, IP 200.146.206.67, Port 22 2025-09-22 15:28:11,010 - 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': ''} 2025-09-22 15:28:11,144 - DEBUG - VM ctest-TestBasicPolicy-74746488-59132690 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-22 15:28:16,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 15:28:16,146 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74746488-59132690, IP 200.146.206.67, Port 22 2025-09-22 15:28:16,310 - DEBUG - VM ctest-TestBasicPolicy-74746488-59132690 is ready for SSH connections 2025-09-22 15:28:16,311 - INFO - Waiting for VM ctest-TestBasicPolicy-74746488-02031707 to be up.. 2025-09-22 15:28:16,385 - DEBUG - VM is in ACTIVE state now 2025-09-22 15:28:16,385 - INFO - VM name : ctest-TestBasicPolicy-74746488-02031707 2025-09-22 15:28:16,465 - DEBUG - VM ctest-TestBasicPolicy-74746488-02031707 ID is a1e1f3f7-87d1-49e9-be3b-c0e917989e39 2025-09-22 15:28:16,465 - DEBUG - VM ctest-TestBasicPolicy-74746488-02031707 launched on Node cn-jenkins-deploy-platform-ansible-os-4169-1 2025-09-22 15:28:16,547 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a1e1f3f7-87d1-49e9-be3b-c0e917989e39 2025-09-22 15:28:16,557 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8ae521a8-c548-43d1-abc9-8b8cb9e8e9d9 2025-09-22 15:28:17,796 - 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=2.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.396 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.396/1.605/2.815/1.209 ms') 2025-09-22 15:28:17,796 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-74746488-02031707 passed 2025-09-22 15:28:17,951 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 15:28:17,951 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74746488-02031707, IP 80.216.131.3, Port 22 2025-09-22 15:28:18,122 - DEBUG - VM ctest-TestBasicPolicy-74746488-02031707 is ready for SSH connections 2025-09-22 15:28:18,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 15:28:18,122 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.216.131.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-22 15:28:18,123 - DEBUG - ping -s 56 -c 3 -W 1 80.216.131.3 2025-09-22 15:28:21,891 - DEBUG - PING 80.216.131.3 (80.216.131.3): 56 data bytes 64 bytes from 80.216.131.3: seq=0 ttl=63 time=4.144 ms 64 bytes from 80.216.131.3: seq=1 ttl=63 time=1.249 ms 64 bytes from 80.216.131.3: seq=2 ttl=63 time=0.934 ms --- 80.216.131.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.934/2.109/4.144 ms 2025-09-22 15:28:21,891 - INFO - Ping to IP 80.216.131.3 from VM ctest-TestBasicPolicy-74746488-59132690 passed 2025-09-22 15:28:22,074 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c965096f-ce08-4115-bca4-ff0a3ee7fa93", "href": "http://10.0.0.50:8082/network-policy/c965096f-ce08-4115-bca4-ff0a3ee7fa93"}} 2025-09-22 15:28:22,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 15:28:22,075 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.216.131.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-22 15:28:22,075 - DEBUG - ping -s 56 -c 3 -W 1 80.216.131.3 2025-09-22 15:28:25,301 - DEBUG - PING 80.216.131.3 (80.216.131.3): 56 data bytes --- 80.216.131.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-22 15:28:25,301 - WARNING - Ping to IP 80.216.131.3 from VM ctest-TestBasicPolicy-74746488-59132690 failed 2025-09-22 15:28:25,301 - INFO - Deleting VM ctest-TestBasicPolicy-74746488-02031707 2025-09-22 15:28:25,395 - INFO - Deleting VM ctest-TestBasicPolicy-74746488-59132690 2025-09-22 15:28:25,894 - INFO - Deleted policy ctest-policy-allow-all-17490507 2025-09-22 15:28:25,894 - INFO - Deleting VN ctest-vn-65885822 2025-09-22 15:28:25,944 - DEBUG - VN e4da7262-e5e3-4cd2-bb51-cfd1b6fb28d9 still in use: Unable to complete operation on network e4da7262-e5e3-4cd2-bb51-cfd1b6fb28d9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f9d87857-65bb-4eb7-beb3-cd04b886b481'] 2025-09-22 15:28:25,944 - WARNING - Deleting VN ctest-vn-65885822 failed..Will retry 2025-09-22 15:28:28,052 - DEBUG - Response for deleting network () 2025-09-22 15:28:28,052 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/50d90f8b-73b3-4c14-b6a3-7968b2ec0867 2025-09-22 15:28:28,057 - DEBUG - Response Code: 404 2025-09-22 15:28:28,057 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-22 15:28:28,067 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1db0b9d4-8eaa-4d63-b12b-e969ad445b15 2025-09-22 15:28:28,121 - DEBUG - Requesting: http://10.0.0.50:8082/project/6cbec506-7eab-4f24-ae02-0fcba9a92898 2025-09-22 15:28:28,195 - INFO - Validated that VN ctest-vn-65885822 is not found in API Server 2025-09-22 15:28:28,207 - DEBUG - VN ctest-vn-65885822 is not present in Agent 10.0.0.50 2025-09-22 15:28:28,207 - INFO - Validated that VN ctest-vn-65885822 is not in any agent 2025-09-22 15:28:28,222 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65885822 info 2025-09-22 15:28:28,223 - INFO - Deleting VN ctest-vn-68384754 2025-09-22 15:28:28,347 - DEBUG - Response for deleting network () 2025-09-22 15:28:28,347 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/75733b59-1bb7-4074-9d03-e62b6ff24dc0 2025-09-22 15:28:28,355 - DEBUG - Response Code: 404 2025-09-22 15:28:28,355 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-22 15:28:28,361 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1db0b9d4-8eaa-4d63-b12b-e969ad445b15 2025-09-22 15:28:28,416 - DEBUG - Requesting: http://10.0.0.50:8082/project/6cbec506-7eab-4f24-ae02-0fcba9a92898 2025-09-22 15:28:28,494 - INFO - Validated that VN ctest-vn-68384754 is not found in API Server 2025-09-22 15:28:28,506 - DEBUG - VN ctest-vn-68384754 is not present in Agent 10.0.0.50 2025-09-22 15:28:28,506 - INFO - Validated that VN ctest-vn-68384754 is not in any agent 2025-09-22 15:28:28,526 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68384754 info 2025-09-22 15:28:28,780 - DEBUG - No XMPP flaps were noticed during the test 2025-09-22 15:28:28,780 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-09-22 15:28:28,780 - INFO - -------------------------------------------------------------------------------- 2025-09-22 15:28:29,449 - INFO - Deleted project: ctest-TestBasicPolicy-74746488, ID : 6cbec506-7eab-4f24-ae02-0fcba9a92898