2026-01-26 02:07:59,968 - INFO - Domain Default found not creating 2026-01-26 02:08:00,144 - INFO - Project ctest-TestBasicPolicy-66346458 not found, creating it 2026-01-26 02:08:00,612 - INFO - Created Project:ctest-TestBasicPolicy-66346458, ID : 536fcdea-58af-4605-977c-f7664dd46def 2026-01-26 02:08:02,196 - INFO - ================================================================================ 2026-01-26 02:08:02,197 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-26 02:08:02,197 - 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-01-26 02:08:02,464 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-01-26 02:08:02,464 - INFO - Initial checks done. Running the testcase now 2026-01-26 02:08:02,464 - INFO - 2026-01-26 02:08:03,039 - DEBUG - Response for create_network : {'network': {'id': 'b39f116a-9b4e-4ed1-89d1-06a6772e547f', 'name': 'ctest-vn-77687459', 'tenant_id': '536fcdea58af4605977cf7664dd46def', 'project_id': '536fcdea58af4605977cf7664dd46def', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66346458', 'ctest-vn-77687459'], 'port_security_enabled': True, 'description': ''}} 2026-01-26 02:08:03,253 - DEBUG - Response for create_subnet : {'subnet': {'id': '84ad82e6-107b-40d1-bac3-026889bb7a1b', 'name': '', 'tenant_id': '536fcdea58af4605977cf7664dd46def', 'network_id': 'b39f116a-9b4e-4ed1-89d1-06a6772e547f', 'ip_version': 4, 'cidr': '184.69.212.192/26', 'allocation_pools': [{'start': '184.69.212.194', 'end': '184.69.212.254'}], 'gateway_ip': '184.69.212.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.69.212.194', 'tags': [], 'project_id': '536fcdea58af4605977cf7664dd46def'}} 2026-01-26 02:08:03,271 - INFO - Created VN ctest-vn-77687459 2026-01-26 02:08:03,322 - DEBUG - VN ctest-vn-77687459 UUID is b39f116a-9b4e-4ed1-89d1-06a6772e547f 2026-01-26 02:08:03,616 - DEBUG - Response for create_network : {'network': {'id': '16f23feb-2acf-433c-9d14-40cd73f07b43', 'name': 'ctest-vn-19142144', 'tenant_id': '536fcdea58af4605977cf7664dd46def', 'project_id': '536fcdea58af4605977cf7664dd46def', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66346458', 'ctest-vn-19142144'], 'port_security_enabled': True, 'description': ''}} 2026-01-26 02:08:03,786 - DEBUG - Response for create_subnet : {'subnet': {'id': '184c93b7-6f10-4215-a92f-7b79483bc825', 'name': '', 'tenant_id': '536fcdea58af4605977cf7664dd46def', 'network_id': '16f23feb-2acf-433c-9d14-40cd73f07b43', 'ip_version': 4, 'cidr': '112.46.56.0/26', 'allocation_pools': [{'start': '112.46.56.2', 'end': '112.46.56.62'}], 'gateway_ip': '112.46.56.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.46.56.2', 'tags': [], 'project_id': '536fcdea58af4605977cf7664dd46def'}} 2026-01-26 02:08:03,803 - INFO - Created VN ctest-vn-19142144 2026-01-26 02:08:03,854 - DEBUG - VN ctest-vn-19142144 UUID is 16f23feb-2acf-433c-9d14-40cd73f07b43 2026-01-26 02:08:04,010 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66346458:ctest-vn-77687459, 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-66346458:ctest-vn-19142144, 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-01-26 02:08:04,300 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b39f116a-9b4e-4ed1-89d1-06a6772e547f', 'name': 'ctest-vn-77687459', 'tenant_id': '536fcdea58af4605977cf7664dd46def', 'project_id': '536fcdea58af4605977cf7664dd46def', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['84ad82e6-107b-40d1-bac3-026889bb7a1b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66346458', 'ctest-vn-77687459'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66346458', 'ctest-policy-allow-all-97818750']], 'subnet_ipam': [{'subnet_cidr': '184.69.212.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-26 02:08:04,513 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '16f23feb-2acf-433c-9d14-40cd73f07b43', 'name': 'ctest-vn-19142144', 'tenant_id': '536fcdea58af4605977cf7664dd46def', 'project_id': '536fcdea58af4605977cf7664dd46def', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['184c93b7-6f10-4215-a92f-7b79483bc825'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66346458', 'ctest-vn-19142144'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66346458', 'ctest-policy-allow-all-97818750']], 'subnet_ipam': [{'subnet_cidr': '112.46.56.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-26 02:08:04,666 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-26 02:08:04,975 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-26 02:08:05,010 - DEBUG - Requesting: http://10.0.0.249:8082/domain/2d223296-7686-43c4-838c-434cc6008c04 2026-01-26 02:08:05,023 - DEBUG - Requesting: http://10.0.0.249:8082/project/536fcdea-58af-4605-977c-f7664dd46def 2026-01-26 02:08:05,118 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b39f116a-9b4e-4ed1-89d1-06a6772e547f 2026-01-26 02:08:05,129 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b39f116a-9b4e-4ed1-89d1-06a6772e547f 2026-01-26 02:08:05,138 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/5c3ebfed-5e53-4cee-a0d7-6a7754adbc0f 2026-01-26 02:08:05,145 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/5c3ebfed-5e53-4cee-a0d7-6a7754adbc0f 2026-01-26 02:08:05,151 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/1e552185-23c3-431c-b121-8b974a8634a3 2026-01-26 02:08:05,157 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-26 02:08:05,157 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b39f116a-9b4e-4ed1-89d1-06a6772e547f 2026-01-26 02:08:05,164 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/5c3ebfed-5e53-4cee-a0d7-6a7754adbc0f 2026-01-26 02:08:05,179 - INFO - Verified VN network id 11 for VN b39f116a-9b4e-4ed1-89d1-06a6772e547f 2026-01-26 02:08:05,179 - INFO - Verifications in API Server for VN ctest-vn-77687459 passed 2026-01-26 02:08:05,179 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b39f116a-9b4e-4ed1-89d1-06a6772e547f 2026-01-26 02:08:05,188 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/5c3ebfed-5e53-4cee-a0d7-6a7754adbc0f 2026-01-26 02:08:05,194 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/5c3ebfed-5e53-4cee-a0d7-6a7754adbc0f 2026-01-26 02:08:05,200 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/1e552185-23c3-431c-b121-8b974a8634a3 2026-01-26 02:08:05,210 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66346458:ctest-vn-77687459', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66346458', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12943083003655900881', 'uuid-lslong': '9930725965362517119'}, 'enable': 'true', 'created': '2026-01-26T02:08:03', 'last-modified': '2026-01-26T02:08:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.933289'} 2026-01-26 02:08:05,218 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-26 02:08:05,218 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77687459 passed 2026-01-26 02:08:05,218 - DEBUG - ====Verifying policy data for ctest-vn-77687459 in API_Server ====== 2026-01-26 02:08:05,218 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-26 02:08:05,224 - DEBUG - Requesting: http://10.0.0.249:8082/domain/2d223296-7686-43c4-838c-434cc6008c04 2026-01-26 02:08:05,234 - DEBUG - Requesting: http://10.0.0.249:8082/project/536fcdea-58af-4605-977c-f7664dd46def 2026-01-26 02:08:05,307 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b39f116a-9b4e-4ed1-89d1-06a6772e547f 2026-01-26 02:08:05,316 - DEBUG - ==>Verifying data for policy with id: ab1c27fa-3f75-4d41-ac95-3151394b9107, fqn: ['default-domain', 'ctest-TestBasicPolicy-66346458', 'ctest-policy-allow-all-97818750'] 2026-01-26 02:08:05,316 - INFO - VN ctest-vn-77687459 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-26 02:08:05,316 - DEBUG - Verifying the vn in opserver 2026-01-26 02:08:05,316 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66346458:ctest-vn-77687459 virtual network link through opserver 10.0.0.249 2026-01-26 02:08:05,316 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-26 02:08:05,618 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-26 02:08:05,682 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66346458:ctest-vn-77687459', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66346458:ctest-vn-77687459?flat'} 2026-01-26 02:08:05,682 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66346458:ctest-vn-77687459 is found in opserver 2026-01-26 02:08:05,692 - DEBUG - Do not have enough data to verify VN in agent 2026-01-26 02:08:05,697 - DEBUG - VRF ids for VN ctest-vn-77687459: {} 2026-01-26 02:08:05,697 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-26 02:08:05,702 - DEBUG - Requesting: http://10.0.0.249:8082/domain/2d223296-7686-43c4-838c-434cc6008c04 2026-01-26 02:08:05,713 - DEBUG - Requesting: http://10.0.0.249:8082/project/536fcdea-58af-4605-977c-f7664dd46def 2026-01-26 02:08:05,785 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/16f23feb-2acf-433c-9d14-40cd73f07b43 2026-01-26 02:08:05,797 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/16f23feb-2acf-433c-9d14-40cd73f07b43 2026-01-26 02:08:05,806 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3833e4a2-6115-4e7a-9b16-34eb2c9bf7d6 2026-01-26 02:08:05,813 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3833e4a2-6115-4e7a-9b16-34eb2c9bf7d6 2026-01-26 02:08:05,820 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/afb289d7-f258-4dfb-9243-74dc7766155e 2026-01-26 02:08:05,828 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-26 02:08:05,828 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/16f23feb-2acf-433c-9d14-40cd73f07b43 2026-01-26 02:08:05,837 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3833e4a2-6115-4e7a-9b16-34eb2c9bf7d6 2026-01-26 02:08:05,851 - INFO - Verified VN network id 12 for VN 16f23feb-2acf-433c-9d14-40cd73f07b43 2026-01-26 02:08:05,851 - INFO - Verifications in API Server for VN ctest-vn-19142144 passed 2026-01-26 02:08:05,851 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/16f23feb-2acf-433c-9d14-40cd73f07b43 2026-01-26 02:08:05,860 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3833e4a2-6115-4e7a-9b16-34eb2c9bf7d6 2026-01-26 02:08:05,867 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3833e4a2-6115-4e7a-9b16-34eb2c9bf7d6 2026-01-26 02:08:05,873 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/afb289d7-f258-4dfb-9243-74dc7766155e 2026-01-26 02:08:05,884 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66346458:ctest-vn-19142144', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66346458', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1653454292466484028', 'uuid-lslong': '11318743014646512451'}, 'enable': 'true', 'created': '2026-01-26T02:08:03', 'last-modified': '2026-01-26T02:08:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.391598'} 2026-01-26 02:08:05,890 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-26 02:08:05,890 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19142144 passed 2026-01-26 02:08:05,890 - DEBUG - ====Verifying policy data for ctest-vn-19142144 in API_Server ====== 2026-01-26 02:08:05,890 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-26 02:08:05,896 - DEBUG - Requesting: http://10.0.0.249:8082/domain/2d223296-7686-43c4-838c-434cc6008c04 2026-01-26 02:08:05,908 - DEBUG - Requesting: http://10.0.0.249:8082/project/536fcdea-58af-4605-977c-f7664dd46def 2026-01-26 02:08:05,978 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/16f23feb-2acf-433c-9d14-40cd73f07b43 2026-01-26 02:08:05,986 - DEBUG - ==>Verifying data for policy with id: ab1c27fa-3f75-4d41-ac95-3151394b9107, fqn: ['default-domain', 'ctest-TestBasicPolicy-66346458', 'ctest-policy-allow-all-97818750'] 2026-01-26 02:08:05,987 - INFO - VN ctest-vn-19142144 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-26 02:08:05,987 - DEBUG - Verifying the vn in opserver 2026-01-26 02:08:05,987 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66346458:ctest-vn-19142144 virtual network link through opserver 10.0.0.249 2026-01-26 02:08:05,987 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-26 02:08:05,996 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66346458:ctest-vn-19142144', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66346458:ctest-vn-19142144?flat'} 2026-01-26 02:08:05,996 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66346458:ctest-vn-19142144 is found in opserver 2026-01-26 02:08:06,005 - DEBUG - Do not have enough data to verify VN in agent 2026-01-26 02:08:06,009 - DEBUG - VRF ids for VN ctest-vn-19142144: {} 2026-01-26 02:08:06,073 - DEBUG - Services list from nova: [, , ] 2026-01-26 02:08:07,141 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5073-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5073-1) 2026-01-26 02:08:08,291 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5073-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5073-1) 2026-01-26 02:08:08,291 - INFO - Waiting for VM ctest-TestBasicPolicy-66346458-09855031 to be up.. 2026-01-26 02:08:08,378 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-26 02:08:13,468 - DEBUG - VM is in ACTIVE state now 2026-01-26 02:08:13,468 - INFO - VM name : ctest-TestBasicPolicy-66346458-09855031 2026-01-26 02:08:13,553 - DEBUG - VM ctest-TestBasicPolicy-66346458-09855031 ID is 9c9eefe2-ff7a-4f5e-b3bd-8df3f75ef221 2026-01-26 02:08:13,576 - DEBUG - VM ctest-TestBasicPolicy-66346458-09855031 launched on Node cn-jenkins-deploy-platform-ansible-os-5073-1 2026-01-26 02:08:13,668 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/9c9eefe2-ff7a-4f5e-b3bd-8df3f75ef221 2026-01-26 02:08:13,680 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/f5537164-b1b3-4fe3-894d-7d811e138ffb 2026-01-26 02:08:16,891 - 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 1010ms') 2026-01-26 02:08:16,891 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66346458-09855031 failed! 2026-01-26 02:08:16,950 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66346458:ctest-vn-77687459 is 184.69.212.193 and allocation pool is NOT set 2026-01-26 02:08:19,015 - 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.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.74 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 = 1.741/5.118/8.495/3.377 ms') 2026-01-26 02:08:19,015 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66346458-09855031 passed 2026-01-26 02:08:19,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 02:08:19,162 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66346458-09855031, IP 184.69.212.195, Port 22 2026-01-26 02:08:19,229 - 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-01-26 02:08:19,313 - DEBUG - VM ctest-TestBasicPolicy-66346458-09855031 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-26 02:08:24,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 02:08:24,313 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66346458-09855031, IP 184.69.212.195, Port 22 2026-01-26 02:08:24,471 - DEBUG - VM ctest-TestBasicPolicy-66346458-09855031 is ready for SSH connections 2026-01-26 02:08:24,471 - INFO - Waiting for VM ctest-TestBasicPolicy-66346458-78061956 to be up.. 2026-01-26 02:08:24,553 - DEBUG - VM is in ACTIVE state now 2026-01-26 02:08:24,553 - INFO - VM name : ctest-TestBasicPolicy-66346458-78061956 2026-01-26 02:08:24,631 - DEBUG - VM ctest-TestBasicPolicy-66346458-78061956 ID is aa1161aa-ad01-4ab2-b4a5-c4c25f7db0ff 2026-01-26 02:08:24,631 - DEBUG - VM ctest-TestBasicPolicy-66346458-78061956 launched on Node cn-jenkins-deploy-platform-ansible-os-5073-1 2026-01-26 02:08:24,708 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/aa1161aa-ad01-4ab2-b4a5-c4c25f7db0ff 2026-01-26 02:08:24,715 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/29435566-44ba-4705-b50d-26be7a7dc512 2026-01-26 02:08:25,956 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.423 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.423/1.806/3.189/1.383 ms') 2026-01-26 02:08:25,956 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-66346458-78061956 passed 2026-01-26 02:08:26,102 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 02:08:26,102 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66346458-78061956, IP 112.46.56.3, Port 22 2026-01-26 02:08:26,269 - DEBUG - VM ctest-TestBasicPolicy-66346458-78061956 is ready for SSH connections 2026-01-26 02:08:26,269 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 02:08:26,269 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.46.56.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-26 02:08:26,269 - DEBUG - ping -s 56 -c 3 -W 1 112.46.56.3 2026-01-26 02:08:29,967 - DEBUG - PING 112.46.56.3 (112.46.56.3): 56 data bytes 64 bytes from 112.46.56.3: seq=0 ttl=63 time=4.530 ms 64 bytes from 112.46.56.3: seq=1 ttl=63 time=1.001 ms 64 bytes from 112.46.56.3: seq=2 ttl=63 time=1.132 ms --- 112.46.56.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.001/2.221/4.530 ms 2026-01-26 02:08:29,967 - INFO - Ping to IP 112.46.56.3 from VM ctest-TestBasicPolicy-66346458-09855031 passed 2026-01-26 02:08:30,150 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ab1c27fa-3f75-4d41-ac95-3151394b9107", "href": "http://10.0.0.249:8082/network-policy/ab1c27fa-3f75-4d41-ac95-3151394b9107"}} 2026-01-26 02:08:30,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 02:08:30,150 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.46.56.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-26 02:08:30,150 - DEBUG - ping -s 56 -c 3 -W 1 112.46.56.3 2026-01-26 02:08:33,367 - DEBUG - PING 112.46.56.3 (112.46.56.3): 56 data bytes --- 112.46.56.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-26 02:08:33,367 - WARNING - Ping to IP 112.46.56.3 from VM ctest-TestBasicPolicy-66346458-09855031 failed 2026-01-26 02:08:33,367 - INFO - Deleting VM ctest-TestBasicPolicy-66346458-78061956 2026-01-26 02:08:33,434 - INFO - Deleting VM ctest-TestBasicPolicy-66346458-09855031 2026-01-26 02:08:33,794 - INFO - Deleted policy ctest-policy-allow-all-97818750 2026-01-26 02:08:33,794 - INFO - Deleting VN ctest-vn-19142144 2026-01-26 02:08:33,841 - DEBUG - VN 16f23feb-2acf-433c-9d14-40cd73f07b43 still in use: Unable to complete operation on network 16f23feb-2acf-433c-9d14-40cd73f07b43. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3691ffc1-9ef3-4434-b1cd-5db36b639d1b'] 2026-01-26 02:08:33,841 - WARNING - Deleting VN ctest-vn-19142144 failed..Will retry 2026-01-26 02:08:35,946 - DEBUG - Response for deleting network () 2026-01-26 02:08:35,946 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3833e4a2-6115-4e7a-9b16-34eb2c9bf7d6 2026-01-26 02:08:35,954 - DEBUG - Response Code: 404 2026-01-26 02:08:35,954 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-26 02:08:35,959 - DEBUG - Requesting: http://10.0.0.249:8082/domain/2d223296-7686-43c4-838c-434cc6008c04 2026-01-26 02:08:36,011 - DEBUG - Requesting: http://10.0.0.249:8082/project/536fcdea-58af-4605-977c-f7664dd46def 2026-01-26 02:08:36,085 - INFO - Validated that VN ctest-vn-19142144 is not found in API Server 2026-01-26 02:08:36,096 - DEBUG - VN ctest-vn-19142144 is not present in Agent 10.0.0.249 2026-01-26 02:08:36,096 - INFO - Validated that VN ctest-vn-19142144 is not in any agent 2026-01-26 02:08:36,110 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19142144 info 2026-01-26 02:08:36,110 - INFO - Deleting VN ctest-vn-77687459 2026-01-26 02:08:36,214 - DEBUG - Response for deleting network () 2026-01-26 02:08:36,214 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/5c3ebfed-5e53-4cee-a0d7-6a7754adbc0f 2026-01-26 02:08:36,220 - DEBUG - Response Code: 404 2026-01-26 02:08:36,220 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-26 02:08:36,226 - DEBUG - Requesting: http://10.0.0.249:8082/domain/2d223296-7686-43c4-838c-434cc6008c04 2026-01-26 02:08:36,280 - DEBUG - Requesting: http://10.0.0.249:8082/project/536fcdea-58af-4605-977c-f7664dd46def 2026-01-26 02:08:36,355 - INFO - Validated that VN ctest-vn-77687459 is not found in API Server 2026-01-26 02:08:36,366 - DEBUG - VN ctest-vn-77687459 is not present in Agent 10.0.0.249 2026-01-26 02:08:36,366 - INFO - Validated that VN ctest-vn-77687459 is not in any agent 2026-01-26 02:08:36,379 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77687459 info 2026-01-26 02:08:36,632 - DEBUG - No XMPP flaps were noticed during the test
2026-01-26 02:08:36,633 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2026-01-26 02:08:36,633 - INFO - -------------------------------------------------------------------------------- 2026-01-26 02:08:37,358 - INFO - Deleted project: ctest-TestBasicPolicy-66346458, ID : 536fcdea-58af-4605-977c-f7664dd46def