2026-05-29 15:06:56,919 - INFO - Domain Default found not creating 2026-05-29 15:06:57,134 - INFO - Project ctest-TestBasicPolicy-37547074 not found, creating it 2026-05-29 15:06:57,633 - INFO - Created Project:ctest-TestBasicPolicy-37547074, ID : d8fb9797-6935-421c-9360-93cb22211097 2026-05-29 15:06:59,186 - INFO - ================================================================================ 2026-05-29 15:06:59,186 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-29 15:06:59,186 - 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-05-29 15:06:59,444 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-05-29 15:06:59,444 - INFO - Initial checks done. Running the testcase now 2026-05-29 15:06:59,444 - INFO - 2026-05-29 15:06:59,987 - DEBUG - Response for create_network : {'network': {'id': 'a83000e7-b843-4761-af8b-75c4990bcfe9', 'name': 'ctest-vn-73695227', 'tenant_id': 'd8fb97976935421c936093cb22211097', 'project_id': 'd8fb97976935421c936093cb22211097', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37547074', 'ctest-vn-73695227'], 'port_security_enabled': True, 'description': ''}} 2026-05-29 15:07:00,161 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd88d67a5-875a-4d2e-85a1-b8a50afcd916', 'name': '', 'tenant_id': 'd8fb97976935421c936093cb22211097', 'network_id': 'a83000e7-b843-4761-af8b-75c4990bcfe9', 'ip_version': 4, 'cidr': '167.63.94.192/26', 'allocation_pools': [{'start': '167.63.94.194', 'end': '167.63.94.254'}], 'gateway_ip': '167.63.94.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.63.94.194', 'tags': [], 'project_id': 'd8fb97976935421c936093cb22211097'}} 2026-05-29 15:07:00,178 - INFO - Created VN ctest-vn-73695227 2026-05-29 15:07:00,229 - DEBUG - VN ctest-vn-73695227 UUID is a83000e7-b843-4761-af8b-75c4990bcfe9 2026-05-29 15:07:00,520 - DEBUG - Response for create_network : {'network': {'id': '76cfe2ab-6338-4f2f-b3ea-da514a741ba2', 'name': 'ctest-vn-12445417', 'tenant_id': 'd8fb97976935421c936093cb22211097', 'project_id': 'd8fb97976935421c936093cb22211097', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37547074', 'ctest-vn-12445417'], 'port_security_enabled': True, 'description': ''}} 2026-05-29 15:07:00,725 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f743af4-4bc8-4af3-bdff-ee717cbe5103', 'name': '', 'tenant_id': 'd8fb97976935421c936093cb22211097', 'network_id': '76cfe2ab-6338-4f2f-b3ea-da514a741ba2', 'ip_version': 4, 'cidr': '46.171.196.128/26', 'allocation_pools': [{'start': '46.171.196.130', 'end': '46.171.196.190'}], 'gateway_ip': '46.171.196.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.171.196.130', 'tags': [], 'project_id': 'd8fb97976935421c936093cb22211097'}} 2026-05-29 15:07:00,747 - INFO - Created VN ctest-vn-12445417 2026-05-29 15:07:00,801 - DEBUG - VN ctest-vn-12445417 UUID is 76cfe2ab-6338-4f2f-b3ea-da514a741ba2 2026-05-29 15:07:00,913 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-37547074:ctest-vn-73695227, 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-37547074:ctest-vn-12445417, 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-05-29 15:07:01,209 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a83000e7-b843-4761-af8b-75c4990bcfe9', 'name': 'ctest-vn-73695227', 'tenant_id': 'd8fb97976935421c936093cb22211097', 'project_id': 'd8fb97976935421c936093cb22211097', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d88d67a5-875a-4d2e-85a1-b8a50afcd916'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37547074', 'ctest-vn-73695227'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37547074', 'ctest-policy-allow-all-17483366']], 'subnet_ipam': [{'subnet_cidr': '167.63.94.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-29 15:07:01,467 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '76cfe2ab-6338-4f2f-b3ea-da514a741ba2', 'name': 'ctest-vn-12445417', 'tenant_id': 'd8fb97976935421c936093cb22211097', 'project_id': 'd8fb97976935421c936093cb22211097', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1f743af4-4bc8-4af3-bdff-ee717cbe5103'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37547074', 'ctest-vn-12445417'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37547074', 'ctest-policy-allow-all-17483366']], 'subnet_ipam': [{'subnet_cidr': '46.171.196.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-29 15:07:01,637 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-05-29 15:07:01,931 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-05-29 15:07:01,967 - DEBUG - Requesting: http://10.0.0.33:8082/domain/b78934c7-cc6b-44b5-bafa-a67d44955569 2026-05-29 15:07:01,981 - DEBUG - Requesting: http://10.0.0.33:8082/project/d8fb9797-6935-421c-9360-93cb22211097 2026-05-29 15:07:02,055 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a83000e7-b843-4761-af8b-75c4990bcfe9 2026-05-29 15:07:02,068 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a83000e7-b843-4761-af8b-75c4990bcfe9 2026-05-29 15:07:02,079 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f6882707-13da-4800-959e-df0783f5ecc2 2026-05-29 15:07:02,088 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f6882707-13da-4800-959e-df0783f5ecc2 2026-05-29 15:07:02,097 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/8d60519f-3d6a-43a7-a13f-1fdacfd6ba82 2026-05-29 15:07:02,104 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-29 15:07:02,105 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a83000e7-b843-4761-af8b-75c4990bcfe9 2026-05-29 15:07:02,115 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f6882707-13da-4800-959e-df0783f5ecc2 2026-05-29 15:07:02,132 - INFO - Verified VN network id 11 for VN a83000e7-b843-4761-af8b-75c4990bcfe9 2026-05-29 15:07:02,132 - INFO - Verifications in API Server for VN ctest-vn-73695227 passed 2026-05-29 15:07:02,132 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a83000e7-b843-4761-af8b-75c4990bcfe9 2026-05-29 15:07:02,143 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f6882707-13da-4800-959e-df0783f5ecc2 2026-05-29 15:07:02,156 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f6882707-13da-4800-959e-df0783f5ecc2 2026-05-29 15:07:02,165 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/8d60519f-3d6a-43a7-a13f-1fdacfd6ba82 2026-05-29 15:07:02,180 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37547074:ctest-vn-73695227', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37547074', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12119187592482867041', 'uuid-lslong': '12649333465641897961'}, 'enable': 'true', 'created': '2026-05-29T15:06:59', 'last-modified': '2026-05-29T15:07:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.991165'} 2026-05-29 15:07:02,187 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-29 15:07:02,187 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73695227 passed 2026-05-29 15:07:02,187 - DEBUG - ====Verifying policy data for ctest-vn-73695227 in API_Server ====== 2026-05-29 15:07:02,187 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-05-29 15:07:02,195 - DEBUG - Requesting: http://10.0.0.33:8082/domain/b78934c7-cc6b-44b5-bafa-a67d44955569 2026-05-29 15:07:02,210 - DEBUG - Requesting: http://10.0.0.33:8082/project/d8fb9797-6935-421c-9360-93cb22211097 2026-05-29 15:07:02,285 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a83000e7-b843-4761-af8b-75c4990bcfe9 2026-05-29 15:07:02,295 - DEBUG - ==>Verifying data for policy with id: 9ad5115b-5599-456b-b1f2-3a0678d50b6a, fqn: ['default-domain', 'ctest-TestBasicPolicy-37547074', 'ctest-policy-allow-all-17483366'] 2026-05-29 15:07:02,295 - INFO - VN ctest-vn-73695227 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-29 15:07:02,295 - DEBUG - Verifying the vn in opserver 2026-05-29 15:07:02,295 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37547074:ctest-vn-73695227 virtual network link through opserver 10.0.0.33 2026-05-29 15:07:02,296 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-05-29 15:07:02,588 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-05-29 15:07:02,647 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37547074:ctest-vn-73695227', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37547074:ctest-vn-73695227?flat'} 2026-05-29 15:07:02,647 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37547074:ctest-vn-73695227 is found in opserver 2026-05-29 15:07:02,658 - DEBUG - Do not have enough data to verify VN in agent 2026-05-29 15:07:02,662 - DEBUG - VRF ids for VN ctest-vn-73695227: {} 2026-05-29 15:07:02,662 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-05-29 15:07:02,667 - DEBUG - Requesting: http://10.0.0.33:8082/domain/b78934c7-cc6b-44b5-bafa-a67d44955569 2026-05-29 15:07:02,678 - DEBUG - Requesting: http://10.0.0.33:8082/project/d8fb9797-6935-421c-9360-93cb22211097 2026-05-29 15:07:02,747 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/76cfe2ab-6338-4f2f-b3ea-da514a741ba2 2026-05-29 15:07:02,758 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/76cfe2ab-6338-4f2f-b3ea-da514a741ba2 2026-05-29 15:07:02,769 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/aa74bc1b-00b8-4185-bf54-6ccde3de4fc2 2026-05-29 15:07:02,777 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/aa74bc1b-00b8-4185-bf54-6ccde3de4fc2 2026-05-29 15:07:02,784 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/421b302f-8a1c-4795-a4db-9378dbd3b1db 2026-05-29 15:07:02,791 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-29 15:07:02,791 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/76cfe2ab-6338-4f2f-b3ea-da514a741ba2 2026-05-29 15:07:02,801 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/aa74bc1b-00b8-4185-bf54-6ccde3de4fc2 2026-05-29 15:07:02,817 - INFO - Verified VN network id 12 for VN 76cfe2ab-6338-4f2f-b3ea-da514a741ba2 2026-05-29 15:07:02,817 - INFO - Verifications in API Server for VN ctest-vn-12445417 passed 2026-05-29 15:07:02,817 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/76cfe2ab-6338-4f2f-b3ea-da514a741ba2 2026-05-29 15:07:02,828 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/aa74bc1b-00b8-4185-bf54-6ccde3de4fc2 2026-05-29 15:07:02,835 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/aa74bc1b-00b8-4185-bf54-6ccde3de4fc2 2026-05-29 15:07:02,844 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/421b302f-8a1c-4795-a4db-9378dbd3b1db 2026-05-29 15:07:02,856 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37547074:ctest-vn-12445417', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37547074', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8561310642386521903', 'uuid-lslong': '12964414520015723426'}, 'enable': 'true', 'created': '2026-05-29T15:07:00', 'last-modified': '2026-05-29T15:07:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.439175'} 2026-05-29 15:07:02,862 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-29 15:07:02,862 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12445417 passed 2026-05-29 15:07:02,862 - DEBUG - ====Verifying policy data for ctest-vn-12445417 in API_Server ====== 2026-05-29 15:07:02,862 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-05-29 15:07:02,868 - DEBUG - Requesting: http://10.0.0.33:8082/domain/b78934c7-cc6b-44b5-bafa-a67d44955569 2026-05-29 15:07:02,879 - DEBUG - Requesting: http://10.0.0.33:8082/project/d8fb9797-6935-421c-9360-93cb22211097 2026-05-29 15:07:02,953 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/76cfe2ab-6338-4f2f-b3ea-da514a741ba2 2026-05-29 15:07:02,962 - DEBUG - ==>Verifying data for policy with id: 9ad5115b-5599-456b-b1f2-3a0678d50b6a, fqn: ['default-domain', 'ctest-TestBasicPolicy-37547074', 'ctest-policy-allow-all-17483366'] 2026-05-29 15:07:02,962 - INFO - VN ctest-vn-12445417 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-29 15:07:02,962 - DEBUG - Verifying the vn in opserver 2026-05-29 15:07:02,962 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37547074:ctest-vn-12445417 virtual network link through opserver 10.0.0.33 2026-05-29 15:07:02,963 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-05-29 15:07:02,973 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37547074:ctest-vn-12445417', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37547074:ctest-vn-12445417?flat'} 2026-05-29 15:07:02,973 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37547074:ctest-vn-12445417 is found in opserver 2026-05-29 15:07:02,982 - DEBUG - Do not have enough data to verify VN in agent 2026-05-29 15:07:02,987 - DEBUG - VRF ids for VN ctest-vn-12445417: {} 2026-05-29 15:07:03,044 - DEBUG - Services list from nova: [, , ] 2026-05-29 15:07:04,108 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5851-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5851-1) 2026-05-29 15:07:05,265 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5851-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5851-1) 2026-05-29 15:07:05,265 - INFO - Waiting for VM ctest-TestBasicPolicy-37547074-25318646 to be up.. 2026-05-29 15:07:05,373 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-29 15:07:10,466 - DEBUG - VM is in ACTIVE state now 2026-05-29 15:07:10,466 - INFO - VM name : ctest-TestBasicPolicy-37547074-25318646 2026-05-29 15:07:10,554 - DEBUG - VM ctest-TestBasicPolicy-37547074-25318646 ID is 0368d13b-56ee-4dbb-8ed5-a1db5d27f448 2026-05-29 15:07:10,581 - DEBUG - VM ctest-TestBasicPolicy-37547074-25318646 launched on Node cn-jenkins-deploy-platform-ansible-os-5851-1 2026-05-29 15:07:10,676 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0368d13b-56ee-4dbb-8ed5-a1db5d27f448 2026-05-29 15:07:10,686 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b4bdf702-f6ad-4723-850f-721b73c8395b 2026-05-29 15:07:13,951 - 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 1017ms') 2026-05-29 15:07:13,951 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37547074-25318646 failed! 2026-05-29 15:07:14,009 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-37547074:ctest-vn-73695227 is 167.63.94.193 and allocation pool is NOT set 2026-05-29 15:07:16,068 - 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=9.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.25 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 = 2.248/5.765/9.282/3.517 ms') 2026-05-29 15:07:16,068 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37547074-25318646 passed 2026-05-29 15:07:16,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-29 15:07:16,225 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37547074-25318646, IP 167.63.94.195, Port 22 2026-05-29 15:07:16,291 - 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-05-29 15:07:16,375 - DEBUG - VM ctest-TestBasicPolicy-37547074-25318646 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-29 15:07:21,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-29 15:07:21,377 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37547074-25318646, IP 167.63.94.195, Port 22 2026-05-29 15:07:21,533 - DEBUG - VM ctest-TestBasicPolicy-37547074-25318646 is ready for SSH connections 2026-05-29 15:07:21,533 - INFO - Waiting for VM ctest-TestBasicPolicy-37547074-23203854 to be up.. 2026-05-29 15:07:21,618 - DEBUG - VM is in ACTIVE state now 2026-05-29 15:07:21,618 - INFO - VM name : ctest-TestBasicPolicy-37547074-23203854 2026-05-29 15:07:21,704 - DEBUG - VM ctest-TestBasicPolicy-37547074-23203854 ID is babd6998-c5ce-49b3-9bf5-7f810ebb5adf 2026-05-29 15:07:21,704 - DEBUG - VM ctest-TestBasicPolicy-37547074-23203854 launched on Node cn-jenkins-deploy-platform-ansible-os-5851-1 2026-05-29 15:07:21,788 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/babd6998-c5ce-49b3-9bf5-7f810ebb5adf 2026-05-29 15:07:21,797 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/3982f43b-b79f-4469-8143-fb0d314f5769 2026-05-29 15:07:23,033 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.559 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.559/1.865/3.171/1.306 ms') 2026-05-29 15:07:23,033 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-37547074-23203854 passed 2026-05-29 15:07:23,185 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-29 15:07:23,185 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37547074-23203854, IP 46.171.196.131, Port 22 2026-05-29 15:07:23,351 - DEBUG - VM ctest-TestBasicPolicy-37547074-23203854 is ready for SSH connections 2026-05-29 15:07:23,351 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-29 15:07:23,351 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.171.196.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-05-29 15:07:23,351 - DEBUG - ping -s 56 -c 3 -W 1 46.171.196.131 2026-05-29 15:07:27,450 - DEBUG - PING 46.171.196.131 (46.171.196.131): 56 data bytes 64 bytes from 46.171.196.131: seq=0 ttl=63 time=4.027 ms 64 bytes from 46.171.196.131: seq=1 ttl=63 time=1.237 ms 64 bytes from 46.171.196.131: seq=2 ttl=63 time=0.963 ms --- 46.171.196.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.963/2.075/4.027 ms 2026-05-29 15:07:27,451 - INFO - Ping to IP 46.171.196.131 from VM ctest-TestBasicPolicy-37547074-25318646 passed 2026-05-29 15:07:27,624 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9ad5115b-5599-456b-b1f2-3a0678d50b6a", "href": "http://10.0.0.33:8082/network-policy/9ad5115b-5599-456b-b1f2-3a0678d50b6a"}} 2026-05-29 15:07:27,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-29 15:07:27,625 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.171.196.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-05-29 15:07:27,625 - DEBUG - ping -s 56 -c 3 -W 1 46.171.196.131 2026-05-29 15:07:30,880 - DEBUG - PING 46.171.196.131 (46.171.196.131): 56 data bytes --- 46.171.196.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-29 15:07:30,880 - WARNING - Ping to IP 46.171.196.131 from VM ctest-TestBasicPolicy-37547074-25318646 failed 2026-05-29 15:07:30,880 - INFO - Deleting VM ctest-TestBasicPolicy-37547074-23203854 2026-05-29 15:07:30,956 - INFO - Deleting VM ctest-TestBasicPolicy-37547074-25318646 2026-05-29 15:07:31,356 - INFO - Deleted policy ctest-policy-allow-all-17483366 2026-05-29 15:07:31,356 - INFO - Deleting VN ctest-vn-12445417 2026-05-29 15:07:31,398 - DEBUG - VN 76cfe2ab-6338-4f2f-b3ea-da514a741ba2 still in use: Unable to complete operation on network 76cfe2ab-6338-4f2f-b3ea-da514a741ba2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-43edc2bd-726e-4266-97c4-61c6a2d64c73'] 2026-05-29 15:07:31,398 - WARNING - Deleting VN ctest-vn-12445417 failed..Will retry 2026-05-29 15:07:33,517 - DEBUG - Response for deleting network () 2026-05-29 15:07:33,518 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/aa74bc1b-00b8-4185-bf54-6ccde3de4fc2 2026-05-29 15:07:33,523 - DEBUG - Response Code: 404 2026-05-29 15:07:33,524 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-05-29 15:07:33,529 - DEBUG - Requesting: http://10.0.0.33:8082/domain/b78934c7-cc6b-44b5-bafa-a67d44955569 2026-05-29 15:07:33,583 - DEBUG - Requesting: http://10.0.0.33:8082/project/d8fb9797-6935-421c-9360-93cb22211097 2026-05-29 15:07:33,652 - INFO - Validated that VN ctest-vn-12445417 is not found in API Server 2026-05-29 15:07:33,662 - DEBUG - VN ctest-vn-12445417 is not present in Agent 10.0.0.33 2026-05-29 15:07:33,662 - INFO - Validated that VN ctest-vn-12445417 is not in any agent 2026-05-29 15:07:33,675 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12445417 info 2026-05-29 15:07:33,675 - INFO - Deleting VN ctest-vn-73695227 2026-05-29 15:07:33,782 - DEBUG - Response for deleting network () 2026-05-29 15:07:33,782 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f6882707-13da-4800-959e-df0783f5ecc2 2026-05-29 15:07:33,794 - DEBUG - Response Code: 404 2026-05-29 15:07:33,794 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-05-29 15:07:33,801 - DEBUG - Requesting: http://10.0.0.33:8082/domain/b78934c7-cc6b-44b5-bafa-a67d44955569 2026-05-29 15:07:33,857 - DEBUG - Requesting: http://10.0.0.33:8082/project/d8fb9797-6935-421c-9360-93cb22211097 2026-05-29 15:07:33,933 - INFO - Validated that VN ctest-vn-73695227 is not found in API Server 2026-05-29 15:07:33,944 - DEBUG - VN ctest-vn-73695227 is not present in Agent 10.0.0.33 2026-05-29 15:07:33,944 - INFO - Validated that VN ctest-vn-73695227 is not in any agent 2026-05-29 15:07:33,959 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73695227 info 2026-05-29 15:07:34,218 - DEBUG - No XMPP flaps were noticed during the test
2026-05-29 15:07:34,218 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-05-29 15:07:34,218 - INFO - -------------------------------------------------------------------------------- 2026-05-29 15:07:34,914 - INFO - Deleted project: ctest-TestBasicPolicy-37547074, ID : d8fb9797-6935-421c-9360-93cb22211097