2025-12-25 02:20:21,452 - INFO - Domain Default found not creating 2025-12-25 02:20:21,662 - INFO - Project ctest-TestBasicPolicy-88388210 not found, creating it 2025-12-25 02:20:22,145 - INFO - Created Project:ctest-TestBasicPolicy-88388210, ID : 35f55b7e-ae6c-46b7-9234-3db2ab3b37b0 2025-12-25 02:20:23,678 - INFO - ================================================================================ 2025-12-25 02:20:23,678 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-25 02:20:23,678 - 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-12-25 02:20:23,936 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.210': '0'}} with 2025-12-25 02:20:23,937 - INFO - Initial checks done. Running the testcase now 2025-12-25 02:20:23,937 - INFO - 2025-12-25 02:20:24,500 - DEBUG - Response for create_network : {'network': {'id': '7d1c13d1-89f4-47d5-9651-939b3c809767', 'name': 'ctest-vn-62711500', 'tenant_id': '35f55b7eae6c46b792343db2ab3b37b0', 'project_id': '35f55b7eae6c46b792343db2ab3b37b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88388210', 'ctest-vn-62711500'], 'port_security_enabled': True, 'description': ''}} 2025-12-25 02:20:24,684 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7580a82-c13a-4df1-8f60-c315a66ee64f', 'name': '', 'tenant_id': '35f55b7eae6c46b792343db2ab3b37b0', 'network_id': '7d1c13d1-89f4-47d5-9651-939b3c809767', 'ip_version': 4, 'cidr': '117.217.225.192/26', 'allocation_pools': [{'start': '117.217.225.194', 'end': '117.217.225.254'}], 'gateway_ip': '117.217.225.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.217.225.194', 'tags': [], 'project_id': '35f55b7eae6c46b792343db2ab3b37b0'}} 2025-12-25 02:20:24,703 - INFO - Created VN ctest-vn-62711500 2025-12-25 02:20:24,756 - DEBUG - VN ctest-vn-62711500 UUID is 7d1c13d1-89f4-47d5-9651-939b3c809767 2025-12-25 02:20:25,086 - DEBUG - Response for create_network : {'network': {'id': 'eda3fa25-489d-4af3-8497-dc8e65b61595', 'name': 'ctest-vn-91094547', 'tenant_id': '35f55b7eae6c46b792343db2ab3b37b0', 'project_id': '35f55b7eae6c46b792343db2ab3b37b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88388210', 'ctest-vn-91094547'], 'port_security_enabled': True, 'description': ''}} 2025-12-25 02:20:25,265 - DEBUG - Response for create_subnet : {'subnet': {'id': '71a2043a-330b-4bc0-814f-d2bab7862410', 'name': '', 'tenant_id': '35f55b7eae6c46b792343db2ab3b37b0', 'network_id': 'eda3fa25-489d-4af3-8497-dc8e65b61595', 'ip_version': 4, 'cidr': '108.76.148.192/26', 'allocation_pools': [{'start': '108.76.148.194', 'end': '108.76.148.254'}], 'gateway_ip': '108.76.148.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.76.148.194', 'tags': [], 'project_id': '35f55b7eae6c46b792343db2ab3b37b0'}} 2025-12-25 02:20:25,284 - INFO - Created VN ctest-vn-91094547 2025-12-25 02:20:25,336 - DEBUG - VN ctest-vn-91094547 UUID is eda3fa25-489d-4af3-8497-dc8e65b61595 2025-12-25 02:20:25,448 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88388210:ctest-vn-62711500, 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-88388210:ctest-vn-91094547, 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-12-25 02:20:25,747 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7d1c13d1-89f4-47d5-9651-939b3c809767', 'name': 'ctest-vn-62711500', 'tenant_id': '35f55b7eae6c46b792343db2ab3b37b0', 'project_id': '35f55b7eae6c46b792343db2ab3b37b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f7580a82-c13a-4df1-8f60-c315a66ee64f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88388210', 'ctest-vn-62711500'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88388210', 'ctest-policy-allow-all-53094633']], 'subnet_ipam': [{'subnet_cidr': '117.217.225.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-25 02:20:26,017 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eda3fa25-489d-4af3-8497-dc8e65b61595', 'name': 'ctest-vn-91094547', 'tenant_id': '35f55b7eae6c46b792343db2ab3b37b0', 'project_id': '35f55b7eae6c46b792343db2ab3b37b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['71a2043a-330b-4bc0-814f-d2bab7862410'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88388210', 'ctest-vn-91094547'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88388210', 'ctest-policy-allow-all-53094633']], 'subnet_ipam': [{'subnet_cidr': '108.76.148.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-25 02:20:26,168 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-12-25 02:20:26,468 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-12-25 02:20:26,499 - DEBUG - Requesting: http://10.0.0.41:8082/domain/c09d0e35-ad06-476c-9a74-01535f713b35 2025-12-25 02:20:26,511 - DEBUG - Requesting: http://10.0.0.41:8082/project/35f55b7e-ae6c-46b7-9234-3db2ab3b37b0 2025-12-25 02:20:26,581 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7d1c13d1-89f4-47d5-9651-939b3c809767 2025-12-25 02:20:26,592 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7d1c13d1-89f4-47d5-9651-939b3c809767 2025-12-25 02:20:26,600 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1823c66c-482d-4485-87f4-06139158f57a 2025-12-25 02:20:26,607 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1823c66c-482d-4485-87f4-06139158f57a 2025-12-25 02:20:26,612 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/52c049fc-b5b1-4a58-bba1-5ae00aef47ab 2025-12-25 02:20:26,618 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-25 02:20:26,618 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7d1c13d1-89f4-47d5-9651-939b3c809767 2025-12-25 02:20:26,626 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1823c66c-482d-4485-87f4-06139158f57a 2025-12-25 02:20:26,638 - INFO - Verified VN network id 10 for VN 7d1c13d1-89f4-47d5-9651-939b3c809767 2025-12-25 02:20:26,638 - INFO - Verifications in API Server for VN ctest-vn-62711500 passed 2025-12-25 02:20:26,639 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7d1c13d1-89f4-47d5-9651-939b3c809767 2025-12-25 02:20:26,647 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1823c66c-482d-4485-87f4-06139158f57a 2025-12-25 02:20:26,652 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1823c66c-482d-4485-87f4-06139158f57a 2025-12-25 02:20:26,658 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/52c049fc-b5b1-4a58-bba1-5ae00aef47ab 2025-12-25 02:20:26,668 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88388210:ctest-vn-62711500', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88388210', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9015102344772470741', 'uuid-lslong': '10831600873747027815'}, 'enable': 'true', 'created': '2025-12-25T02:20:24', 'last-modified': '2025-12-25T02:20:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.948898'} 2025-12-25 02:20:26,673 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-25 02:20:26,673 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62711500 passed 2025-12-25 02:20:26,673 - DEBUG - ====Verifying policy data for ctest-vn-62711500 in API_Server ====== 2025-12-25 02:20:26,673 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-12-25 02:20:26,678 - DEBUG - Requesting: http://10.0.0.41:8082/domain/c09d0e35-ad06-476c-9a74-01535f713b35 2025-12-25 02:20:26,689 - DEBUG - Requesting: http://10.0.0.41:8082/project/35f55b7e-ae6c-46b7-9234-3db2ab3b37b0 2025-12-25 02:20:26,758 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7d1c13d1-89f4-47d5-9651-939b3c809767 2025-12-25 02:20:26,766 - DEBUG - ==>Verifying data for policy with id: 21f6b5f6-627a-4434-b44d-28b6170617d4, fqn: ['default-domain', 'ctest-TestBasicPolicy-88388210', 'ctest-policy-allow-all-53094633'] 2025-12-25 02:20:26,766 - INFO - VN ctest-vn-62711500 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-25 02:20:26,766 - DEBUG - Verifying the vn in opserver 2025-12-25 02:20:26,766 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88388210:ctest-vn-62711500 virtual network link through opserver 10.0.0.41 2025-12-25 02:20:26,766 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-12-25 02:20:27,066 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-12-25 02:20:27,126 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88388210:ctest-vn-62711500', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88388210:ctest-vn-62711500?flat'} 2025-12-25 02:20:27,126 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88388210:ctest-vn-62711500 is found in opserver 2025-12-25 02:20:27,135 - DEBUG - Do not have enough data to verify VN in agent 2025-12-25 02:20:27,140 - DEBUG - VRF ids for VN ctest-vn-62711500: {} 2025-12-25 02:20:27,140 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-12-25 02:20:27,145 - DEBUG - Requesting: http://10.0.0.41:8082/domain/c09d0e35-ad06-476c-9a74-01535f713b35 2025-12-25 02:20:27,157 - DEBUG - Requesting: http://10.0.0.41:8082/project/35f55b7e-ae6c-46b7-9234-3db2ab3b37b0 2025-12-25 02:20:27,227 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/eda3fa25-489d-4af3-8497-dc8e65b61595 2025-12-25 02:20:27,238 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/eda3fa25-489d-4af3-8497-dc8e65b61595 2025-12-25 02:20:27,245 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bd13a01e-caa2-4420-9091-0bcdae28cdb3 2025-12-25 02:20:27,252 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bd13a01e-caa2-4420-9091-0bcdae28cdb3 2025-12-25 02:20:27,258 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/ee40cb12-fa01-42dd-9a69-cf2ec4d7d278 2025-12-25 02:20:27,263 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-25 02:20:27,263 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/eda3fa25-489d-4af3-8497-dc8e65b61595 2025-12-25 02:20:27,273 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bd13a01e-caa2-4420-9091-0bcdae28cdb3 2025-12-25 02:20:27,286 - INFO - Verified VN network id 11 for VN eda3fa25-489d-4af3-8497-dc8e65b61595 2025-12-25 02:20:27,286 - INFO - Verifications in API Server for VN ctest-vn-91094547 passed 2025-12-25 02:20:27,287 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/eda3fa25-489d-4af3-8497-dc8e65b61595 2025-12-25 02:20:27,295 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bd13a01e-caa2-4420-9091-0bcdae28cdb3 2025-12-25 02:20:27,302 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bd13a01e-caa2-4420-9091-0bcdae28cdb3 2025-12-25 02:20:27,309 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/ee40cb12-fa01-42dd-9a69-cf2ec4d7d278 2025-12-25 02:20:27,320 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88388210:ctest-vn-91094547', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88388210', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17123805246231759603', 'uuid-lslong': '9554347638639695253'}, 'enable': 'true', 'created': '2025-12-25T02:20:25', 'last-modified': '2025-12-25T02:20:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.362251'} 2025-12-25 02:20:27,326 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-25 02:20:27,326 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91094547 passed 2025-12-25 02:20:27,326 - DEBUG - ====Verifying policy data for ctest-vn-91094547 in API_Server ====== 2025-12-25 02:20:27,327 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-12-25 02:20:27,332 - DEBUG - Requesting: http://10.0.0.41:8082/domain/c09d0e35-ad06-476c-9a74-01535f713b35 2025-12-25 02:20:27,343 - DEBUG - Requesting: http://10.0.0.41:8082/project/35f55b7e-ae6c-46b7-9234-3db2ab3b37b0 2025-12-25 02:20:27,429 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/eda3fa25-489d-4af3-8497-dc8e65b61595 2025-12-25 02:20:27,438 - DEBUG - ==>Verifying data for policy with id: 21f6b5f6-627a-4434-b44d-28b6170617d4, fqn: ['default-domain', 'ctest-TestBasicPolicy-88388210', 'ctest-policy-allow-all-53094633'] 2025-12-25 02:20:27,438 - INFO - VN ctest-vn-91094547 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-25 02:20:27,438 - DEBUG - Verifying the vn in opserver 2025-12-25 02:20:27,438 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88388210:ctest-vn-91094547 virtual network link through opserver 10.0.0.41 2025-12-25 02:20:27,438 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-12-25 02:20:27,447 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88388210:ctest-vn-91094547', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88388210:ctest-vn-91094547?flat'} 2025-12-25 02:20:27,447 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88388210:ctest-vn-91094547 is found in opserver 2025-12-25 02:20:27,456 - DEBUG - Do not have enough data to verify VN in agent 2025-12-25 02:20:27,461 - DEBUG - VRF ids for VN ctest-vn-91094547: {} 2025-12-25 02:20:27,531 - DEBUG - Services list from nova: [, , ] 2025-12-25 02:20:28,621 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4924-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4924-1) 2025-12-25 02:20:29,831 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4924-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4924-1) 2025-12-25 02:20:29,831 - INFO - Waiting for VM ctest-TestBasicPolicy-88388210-08818392 to be up.. 2025-12-25 02:20:29,910 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-25 02:20:35,000 - DEBUG - VM is in ACTIVE state now 2025-12-25 02:20:35,000 - INFO - VM name : ctest-TestBasicPolicy-88388210-08818392 2025-12-25 02:20:35,073 - DEBUG - VM ctest-TestBasicPolicy-88388210-08818392 ID is dfebb5bb-7956-41c4-adca-b78dbffcb0a4 2025-12-25 02:20:35,098 - DEBUG - VM ctest-TestBasicPolicy-88388210-08818392 launched on Node cn-jenkins-deploy-platform-ansible-os-4924-1 2025-12-25 02:20:35,183 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/dfebb5bb-7956-41c4-adca-b78dbffcb0a4 2025-12-25 02:20:35,194 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/172b8aa5-9db8-4256-9546-0c6cd12f83f9 2025-12-25 02:20:38,441 - 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 1019ms') 2025-12-25 02:20:38,441 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88388210-08818392 failed! 2025-12-25 02:20:38,496 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-88388210:ctest-vn-62711500 is 117.217.225.193 and allocation pool is NOT set 2025-12-25 02:20:40,556 - 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.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.22 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 = 1.219/4.162/7.106/2.943 ms') 2025-12-25 02:20:40,556 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88388210-08818392 passed 2025-12-25 02:20:40,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:20:40,704 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88388210-08818392, IP 117.217.225.195, Port 22 2025-12-25 02:20:40,771 - 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-12-25 02:20:40,844 - DEBUG - VM ctest-TestBasicPolicy-88388210-08818392 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-25 02:20:45,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:20:45,844 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88388210-08818392, IP 117.217.225.195, Port 22 2025-12-25 02:20:46,008 - DEBUG - VM ctest-TestBasicPolicy-88388210-08818392 is ready for SSH connections 2025-12-25 02:20:46,008 - INFO - Waiting for VM ctest-TestBasicPolicy-88388210-30026128 to be up.. 2025-12-25 02:20:46,079 - DEBUG - VM is in ACTIVE state now 2025-12-25 02:20:46,079 - INFO - VM name : ctest-TestBasicPolicy-88388210-30026128 2025-12-25 02:20:46,157 - DEBUG - VM ctest-TestBasicPolicy-88388210-30026128 ID is 5042bd8c-4ab7-4c06-a5c7-246f14d2c828 2025-12-25 02:20:46,158 - DEBUG - VM ctest-TestBasicPolicy-88388210-30026128 launched on Node cn-jenkins-deploy-platform-ansible-os-4924-1 2025-12-25 02:20:46,229 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/5042bd8c-4ab7-4c06-a5c7-246f14d2c828 2025-12-25 02:20:46,237 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/d632cff2-e7ab-47bb-a240-e4571fce5ecb 2025-12-25 02:20:47,472 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.395 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.395/1.528/2.662/1.133 ms') 2025-12-25 02:20:47,472 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-88388210-30026128 passed 2025-12-25 02:20:47,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:20:47,620 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88388210-30026128, IP 108.76.148.195, Port 22 2025-12-25 02:20:47,771 - DEBUG - VM ctest-TestBasicPolicy-88388210-30026128 is ready for SSH connections 2025-12-25 02:20:47,772 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:20:47,772 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.76.148.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-12-25 02:20:47,772 - DEBUG - ping -s 56 -c 3 -W 1 108.76.148.195 2025-12-25 02:20:51,839 - DEBUG - PING 108.76.148.195 (108.76.148.195): 56 data bytes 64 bytes from 108.76.148.195: seq=0 ttl=63 time=4.178 ms 64 bytes from 108.76.148.195: seq=1 ttl=63 time=1.118 ms 64 bytes from 108.76.148.195: seq=2 ttl=63 time=1.058 ms --- 108.76.148.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.058/2.118/4.178 ms 2025-12-25 02:20:51,839 - INFO - Ping to IP 108.76.148.195 from VM ctest-TestBasicPolicy-88388210-08818392 passed 2025-12-25 02:20:52,016 - DEBUG - Policy Update Response {"network-policy": {"uuid": "21f6b5f6-627a-4434-b44d-28b6170617d4", "href": "http://10.0.0.41:8082/network-policy/21f6b5f6-627a-4434-b44d-28b6170617d4"}} 2025-12-25 02:20:52,016 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:20:52,016 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.76.148.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-12-25 02:20:52,016 - DEBUG - ping -s 56 -c 3 -W 1 108.76.148.195 2025-12-25 02:20:55,228 - DEBUG - PING 108.76.148.195 (108.76.148.195): 56 data bytes --- 108.76.148.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-25 02:20:55,228 - WARNING - Ping to IP 108.76.148.195 from VM ctest-TestBasicPolicy-88388210-08818392 failed 2025-12-25 02:20:55,228 - INFO - Deleting VM ctest-TestBasicPolicy-88388210-30026128 2025-12-25 02:20:55,301 - INFO - Deleting VM ctest-TestBasicPolicy-88388210-08818392 2025-12-25 02:20:55,671 - INFO - Deleted policy ctest-policy-allow-all-53094633 2025-12-25 02:20:55,672 - INFO - Deleting VN ctest-vn-91094547 2025-12-25 02:20:55,712 - DEBUG - VN eda3fa25-489d-4af3-8497-dc8e65b61595 still in use: Unable to complete operation on network eda3fa25-489d-4af3-8497-dc8e65b61595. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6acb83c7-8233-412b-88c5-4442af3c031b'] 2025-12-25 02:20:55,712 - WARNING - Deleting VN ctest-vn-91094547 failed..Will retry 2025-12-25 02:20:57,824 - DEBUG - Response for deleting network () 2025-12-25 02:20:57,824 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bd13a01e-caa2-4420-9091-0bcdae28cdb3 2025-12-25 02:20:57,829 - DEBUG - Response Code: 404 2025-12-25 02:20:57,829 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-12-25 02:20:57,835 - DEBUG - Requesting: http://10.0.0.41:8082/domain/c09d0e35-ad06-476c-9a74-01535f713b35 2025-12-25 02:20:57,889 - DEBUG - Requesting: http://10.0.0.41:8082/project/35f55b7e-ae6c-46b7-9234-3db2ab3b37b0 2025-12-25 02:20:57,958 - INFO - Validated that VN ctest-vn-91094547 is not found in API Server 2025-12-25 02:20:57,968 - DEBUG - VN ctest-vn-91094547 is not present in Agent 10.0.0.41 2025-12-25 02:20:57,968 - INFO - Validated that VN ctest-vn-91094547 is not in any agent 2025-12-25 02:20:57,982 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91094547 info 2025-12-25 02:20:57,982 - INFO - Deleting VN ctest-vn-62711500 2025-12-25 02:20:58,079 - DEBUG - Response for deleting network () 2025-12-25 02:20:58,079 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1823c66c-482d-4485-87f4-06139158f57a 2025-12-25 02:20:58,086 - DEBUG - Response Code: 404 2025-12-25 02:20:58,086 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-12-25 02:20:58,091 - DEBUG - Requesting: http://10.0.0.41:8082/domain/c09d0e35-ad06-476c-9a74-01535f713b35 2025-12-25 02:20:58,146 - DEBUG - Requesting: http://10.0.0.41:8082/project/35f55b7e-ae6c-46b7-9234-3db2ab3b37b0 2025-12-25 02:20:58,224 - INFO - Validated that VN ctest-vn-62711500 is not found in API Server 2025-12-25 02:20:58,235 - DEBUG - VN ctest-vn-62711500 is not present in Agent 10.0.0.41 2025-12-25 02:20:58,235 - INFO - Validated that VN ctest-vn-62711500 is not in any agent 2025-12-25 02:20:58,249 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62711500 info 2025-12-25 02:20:58,509 - DEBUG - No XMPP flaps were noticed during the test
2025-12-25 02:20:58,509 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-12-25 02:20:58,509 - INFO - -------------------------------------------------------------------------------- 2025-12-25 02:20:59,183 - INFO - Deleted project: ctest-TestBasicPolicy-88388210, ID : 35f55b7e-ae6c-46b7-9234-3db2ab3b37b0