2025-12-03 20:01:49,901 - INFO - Domain Default found not creating 2025-12-03 20:01:50,212 - INFO - Project ctest-TestBasicPolicy-21933055 not found, creating it 2025-12-03 20:01:50,742 - INFO - Created Project:ctest-TestBasicPolicy-21933055, ID : be57d2da-2016-4a72-855d-30084d809411 2025-12-03 20:01:52,745 - INFO - ================================================================================ 2025-12-03 20:01:52,745 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-03 20:01:52,745 - 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-03 20:01:53,045 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-12-03 20:01:53,045 - INFO - Initial checks done. Running the testcase now 2025-12-03 20:01:53,046 - INFO - 2025-12-03 20:01:53,913 - DEBUG - Response for create_network : {'network': {'id': '544d4055-b0e4-41c3-9dc1-415bfacfc22e', 'name': 'ctest-vn-51352816', 'tenant_id': 'be57d2da20164a72855d30084d809411', 'project_id': 'be57d2da20164a72855d30084d809411', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21933055', 'ctest-vn-51352816'], 'port_security_enabled': True, 'description': ''}} 2025-12-03 20:01:54,169 - DEBUG - Response for create_subnet : {'subnet': {'id': '3aa0b729-d5d5-4358-8710-7568d1c63f3c', 'name': '', 'tenant_id': 'be57d2da20164a72855d30084d809411', 'network_id': '544d4055-b0e4-41c3-9dc1-415bfacfc22e', 'ip_version': 4, 'cidr': '190.19.145.0/26', 'allocation_pools': [{'start': '190.19.145.2', 'end': '190.19.145.62'}], 'gateway_ip': '190.19.145.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.19.145.2', 'tags': [], 'project_id': 'be57d2da20164a72855d30084d809411'}} 2025-12-03 20:01:54,196 - INFO - Created VN ctest-vn-51352816 2025-12-03 20:01:54,248 - DEBUG - VN ctest-vn-51352816 UUID is 544d4055-b0e4-41c3-9dc1-415bfacfc22e 2025-12-03 20:01:54,647 - DEBUG - Response for create_network : {'network': {'id': '3fd56c5d-afab-4cde-9096-ad4397ca325a', 'name': 'ctest-vn-54927359', 'tenant_id': 'be57d2da20164a72855d30084d809411', 'project_id': 'be57d2da20164a72855d30084d809411', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21933055', 'ctest-vn-54927359'], 'port_security_enabled': True, 'description': ''}} 2025-12-03 20:01:54,897 - DEBUG - Response for create_subnet : {'subnet': {'id': '4082cf7a-94e0-4ff0-b112-0805d30d54ba', 'name': '', 'tenant_id': 'be57d2da20164a72855d30084d809411', 'network_id': '3fd56c5d-afab-4cde-9096-ad4397ca325a', 'ip_version': 4, 'cidr': '163.163.176.0/26', 'allocation_pools': [{'start': '163.163.176.2', 'end': '163.163.176.62'}], 'gateway_ip': '163.163.176.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.163.176.2', 'tags': [], 'project_id': 'be57d2da20164a72855d30084d809411'}} 2025-12-03 20:01:54,922 - INFO - Created VN ctest-vn-54927359 2025-12-03 20:01:54,980 - DEBUG - VN ctest-vn-54927359 UUID is 3fd56c5d-afab-4cde-9096-ad4397ca325a 2025-12-03 20:01:55,164 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21933055:ctest-vn-51352816, 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-21933055:ctest-vn-54927359, 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-03 20:01:55,575 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '544d4055-b0e4-41c3-9dc1-415bfacfc22e', 'name': 'ctest-vn-51352816', 'tenant_id': 'be57d2da20164a72855d30084d809411', 'project_id': 'be57d2da20164a72855d30084d809411', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3aa0b729-d5d5-4358-8710-7568d1c63f3c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21933055', 'ctest-vn-51352816'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21933055', 'ctest-policy-allow-all-40130432']], 'subnet_ipam': [{'subnet_cidr': '190.19.145.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-03 20:01:55,918 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3fd56c5d-afab-4cde-9096-ad4397ca325a', 'name': 'ctest-vn-54927359', 'tenant_id': 'be57d2da20164a72855d30084d809411', 'project_id': 'be57d2da20164a72855d30084d809411', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4082cf7a-94e0-4ff0-b112-0805d30d54ba'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21933055', 'ctest-vn-54927359'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21933055', 'ctest-policy-allow-all-40130432']], 'subnet_ipam': [{'subnet_cidr': '163.163.176.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-03 20:01:56,096 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-03 20:01:56,421 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-03 20:01:56,504 - DEBUG - Requesting: http://10.0.0.38:8082/domain/915a2447-1660-402b-9d23-ed749ed9e3ab 2025-12-03 20:01:56,538 - DEBUG - Requesting: http://10.0.0.38:8082/project/be57d2da-2016-4a72-855d-30084d809411 2025-12-03 20:01:56,655 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/544d4055-b0e4-41c3-9dc1-415bfacfc22e 2025-12-03 20:01:56,685 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/544d4055-b0e4-41c3-9dc1-415bfacfc22e 2025-12-03 20:01:56,703 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f47a9015-d5cd-4853-9fd1-1dce6327b445 2025-12-03 20:01:56,717 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f47a9015-d5cd-4853-9fd1-1dce6327b445 2025-12-03 20:01:56,728 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d61ecdf3-0494-4d2d-a073-c2ba71b3665d 2025-12-03 20:01:56,739 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-03 20:01:56,739 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/544d4055-b0e4-41c3-9dc1-415bfacfc22e 2025-12-03 20:01:56,757 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f47a9015-d5cd-4853-9fd1-1dce6327b445 2025-12-03 20:01:56,793 - INFO - Verified VN network id 11 for VN 544d4055-b0e4-41c3-9dc1-415bfacfc22e 2025-12-03 20:01:56,793 - INFO - Verifications in API Server for VN ctest-vn-51352816 passed 2025-12-03 20:01:56,793 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/544d4055-b0e4-41c3-9dc1-415bfacfc22e 2025-12-03 20:01:56,816 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f47a9015-d5cd-4853-9fd1-1dce6327b445 2025-12-03 20:01:56,827 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f47a9015-d5cd-4853-9fd1-1dce6327b445 2025-12-03 20:01:56,838 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d61ecdf3-0494-4d2d-a073-c2ba71b3665d 2025-12-03 20:01:56,863 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21933055:ctest-vn-51352816', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21933055', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6074582209176814019', 'uuid-lslong': '11367438797765591598'}, 'enable': 'true', 'created': '2025-12-03T20:01:53', 'last-modified': '2025-12-03T20:01:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.338913'} 2025-12-03 20:01:56,874 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-03 20:01:56,874 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51352816 passed 2025-12-03 20:01:56,874 - DEBUG - ====Verifying policy data for ctest-vn-51352816 in API_Server ====== 2025-12-03 20:01:56,874 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-03 20:01:56,883 - DEBUG - Requesting: http://10.0.0.38:8082/domain/915a2447-1660-402b-9d23-ed749ed9e3ab 2025-12-03 20:01:56,913 - DEBUG - Requesting: http://10.0.0.38:8082/project/be57d2da-2016-4a72-855d-30084d809411 2025-12-03 20:01:57,013 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/544d4055-b0e4-41c3-9dc1-415bfacfc22e 2025-12-03 20:01:57,029 - DEBUG - ==>Verifying data for policy with id: 8fe59c6f-d275-4dca-8109-5c31457d0024, fqn: ['default-domain', 'ctest-TestBasicPolicy-21933055', 'ctest-policy-allow-all-40130432'] 2025-12-03 20:01:57,030 - INFO - VN ctest-vn-51352816 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-03 20:01:57,030 - DEBUG - Verifying the vn in opserver 2025-12-03 20:01:57,030 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21933055:ctest-vn-51352816 virtual network link through opserver 10.0.0.38 2025-12-03 20:01:57,030 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-03 20:01:57,339 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-03 20:01:57,430 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21933055:ctest-vn-51352816', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21933055:ctest-vn-51352816?flat'} 2025-12-03 20:01:57,430 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21933055:ctest-vn-51352816 is found in opserver 2025-12-03 20:01:57,450 - DEBUG - Do not have enough data to verify VN in agent 2025-12-03 20:01:57,456 - DEBUG - VRF ids for VN ctest-vn-51352816: {} 2025-12-03 20:01:57,456 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-03 20:01:57,467 - DEBUG - Requesting: http://10.0.0.38:8082/domain/915a2447-1660-402b-9d23-ed749ed9e3ab 2025-12-03 20:01:57,492 - DEBUG - Requesting: http://10.0.0.38:8082/project/be57d2da-2016-4a72-855d-30084d809411 2025-12-03 20:01:57,604 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3fd56c5d-afab-4cde-9096-ad4397ca325a 2025-12-03 20:01:57,631 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3fd56c5d-afab-4cde-9096-ad4397ca325a 2025-12-03 20:01:57,656 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2844c4ed-43d7-442c-9bd2-ff5c7aeddfb1 2025-12-03 20:01:57,670 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2844c4ed-43d7-442c-9bd2-ff5c7aeddfb1 2025-12-03 20:01:57,684 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8bbef91d-19c7-4882-b122-74efea25435e 2025-12-03 20:01:57,699 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-03 20:01:57,699 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3fd56c5d-afab-4cde-9096-ad4397ca325a 2025-12-03 20:01:57,718 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2844c4ed-43d7-442c-9bd2-ff5c7aeddfb1 2025-12-03 20:01:57,747 - INFO - Verified VN network id 12 for VN 3fd56c5d-afab-4cde-9096-ad4397ca325a 2025-12-03 20:01:57,747 - INFO - Verifications in API Server for VN ctest-vn-54927359 passed 2025-12-03 20:01:57,748 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3fd56c5d-afab-4cde-9096-ad4397ca325a 2025-12-03 20:01:57,768 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2844c4ed-43d7-442c-9bd2-ff5c7aeddfb1 2025-12-03 20:01:57,780 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2844c4ed-43d7-442c-9bd2-ff5c7aeddfb1 2025-12-03 20:01:57,789 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8bbef91d-19c7-4882-b122-74efea25435e 2025-12-03 20:01:57,806 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21933055:ctest-vn-54927359', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21933055', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4599701744063827166', 'uuid-lslong': '10418705293789246042'}, 'enable': 'true', 'created': '2025-12-03T20:01:54', 'last-modified': '2025-12-03T20:01:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.924899'} 2025-12-03 20:01:57,816 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-03 20:01:57,816 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54927359 passed 2025-12-03 20:01:57,816 - DEBUG - ====Verifying policy data for ctest-vn-54927359 in API_Server ====== 2025-12-03 20:01:57,816 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-03 20:01:57,826 - DEBUG - Requesting: http://10.0.0.38:8082/domain/915a2447-1660-402b-9d23-ed749ed9e3ab 2025-12-03 20:01:57,852 - DEBUG - Requesting: http://10.0.0.38:8082/project/be57d2da-2016-4a72-855d-30084d809411 2025-12-03 20:01:57,976 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3fd56c5d-afab-4cde-9096-ad4397ca325a 2025-12-03 20:01:57,996 - DEBUG - ==>Verifying data for policy with id: 8fe59c6f-d275-4dca-8109-5c31457d0024, fqn: ['default-domain', 'ctest-TestBasicPolicy-21933055', 'ctest-policy-allow-all-40130432'] 2025-12-03 20:01:57,996 - INFO - VN ctest-vn-54927359 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-03 20:01:57,996 - DEBUG - Verifying the vn in opserver 2025-12-03 20:01:57,996 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21933055:ctest-vn-54927359 virtual network link through opserver 10.0.0.38 2025-12-03 20:01:57,997 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-03 20:01:58,014 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21933055:ctest-vn-54927359', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21933055:ctest-vn-54927359?flat'} 2025-12-03 20:01:58,014 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21933055:ctest-vn-54927359 is found in opserver 2025-12-03 20:01:58,029 - DEBUG - Do not have enough data to verify VN in agent 2025-12-03 20:01:58,037 - DEBUG - VRF ids for VN ctest-vn-54927359: {} 2025-12-03 20:01:58,167 - DEBUG - Services list from nova: [, , ] 2025-12-03 20:01:59,740 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4835-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4835-1) 2025-12-03 20:02:01,326 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4835-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4835-1) 2025-12-03 20:02:01,326 - INFO - Waiting for VM ctest-TestBasicPolicy-21933055-87396719 to be up.. 2025-12-03 20:02:01,424 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-03 20:02:06,614 - DEBUG - VM is in ACTIVE state now 2025-12-03 20:02:06,615 - INFO - VM name : ctest-TestBasicPolicy-21933055-87396719 2025-12-03 20:02:06,713 - DEBUG - VM ctest-TestBasicPolicy-21933055-87396719 ID is 13be4b73-f180-4c07-9023-6cd25800ba9e 2025-12-03 20:02:06,731 - DEBUG - VM ctest-TestBasicPolicy-21933055-87396719 launched on Node cn-jenkins-deploy-platform-ansible-os-4835-1 2025-12-03 20:02:06,826 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/13be4b73-f180-4c07-9023-6cd25800ba9e 2025-12-03 20:02:06,839 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/84d6f397-12e9-4af0-b1f8-2209e4715dae 2025-12-03 20:02:10,147 - 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 1025ms') 2025-12-03 20:02:10,147 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21933055-87396719 failed! 2025-12-03 20:02:10,216 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-21933055:ctest-vn-51352816 is 190.19.145.1 and allocation pool is NOT set 2025-12-03 20:02:12,304 - 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=18.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.730 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 = 0.730/9.760/18.790/9.030 ms') 2025-12-03 20:02:12,305 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21933055-87396719 passed 2025-12-03 20:02:12,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 20:02:12,486 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21933055-87396719, IP 190.19.145.3, Port 22 2025-12-03 20:02:12,564 - 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-03 20:02:12,733 - DEBUG - VM ctest-TestBasicPolicy-21933055-87396719 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-03 20:02:17,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 20:02:17,734 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21933055-87396719, IP 190.19.145.3, Port 22 2025-12-03 20:02:17,926 - DEBUG - VM ctest-TestBasicPolicy-21933055-87396719 is ready for SSH connections 2025-12-03 20:02:17,927 - INFO - Waiting for VM ctest-TestBasicPolicy-21933055-22612234 to be up.. 2025-12-03 20:02:18,036 - DEBUG - VM is in ACTIVE state now 2025-12-03 20:02:18,037 - INFO - VM name : ctest-TestBasicPolicy-21933055-22612234 2025-12-03 20:02:18,131 - DEBUG - VM ctest-TestBasicPolicy-21933055-22612234 ID is 3b74acbd-d4f1-4c77-974b-9c1b6b025bed 2025-12-03 20:02:18,131 - DEBUG - VM ctest-TestBasicPolicy-21933055-22612234 launched on Node cn-jenkins-deploy-platform-ansible-os-4835-1 2025-12-03 20:02:18,235 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3b74acbd-d4f1-4c77-974b-9c1b6b025bed 2025-12-03 20:02:18,251 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/aefd4e5d-0897-4ebd-bdbc-458ea80bc51a 2025-12-03 20:02:19,538 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.751 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.751/3.280/5.809/2.529 ms') 2025-12-03 20:02:19,538 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-21933055-22612234 passed 2025-12-03 20:02:19,725 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 20:02:19,725 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21933055-22612234, IP 163.163.176.3, Port 22 2025-12-03 20:02:19,930 - DEBUG - VM ctest-TestBasicPolicy-21933055-22612234 is ready for SSH connections 2025-12-03 20:02:19,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 20:02:19,931 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.163.176.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-03 20:02:19,931 - DEBUG - ping -s 56 -c 3 -W 1 163.163.176.3 2025-12-03 20:02:24,339 - DEBUG - PING 163.163.176.3 (163.163.176.3): 56 data bytes 64 bytes from 163.163.176.3: seq=0 ttl=63 time=4.368 ms 64 bytes from 163.163.176.3: seq=1 ttl=63 time=1.618 ms 64 bytes from 163.163.176.3: seq=2 ttl=63 time=2.141 ms --- 163.163.176.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.618/2.709/4.368 ms 2025-12-03 20:02:24,339 - INFO - Ping to IP 163.163.176.3 from VM ctest-TestBasicPolicy-21933055-87396719 passed 2025-12-03 20:02:24,600 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8fe59c6f-d275-4dca-8109-5c31457d0024", "href": "http://10.0.0.38:8082/network-policy/8fe59c6f-d275-4dca-8109-5c31457d0024"}} 2025-12-03 20:02:24,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 20:02:24,600 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.163.176.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-03 20:02:24,600 - DEBUG - ping -s 56 -c 3 -W 1 163.163.176.3 2025-12-03 20:02:27,875 - DEBUG - PING 163.163.176.3 (163.163.176.3): 56 data bytes 64 bytes from 163.163.176.3: seq=0 ttl=63 time=2.781 ms --- 163.163.176.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.781/2.781/2.781 ms 2025-12-03 20:02:27,876 - WARNING - Ping to IP 163.163.176.3 from VM ctest-TestBasicPolicy-21933055-87396719 failed 2025-12-03 20:02:27,876 - INFO - Deleting VM ctest-TestBasicPolicy-21933055-22612234 2025-12-03 20:02:28,069 - INFO - Deleting VM ctest-TestBasicPolicy-21933055-87396719 2025-12-03 20:02:28,704 - INFO - Deleted policy ctest-policy-allow-all-40130432 2025-12-03 20:02:28,704 - INFO - Deleting VN ctest-vn-54927359 2025-12-03 20:02:28,743 - DEBUG - VN 3fd56c5d-afab-4cde-9096-ad4397ca325a still in use: Unable to complete operation on network 3fd56c5d-afab-4cde-9096-ad4397ca325a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e2a6f28f-5be6-4a7e-9b5d-5db4a90c6d45'] 2025-12-03 20:02:28,743 - WARNING - Deleting VN ctest-vn-54927359 failed..Will retry 2025-12-03 20:02:30,977 - DEBUG - Response for deleting network () 2025-12-03 20:02:30,977 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2844c4ed-43d7-442c-9bd2-ff5c7aeddfb1 2025-12-03 20:02:30,985 - DEBUG - Response Code: 404 2025-12-03 20:02:30,985 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-03 20:02:30,991 - DEBUG - Requesting: http://10.0.0.38:8082/domain/915a2447-1660-402b-9d23-ed749ed9e3ab 2025-12-03 20:02:31,059 - DEBUG - Requesting: http://10.0.0.38:8082/project/be57d2da-2016-4a72-855d-30084d809411 2025-12-03 20:02:31,165 - INFO - Validated that VN ctest-vn-54927359 is not found in API Server 2025-12-03 20:02:31,185 - DEBUG - VN ctest-vn-54927359 is not present in Agent 10.0.0.38 2025-12-03 20:02:31,185 - INFO - Validated that VN ctest-vn-54927359 is not in any agent 2025-12-03 20:02:31,221 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54927359 info 2025-12-03 20:02:31,221 - INFO - Deleting VN ctest-vn-51352816 2025-12-03 20:02:31,410 - DEBUG - Response for deleting network () 2025-12-03 20:02:31,410 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f47a9015-d5cd-4853-9fd1-1dce6327b445 2025-12-03 20:02:31,421 - DEBUG - Response Code: 404 2025-12-03 20:02:31,421 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-03 20:02:31,428 - DEBUG - Requesting: http://10.0.0.38:8082/domain/915a2447-1660-402b-9d23-ed749ed9e3ab 2025-12-03 20:02:31,484 - DEBUG - Requesting: http://10.0.0.38:8082/project/be57d2da-2016-4a72-855d-30084d809411 2025-12-03 20:02:31,594 - INFO - Validated that VN ctest-vn-51352816 is not found in API Server 2025-12-03 20:02:31,610 - DEBUG - VN ctest-vn-51352816 is not present in Agent 10.0.0.38 2025-12-03 20:02:31,610 - INFO - Validated that VN ctest-vn-51352816 is not in any agent 2025-12-03 20:02:31,637 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51352816 info 2025-12-03 20:02:31,962 - DEBUG - No XMPP flaps were noticed during the test 2025-12-03 20:02:31,962 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39] 2025-12-03 20:02:31,962 - INFO - -------------------------------------------------------------------------------- 2025-12-03 20:02:32,837 - INFO - Deleted project: ctest-TestBasicPolicy-21933055, ID : be57d2da-2016-4a72-855d-30084d809411