2025-10-22 06:22:44,516 - INFO - Domain Default found not creating 2025-10-22 06:22:44,687 - INFO - Project ctest-TestBasicPolicy-84347877 not found, creating it 2025-10-22 06:22:45,171 - INFO - Created Project:ctest-TestBasicPolicy-84347877, ID : 023af9eb-7e37-4b6e-9b20-522148b81e20 2025-10-22 06:22:46,715 - INFO - ================================================================================ 2025-10-22 06:22:46,715 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-22 06:22:46,715 - 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-10-22 06:22:46,969 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-10-22 06:22:46,969 - INFO - Initial checks done. Running the testcase now 2025-10-22 06:22:46,969 - INFO - 2025-10-22 06:22:47,540 - DEBUG - Response for create_network : {'network': {'id': '130829ad-0dfc-4e9d-a614-099b5e0980de', 'name': 'ctest-vn-83948595', 'tenant_id': '023af9eb7e374b6e9b20522148b81e20', 'project_id': '023af9eb7e374b6e9b20522148b81e20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84347877', 'ctest-vn-83948595'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 06:22:47,761 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7c6ece2-fa32-4346-a935-e746298ca532', 'name': '', 'tenant_id': '023af9eb7e374b6e9b20522148b81e20', 'network_id': '130829ad-0dfc-4e9d-a614-099b5e0980de', 'ip_version': 4, 'cidr': '143.39.184.192/26', 'allocation_pools': [{'start': '143.39.184.194', 'end': '143.39.184.254'}], 'gateway_ip': '143.39.184.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.39.184.194', 'tags': [], 'project_id': '023af9eb7e374b6e9b20522148b81e20'}} 2025-10-22 06:22:47,780 - INFO - Created VN ctest-vn-83948595 2025-10-22 06:22:47,832 - DEBUG - VN ctest-vn-83948595 UUID is 130829ad-0dfc-4e9d-a614-099b5e0980de 2025-10-22 06:22:48,132 - DEBUG - Response for create_network : {'network': {'id': '2a9e1d41-cf33-419d-9d17-98255cf03d07', 'name': 'ctest-vn-27763114', 'tenant_id': '023af9eb7e374b6e9b20522148b81e20', 'project_id': '023af9eb7e374b6e9b20522148b81e20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84347877', 'ctest-vn-27763114'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 06:22:48,300 - DEBUG - Response for create_subnet : {'subnet': {'id': '294c6f15-c3bd-426c-899c-0393dca3be9e', 'name': '', 'tenant_id': '023af9eb7e374b6e9b20522148b81e20', 'network_id': '2a9e1d41-cf33-419d-9d17-98255cf03d07', 'ip_version': 4, 'cidr': '18.90.149.64/26', 'allocation_pools': [{'start': '18.90.149.66', 'end': '18.90.149.126'}], 'gateway_ip': '18.90.149.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.90.149.66', 'tags': [], 'project_id': '023af9eb7e374b6e9b20522148b81e20'}} 2025-10-22 06:22:48,322 - INFO - Created VN ctest-vn-27763114 2025-10-22 06:22:48,375 - DEBUG - VN ctest-vn-27763114 UUID is 2a9e1d41-cf33-419d-9d17-98255cf03d07 2025-10-22 06:22:48,490 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-84347877:ctest-vn-83948595, 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-84347877:ctest-vn-27763114, 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-10-22 06:22:48,793 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '130829ad-0dfc-4e9d-a614-099b5e0980de', 'name': 'ctest-vn-83948595', 'tenant_id': '023af9eb7e374b6e9b20522148b81e20', 'project_id': '023af9eb7e374b6e9b20522148b81e20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f7c6ece2-fa32-4346-a935-e746298ca532'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84347877', 'ctest-vn-83948595'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84347877', 'ctest-policy-allow-all-81453306']], 'subnet_ipam': [{'subnet_cidr': '143.39.184.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 06:22:49,028 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2a9e1d41-cf33-419d-9d17-98255cf03d07', 'name': 'ctest-vn-27763114', 'tenant_id': '023af9eb7e374b6e9b20522148b81e20', 'project_id': '023af9eb7e374b6e9b20522148b81e20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['294c6f15-c3bd-426c-899c-0393dca3be9e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84347877', 'ctest-vn-27763114'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84347877', 'ctest-policy-allow-all-81453306']], 'subnet_ipam': [{'subnet_cidr': '18.90.149.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 06:22:49,187 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-22 06:22:49,488 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-22 06:22:49,526 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d1b7ce6f-4b84-4801-940d-30d8754f79ef 2025-10-22 06:22:49,538 - DEBUG - Requesting: http://10.0.0.38:8082/project/023af9eb-7e37-4b6e-9b20-522148b81e20 2025-10-22 06:22:49,613 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/130829ad-0dfc-4e9d-a614-099b5e0980de 2025-10-22 06:22:49,625 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/130829ad-0dfc-4e9d-a614-099b5e0980de 2025-10-22 06:22:49,635 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eeb5d55c-a1cf-4ab6-8a0f-e5c4ee03ea2a 2025-10-22 06:22:49,642 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eeb5d55c-a1cf-4ab6-8a0f-e5c4ee03ea2a 2025-10-22 06:22:49,649 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/817d4a3b-a4c2-4907-9796-cbde96ca1fa0 2025-10-22 06:22:49,656 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 06:22:49,656 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/130829ad-0dfc-4e9d-a614-099b5e0980de 2025-10-22 06:22:49,665 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eeb5d55c-a1cf-4ab6-8a0f-e5c4ee03ea2a 2025-10-22 06:22:49,680 - INFO - Verified VN network id 11 for VN 130829ad-0dfc-4e9d-a614-099b5e0980de 2025-10-22 06:22:49,680 - INFO - Verifications in API Server for VN ctest-vn-83948595 passed 2025-10-22 06:22:49,681 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/130829ad-0dfc-4e9d-a614-099b5e0980de 2025-10-22 06:22:49,690 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eeb5d55c-a1cf-4ab6-8a0f-e5c4ee03ea2a 2025-10-22 06:22:49,697 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eeb5d55c-a1cf-4ab6-8a0f-e5c4ee03ea2a 2025-10-22 06:22:49,704 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/817d4a3b-a4c2-4907-9796-cbde96ca1fa0 2025-10-22 06:22:49,717 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84347877:ctest-vn-83948595', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84347877', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1371391909775036061', 'uuid-lslong': '11967200672732512478'}, 'enable': 'true', 'created': '2025-10-22T06:22:47', 'last-modified': '2025-10-22T06:22:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.945233'} 2025-10-22 06:22:49,724 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 06:22:49,725 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83948595 passed 2025-10-22 06:22:49,725 - DEBUG - ====Verifying policy data for ctest-vn-83948595 in API_Server ====== 2025-10-22 06:22:49,725 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-22 06:22:49,731 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d1b7ce6f-4b84-4801-940d-30d8754f79ef 2025-10-22 06:22:49,743 - DEBUG - Requesting: http://10.0.0.38:8082/project/023af9eb-7e37-4b6e-9b20-522148b81e20 2025-10-22 06:22:49,817 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/130829ad-0dfc-4e9d-a614-099b5e0980de 2025-10-22 06:22:49,826 - DEBUG - ==>Verifying data for policy with id: cb1b156f-24e1-4593-895a-3ba10323aeb8, fqn: ['default-domain', 'ctest-TestBasicPolicy-84347877', 'ctest-policy-allow-all-81453306'] 2025-10-22 06:22:49,827 - INFO - VN ctest-vn-83948595 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 06:22:49,827 - DEBUG - Verifying the vn in opserver 2025-10-22 06:22:49,827 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84347877:ctest-vn-83948595 virtual network link through opserver 10.0.0.38 2025-10-22 06:22:49,827 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-22 06:22:50,128 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-22 06:22:50,190 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84347877:ctest-vn-83948595', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84347877:ctest-vn-83948595?flat'} 2025-10-22 06:22:50,190 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84347877:ctest-vn-83948595 is found in opserver 2025-10-22 06:22:50,201 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 06:22:50,208 - DEBUG - VRF ids for VN ctest-vn-83948595: {} 2025-10-22 06:22:50,208 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-22 06:22:50,215 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d1b7ce6f-4b84-4801-940d-30d8754f79ef 2025-10-22 06:22:50,228 - DEBUG - Requesting: http://10.0.0.38:8082/project/023af9eb-7e37-4b6e-9b20-522148b81e20 2025-10-22 06:22:50,296 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2a9e1d41-cf33-419d-9d17-98255cf03d07 2025-10-22 06:22:50,307 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2a9e1d41-cf33-419d-9d17-98255cf03d07 2025-10-22 06:22:50,318 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fceed915-794a-4f9a-971d-1399db8b4018 2025-10-22 06:22:50,327 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fceed915-794a-4f9a-971d-1399db8b4018 2025-10-22 06:22:50,335 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b9ec7263-6e8e-4af5-a1cb-b1c5fe08d8da 2025-10-22 06:22:50,343 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 06:22:50,344 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2a9e1d41-cf33-419d-9d17-98255cf03d07 2025-10-22 06:22:50,352 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fceed915-794a-4f9a-971d-1399db8b4018 2025-10-22 06:22:50,368 - INFO - Verified VN network id 12 for VN 2a9e1d41-cf33-419d-9d17-98255cf03d07 2025-10-22 06:22:50,369 - INFO - Verifications in API Server for VN ctest-vn-27763114 passed 2025-10-22 06:22:50,369 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2a9e1d41-cf33-419d-9d17-98255cf03d07 2025-10-22 06:22:50,378 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fceed915-794a-4f9a-971d-1399db8b4018 2025-10-22 06:22:50,386 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fceed915-794a-4f9a-971d-1399db8b4018 2025-10-22 06:22:50,393 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b9ec7263-6e8e-4af5-a1cb-b1c5fe08d8da 2025-10-22 06:22:50,407 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84347877:ctest-vn-27763114', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84347877', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3070924164399579549', 'uuid-lslong': '11319683474659491079'}, 'enable': 'true', 'created': '2025-10-22T06:22:48', 'last-modified': '2025-10-22T06:22:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.401645'} 2025-10-22 06:22:50,413 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 06:22:50,413 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27763114 passed 2025-10-22 06:22:50,413 - DEBUG - ====Verifying policy data for ctest-vn-27763114 in API_Server ====== 2025-10-22 06:22:50,413 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-22 06:22:50,420 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d1b7ce6f-4b84-4801-940d-30d8754f79ef 2025-10-22 06:22:50,432 - DEBUG - Requesting: http://10.0.0.38:8082/project/023af9eb-7e37-4b6e-9b20-522148b81e20 2025-10-22 06:22:50,504 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2a9e1d41-cf33-419d-9d17-98255cf03d07 2025-10-22 06:22:50,514 - DEBUG - ==>Verifying data for policy with id: cb1b156f-24e1-4593-895a-3ba10323aeb8, fqn: ['default-domain', 'ctest-TestBasicPolicy-84347877', 'ctest-policy-allow-all-81453306'] 2025-10-22 06:22:50,514 - INFO - VN ctest-vn-27763114 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 06:22:50,514 - DEBUG - Verifying the vn in opserver 2025-10-22 06:22:50,514 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84347877:ctest-vn-27763114 virtual network link through opserver 10.0.0.38 2025-10-22 06:22:50,514 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-22 06:22:50,525 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84347877:ctest-vn-27763114', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84347877:ctest-vn-27763114?flat'} 2025-10-22 06:22:50,525 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84347877:ctest-vn-27763114 is found in opserver 2025-10-22 06:22:50,535 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 06:22:50,541 - DEBUG - VRF ids for VN ctest-vn-27763114: {} 2025-10-22 06:22:50,604 - DEBUG - Services list from nova: [, , ] 2025-10-22 06:22:51,687 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4412-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4412-1) 2025-10-22 06:22:52,891 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4412-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4412-1) 2025-10-22 06:22:52,891 - INFO - Waiting for VM ctest-TestBasicPolicy-84347877-27361815 to be up.. 2025-10-22 06:22:52,987 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 06:22:58,073 - DEBUG - VM is in ACTIVE state now 2025-10-22 06:22:58,073 - INFO - VM name : ctest-TestBasicPolicy-84347877-27361815 2025-10-22 06:22:58,154 - DEBUG - VM ctest-TestBasicPolicy-84347877-27361815 ID is ef9ebff1-65cd-40d9-a394-3f3d2ca09870 2025-10-22 06:22:58,176 - DEBUG - VM ctest-TestBasicPolicy-84347877-27361815 launched on Node cn-jenkins-deploy-platform-ansible-os-4412-1 2025-10-22 06:22:58,255 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ef9ebff1-65cd-40d9-a394-3f3d2ca09870 2025-10-22 06:22:58,264 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e8289f5a-1d28-44c8-9cd9-68ec7733303b 2025-10-22 06:23:01,485 - 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-10-22 06:23:01,485 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84347877-27361815 failed! 2025-10-22 06:23:01,547 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-84347877:ctest-vn-83948595 is 143.39.184.193 and allocation pool is NOT set 2025-10-22 06:23:03,619 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.37 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.367/6.165/9.964/3.798 ms') 2025-10-22 06:23:03,619 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84347877-27361815 passed 2025-10-22 06:23:03,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:23:03,768 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84347877-27361815, IP 143.39.184.195, Port 22 2025-10-22 06:23:03,839 - 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-10-22 06:23:03,961 - DEBUG - VM ctest-TestBasicPolicy-84347877-27361815 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-22 06:23:08,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:23:08,963 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84347877-27361815, IP 143.39.184.195, Port 22 2025-10-22 06:23:09,131 - DEBUG - VM ctest-TestBasicPolicy-84347877-27361815 is ready for SSH connections 2025-10-22 06:23:09,131 - INFO - Waiting for VM ctest-TestBasicPolicy-84347877-93202878 to be up.. 2025-10-22 06:23:09,222 - DEBUG - VM is in ACTIVE state now 2025-10-22 06:23:09,222 - INFO - VM name : ctest-TestBasicPolicy-84347877-93202878 2025-10-22 06:23:09,312 - DEBUG - VM ctest-TestBasicPolicy-84347877-93202878 ID is 8733a5d1-2f5f-4aae-96bd-9bf6915593ee 2025-10-22 06:23:09,313 - DEBUG - VM ctest-TestBasicPolicy-84347877-93202878 launched on Node cn-jenkins-deploy-platform-ansible-os-4412-1 2025-10-22 06:23:09,395 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8733a5d1-2f5f-4aae-96bd-9bf6915593ee 2025-10-22 06:23:09,406 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/eb28237b-d0c8-41ce-a5af-ff6ec5c60ded 2025-10-22 06:23:10,645 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.459 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.459/1.688/2.918/1.229 ms') 2025-10-22 06:23:10,645 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-84347877-93202878 passed 2025-10-22 06:23:10,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:23:10,800 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84347877-93202878, IP 18.90.149.67, Port 22 2025-10-22 06:23:10,955 - DEBUG - VM ctest-TestBasicPolicy-84347877-93202878 is ready for SSH connections 2025-10-22 06:23:10,956 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:23:10,956 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.90.149.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-22 06:23:10,956 - DEBUG - ping -s 56 -c 3 -W 1 18.90.149.67 2025-10-22 06:23:15,072 - DEBUG - PING 18.90.149.67 (18.90.149.67): 56 data bytes 64 bytes from 18.90.149.67: seq=0 ttl=63 time=3.805 ms 64 bytes from 18.90.149.67: seq=1 ttl=63 time=1.456 ms 64 bytes from 18.90.149.67: seq=2 ttl=63 time=1.161 ms --- 18.90.149.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.161/2.140/3.805 ms 2025-10-22 06:23:15,072 - INFO - Ping to IP 18.90.149.67 from VM ctest-TestBasicPolicy-84347877-27361815 passed 2025-10-22 06:23:15,259 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cb1b156f-24e1-4593-895a-3ba10323aeb8", "href": "http://10.0.0.38:8082/network-policy/cb1b156f-24e1-4593-895a-3ba10323aeb8"}} 2025-10-22 06:23:15,260 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:23:15,260 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.90.149.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-22 06:23:15,260 - DEBUG - ping -s 56 -c 3 -W 1 18.90.149.67 2025-10-22 06:23:18,498 - DEBUG - PING 18.90.149.67 (18.90.149.67): 56 data bytes --- 18.90.149.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 06:23:18,498 - WARNING - Ping to IP 18.90.149.67 from VM ctest-TestBasicPolicy-84347877-27361815 failed 2025-10-22 06:23:18,498 - INFO - Deleting VM ctest-TestBasicPolicy-84347877-93202878 2025-10-22 06:23:18,576 - INFO - Deleting VM ctest-TestBasicPolicy-84347877-27361815 2025-10-22 06:23:18,970 - INFO - Deleted policy ctest-policy-allow-all-81453306 2025-10-22 06:23:18,970 - INFO - Deleting VN ctest-vn-27763114 2025-10-22 06:23:19,008 - DEBUG - VN 2a9e1d41-cf33-419d-9d17-98255cf03d07 still in use: Unable to complete operation on network 2a9e1d41-cf33-419d-9d17-98255cf03d07. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6eacd47e-a1b2-4ac8-9c68-61e74c24aa1c'] 2025-10-22 06:23:19,008 - WARNING - Deleting VN ctest-vn-27763114 failed..Will retry 2025-10-22 06:23:21,118 - DEBUG - Response for deleting network () 2025-10-22 06:23:21,118 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fceed915-794a-4f9a-971d-1399db8b4018 2025-10-22 06:23:21,123 - DEBUG - Response Code: 404 2025-10-22 06:23:21,123 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-22 06:23:21,131 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d1b7ce6f-4b84-4801-940d-30d8754f79ef 2025-10-22 06:23:21,188 - DEBUG - Requesting: http://10.0.0.38:8082/project/023af9eb-7e37-4b6e-9b20-522148b81e20 2025-10-22 06:23:21,266 - INFO - Validated that VN ctest-vn-27763114 is not found in API Server 2025-10-22 06:23:21,276 - DEBUG - VN ctest-vn-27763114 is not present in Agent 10.0.0.38 2025-10-22 06:23:21,276 - INFO - Validated that VN ctest-vn-27763114 is not in any agent 2025-10-22 06:23:21,294 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27763114 info 2025-10-22 06:23:21,295 - INFO - Deleting VN ctest-vn-83948595 2025-10-22 06:23:21,418 - DEBUG - Response for deleting network () 2025-10-22 06:23:21,418 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eeb5d55c-a1cf-4ab6-8a0f-e5c4ee03ea2a 2025-10-22 06:23:21,425 - DEBUG - Response Code: 404 2025-10-22 06:23:21,425 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-22 06:23:21,433 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d1b7ce6f-4b84-4801-940d-30d8754f79ef 2025-10-22 06:23:21,489 - DEBUG - Requesting: http://10.0.0.38:8082/project/023af9eb-7e37-4b6e-9b20-522148b81e20 2025-10-22 06:23:21,564 - INFO - Validated that VN ctest-vn-83948595 is not found in API Server 2025-10-22 06:23:21,577 - DEBUG - VN ctest-vn-83948595 is not present in Agent 10.0.0.38 2025-10-22 06:23:21,577 - INFO - Validated that VN ctest-vn-83948595 is not in any agent 2025-10-22 06:23:21,597 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83948595 info 2025-10-22 06:23:21,858 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 06:23:21,858 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-10-22 06:23:21,858 - INFO - -------------------------------------------------------------------------------- 2025-10-22 06:23:22,562 - INFO - Deleted project: ctest-TestBasicPolicy-84347877, ID : 023af9eb-7e37-4b6e-9b20-522148b81e20