2026-07-12 13:15:18,723 - INFO - Domain Default found not creating 2026-07-12 13:15:19,541 - INFO - Project ctest-TestBasicPolicy-49230126 not found, creating it 2026-07-12 13:15:19,997 - INFO - Created Project:ctest-TestBasicPolicy-49230126, ID : 8823b195-2c76-4638-9127-11307a8a1e1d 2026-07-12 13:15:21,500 - INFO - ================================================================================ 2026-07-12 13:15:21,500 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-12 13:15:21,500 - 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-07-12 13:15:21,778 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-07-12 13:15:21,778 - INFO - Initial checks done. Running the testcase now 2026-07-12 13:15:21,778 - INFO - 2026-07-12 13:15:22,359 - DEBUG - Response for create_network : {'network': {'id': '426681b4-b654-4232-8d20-1caf08dccc32', 'name': 'ctest-vn-67006836', 'tenant_id': '8823b1952c764638912711307a8a1e1d', 'project_id': '8823b1952c764638912711307a8a1e1d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49230126', 'ctest-vn-67006836'], 'port_security_enabled': True, 'description': ''}} 2026-07-12 13:15:22,573 - DEBUG - Response for create_subnet : {'subnet': {'id': '386a6446-4669-4859-a85f-1e10f4507dc3', 'name': '', 'tenant_id': '8823b1952c764638912711307a8a1e1d', 'network_id': '426681b4-b654-4232-8d20-1caf08dccc32', 'ip_version': 4, 'cidr': '130.254.169.128/26', 'allocation_pools': [{'start': '130.254.169.130', 'end': '130.254.169.190'}], 'gateway_ip': '130.254.169.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.254.169.130', 'tags': [], 'project_id': '8823b1952c764638912711307a8a1e1d'}} 2026-07-12 13:15:22,592 - INFO - Created VN ctest-vn-67006836 2026-07-12 13:15:22,646 - DEBUG - VN ctest-vn-67006836 UUID is 426681b4-b654-4232-8d20-1caf08dccc32 2026-07-12 13:15:22,925 - DEBUG - Response for create_network : {'network': {'id': '84bd78fb-c7fd-497e-b1f3-9cb9e61972a0', 'name': 'ctest-vn-70948824', 'tenant_id': '8823b1952c764638912711307a8a1e1d', 'project_id': '8823b1952c764638912711307a8a1e1d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49230126', 'ctest-vn-70948824'], 'port_security_enabled': True, 'description': ''}} 2026-07-12 13:15:23,105 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b192a7c2-e1cc-449f-9fa0-9afbc6a882db', 'name': '', 'tenant_id': '8823b1952c764638912711307a8a1e1d', 'network_id': '84bd78fb-c7fd-497e-b1f3-9cb9e61972a0', 'ip_version': 4, 'cidr': '17.104.178.192/26', 'allocation_pools': [{'start': '17.104.178.194', 'end': '17.104.178.254'}], 'gateway_ip': '17.104.178.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.104.178.194', 'tags': [], 'project_id': '8823b1952c764638912711307a8a1e1d'}} 2026-07-12 13:15:23,122 - INFO - Created VN ctest-vn-70948824 2026-07-12 13:15:23,174 - DEBUG - VN ctest-vn-70948824 UUID is 84bd78fb-c7fd-497e-b1f3-9cb9e61972a0 2026-07-12 13:15:23,288 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49230126:ctest-vn-67006836, 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-49230126:ctest-vn-70948824, 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-07-12 13:15:23,606 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '426681b4-b654-4232-8d20-1caf08dccc32', 'name': 'ctest-vn-67006836', 'tenant_id': '8823b1952c764638912711307a8a1e1d', 'project_id': '8823b1952c764638912711307a8a1e1d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['386a6446-4669-4859-a85f-1e10f4507dc3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49230126', 'ctest-vn-67006836'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49230126', 'ctest-policy-allow-all-52390437']], 'subnet_ipam': [{'subnet_cidr': '130.254.169.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-12 13:15:23,834 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '84bd78fb-c7fd-497e-b1f3-9cb9e61972a0', 'name': 'ctest-vn-70948824', 'tenant_id': '8823b1952c764638912711307a8a1e1d', 'project_id': '8823b1952c764638912711307a8a1e1d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b192a7c2-e1cc-449f-9fa0-9afbc6a882db'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49230126', 'ctest-vn-70948824'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49230126', 'ctest-policy-allow-all-52390437']], 'subnet_ipam': [{'subnet_cidr': '17.104.178.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-12 13:15:23,994 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-12 13:15:24,319 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-12 13:15:24,346 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3f2d2d5c-b1d9-41b3-af2f-0f63be13b654 2026-07-12 13:15:24,357 - DEBUG - Requesting: http://10.0.0.50:8082/project/8823b195-2c76-4638-9127-11307a8a1e1d 2026-07-12 13:15:24,432 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/426681b4-b654-4232-8d20-1caf08dccc32 2026-07-12 13:15:24,444 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/426681b4-b654-4232-8d20-1caf08dccc32 2026-07-12 13:15:24,460 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/dc46cc9e-7fed-41ee-b3b1-90c0e55bcb81 2026-07-12 13:15:24,469 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/dc46cc9e-7fed-41ee-b3b1-90c0e55bcb81 2026-07-12 13:15:24,475 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/42a246f7-177e-497b-a126-6ac8b38c9ea1 2026-07-12 13:15:24,483 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-12 13:15:24,483 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/426681b4-b654-4232-8d20-1caf08dccc32 2026-07-12 13:15:24,493 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/dc46cc9e-7fed-41ee-b3b1-90c0e55bcb81 2026-07-12 13:15:24,512 - INFO - Verified VN network id 12 for VN 426681b4-b654-4232-8d20-1caf08dccc32 2026-07-12 13:15:24,512 - INFO - Verifications in API Server for VN ctest-vn-67006836 passed 2026-07-12 13:15:24,512 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/426681b4-b654-4232-8d20-1caf08dccc32 2026-07-12 13:15:24,523 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/dc46cc9e-7fed-41ee-b3b1-90c0e55bcb81 2026-07-12 13:15:24,531 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/dc46cc9e-7fed-41ee-b3b1-90c0e55bcb81 2026-07-12 13:15:24,538 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/42a246f7-177e-497b-a126-6ac8b38c9ea1 2026-07-12 13:15:24,550 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49230126:ctest-vn-67006836', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49230126', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4784654267280802354', 'uuid-lslong': '10169159496696122418'}, 'enable': 'true', 'created': '2026-07-12T13:15:22', 'last-modified': '2026-07-12T13:15:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.981915'} 2026-07-12 13:15:24,555 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-12 13:15:24,555 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67006836 passed 2026-07-12 13:15:24,555 - DEBUG - ====Verifying policy data for ctest-vn-67006836 in API_Server ====== 2026-07-12 13:15:24,555 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-12 13:15:24,560 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3f2d2d5c-b1d9-41b3-af2f-0f63be13b654 2026-07-12 13:15:24,571 - DEBUG - Requesting: http://10.0.0.50:8082/project/8823b195-2c76-4638-9127-11307a8a1e1d 2026-07-12 13:15:24,643 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/426681b4-b654-4232-8d20-1caf08dccc32 2026-07-12 13:15:24,651 - DEBUG - ==>Verifying data for policy with id: 1e816b81-1d13-4533-a589-be4f57c7fcbc, fqn: ['default-domain', 'ctest-TestBasicPolicy-49230126', 'ctest-policy-allow-all-52390437'] 2026-07-12 13:15:24,652 - INFO - VN ctest-vn-67006836 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-12 13:15:24,652 - DEBUG - Verifying the vn in opserver 2026-07-12 13:15:24,652 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49230126:ctest-vn-67006836 virtual network link through opserver 10.0.0.50 2026-07-12 13:15:24,652 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-12 13:15:24,967 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-12 13:15:25,009 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49230126:ctest-vn-67006836', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49230126:ctest-vn-67006836?flat'} 2026-07-12 13:15:25,009 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49230126:ctest-vn-67006836 is found in opserver 2026-07-12 13:15:25,021 - DEBUG - Do not have enough data to verify VN in agent 2026-07-12 13:15:25,025 - DEBUG - VRF ids for VN ctest-vn-67006836: {} 2026-07-12 13:15:25,025 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-12 13:15:25,030 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3f2d2d5c-b1d9-41b3-af2f-0f63be13b654 2026-07-12 13:15:25,039 - DEBUG - Requesting: http://10.0.0.50:8082/project/8823b195-2c76-4638-9127-11307a8a1e1d 2026-07-12 13:15:25,112 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/84bd78fb-c7fd-497e-b1f3-9cb9e61972a0 2026-07-12 13:15:25,123 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/84bd78fb-c7fd-497e-b1f3-9cb9e61972a0 2026-07-12 13:15:25,131 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ef6ad437-65cc-4493-a7fc-78780d5215bb 2026-07-12 13:15:25,138 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ef6ad437-65cc-4493-a7fc-78780d5215bb 2026-07-12 13:15:25,145 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/7014e1af-1d3e-4cdf-b0b1-f4f588f6280b 2026-07-12 13:15:25,152 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-12 13:15:25,152 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/84bd78fb-c7fd-497e-b1f3-9cb9e61972a0 2026-07-12 13:15:25,160 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ef6ad437-65cc-4493-a7fc-78780d5215bb 2026-07-12 13:15:25,175 - INFO - Verified VN network id 13 for VN 84bd78fb-c7fd-497e-b1f3-9cb9e61972a0 2026-07-12 13:15:25,175 - INFO - Verifications in API Server for VN ctest-vn-70948824 passed 2026-07-12 13:15:25,175 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/84bd78fb-c7fd-497e-b1f3-9cb9e61972a0 2026-07-12 13:15:25,183 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ef6ad437-65cc-4493-a7fc-78780d5215bb 2026-07-12 13:15:25,190 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ef6ad437-65cc-4493-a7fc-78780d5215bb 2026-07-12 13:15:25,196 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/7014e1af-1d3e-4cdf-b0b1-f4f588f6280b 2026-07-12 13:15:25,206 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49230126:ctest-vn-70948824', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49230126', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9564934206392191358', 'uuid-lslong': '12822764886297244320'}, 'enable': 'true', 'created': '2026-07-12T13:15:22', 'last-modified': '2026-07-12T13:15:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.392586'} 2026-07-12 13:15:25,212 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-12 13:15:25,212 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70948824 passed 2026-07-12 13:15:25,212 - DEBUG - ====Verifying policy data for ctest-vn-70948824 in API_Server ====== 2026-07-12 13:15:25,212 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-12 13:15:25,217 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3f2d2d5c-b1d9-41b3-af2f-0f63be13b654 2026-07-12 13:15:25,226 - DEBUG - Requesting: http://10.0.0.50:8082/project/8823b195-2c76-4638-9127-11307a8a1e1d 2026-07-12 13:15:25,302 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/84bd78fb-c7fd-497e-b1f3-9cb9e61972a0 2026-07-12 13:15:25,311 - DEBUG - ==>Verifying data for policy with id: 1e816b81-1d13-4533-a589-be4f57c7fcbc, fqn: ['default-domain', 'ctest-TestBasicPolicy-49230126', 'ctest-policy-allow-all-52390437'] 2026-07-12 13:15:25,311 - INFO - VN ctest-vn-70948824 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-12 13:15:25,311 - DEBUG - Verifying the vn in opserver 2026-07-12 13:15:25,311 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49230126:ctest-vn-70948824 virtual network link through opserver 10.0.0.50 2026-07-12 13:15:25,312 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-12 13:15:25,321 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49230126:ctest-vn-70948824', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49230126:ctest-vn-70948824?flat'} 2026-07-12 13:15:25,321 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49230126:ctest-vn-70948824 is found in opserver 2026-07-12 13:15:25,331 - DEBUG - Do not have enough data to verify VN in agent 2026-07-12 13:15:25,337 - DEBUG - VRF ids for VN ctest-vn-70948824: {} 2026-07-12 13:15:25,395 - DEBUG - Services list from nova: [, , ] 2026-07-12 13:15:25,742 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6094-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6094-1) 2026-07-12 13:15:26,089 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6094-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6094-1) 2026-07-12 13:15:26,089 - INFO - Waiting for VM ctest-TestBasicPolicy-49230126-54320639 to be up.. 2026-07-12 13:15:26,123 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-12 13:15:31,193 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-12 13:15:36,265 - DEBUG - VM is in ACTIVE state now 2026-07-12 13:15:36,265 - INFO - VM name : ctest-TestBasicPolicy-49230126-54320639 2026-07-12 13:15:36,340 - DEBUG - VM ctest-TestBasicPolicy-49230126-54320639 ID is e9d5b804-81bd-463a-bbe1-47541c4b8bb8 2026-07-12 13:15:36,359 - DEBUG - VM ctest-TestBasicPolicy-49230126-54320639 launched on Node cn-jenkins-deploy-platform-ansible-os-6094-1 2026-07-12 13:15:36,437 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e9d5b804-81bd-463a-bbe1-47541c4b8bb8 2026-07-12 13:15:36,445 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/42a3c484-e1d9-4627-b890-b73b7fcf4ca5 2026-07-12 13:15:39,699 - 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 1023ms') 2026-07-12 13:15:39,699 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49230126-54320639 failed! 2026-07-12 13:15:39,758 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49230126:ctest-vn-67006836 is 130.254.169.129 and allocation pool is NOT set 2026-07-12 13:15:41,820 - 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=11.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.544 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.544/6.207/11.871/5.663 ms') 2026-07-12 13:15:41,820 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49230126-54320639 passed 2026-07-12 13:15:41,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-12 13:15:41,966 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49230126-54320639, IP 130.254.169.131, Port 22 2026-07-12 13:15:42,125 - DEBUG - VM ctest-TestBasicPolicy-49230126-54320639 is ready for SSH connections 2026-07-12 13:15:42,125 - INFO - Waiting for VM ctest-TestBasicPolicy-49230126-34465060 to be up.. 2026-07-12 13:15:42,192 - DEBUG - VM is in ACTIVE state now 2026-07-12 13:15:42,192 - INFO - VM name : ctest-TestBasicPolicy-49230126-34465060 2026-07-12 13:15:42,266 - DEBUG - VM ctest-TestBasicPolicy-49230126-34465060 ID is e28fd80e-e648-4a30-ba9b-6430ce401273 2026-07-12 13:15:42,266 - DEBUG - VM ctest-TestBasicPolicy-49230126-34465060 launched on Node cn-jenkins-deploy-platform-ansible-os-6094-1 2026-07-12 13:15:42,337 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e28fd80e-e648-4a30-ba9b-6430ce401273 2026-07-12 13:15:42,346 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8b4bd234-5763-41c0-a884-5f946ce07028 2026-07-12 13:15:45,594 - 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=2 ttl=63 time=5.37 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 5.374/5.374/5.374/0.000 ms') 2026-07-12 13:15:45,594 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-49230126-34465060 passed 2026-07-12 13:15:45,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-12 13:15:45,742 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49230126-34465060, IP 17.104.178.195, Port 22 2026-07-12 13:15:45,901 - DEBUG - VM ctest-TestBasicPolicy-49230126-34465060 is ready for SSH connections 2026-07-12 13:15:45,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-12 13:15:45,901 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.104.178.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-07-12 13:15:45,901 - DEBUG - ping -s 56 -c 3 -W 1 17.104.178.195 2026-07-12 13:15:49,791 - DEBUG - PING 17.104.178.195 (17.104.178.195): 56 data bytes 64 bytes from 17.104.178.195: seq=0 ttl=63 time=6.613 ms 64 bytes from 17.104.178.195: seq=1 ttl=63 time=1.045 ms 64 bytes from 17.104.178.195: seq=2 ttl=63 time=1.105 ms --- 17.104.178.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.045/2.921/6.613 ms 2026-07-12 13:15:49,791 - INFO - Ping to IP 17.104.178.195 from VM ctest-TestBasicPolicy-49230126-54320639 passed 2026-07-12 13:15:49,970 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1e816b81-1d13-4533-a589-be4f57c7fcbc", "href": "http://10.0.0.50:8082/network-policy/1e816b81-1d13-4533-a589-be4f57c7fcbc"}} 2026-07-12 13:15:49,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-12 13:15:49,970 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.104.178.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-07-12 13:15:49,970 - DEBUG - ping -s 56 -c 3 -W 1 17.104.178.195 2026-07-12 13:15:53,081 - DEBUG - PING 17.104.178.195 (17.104.178.195): 56 data bytes --- 17.104.178.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-07-12 13:15:53,082 - WARNING - Ping to IP 17.104.178.195 from VM ctest-TestBasicPolicy-49230126-54320639 failed 2026-07-12 13:15:53,082 - INFO - Deleting VM ctest-TestBasicPolicy-49230126-34465060 2026-07-12 13:15:53,177 - INFO - Deleting VM ctest-TestBasicPolicy-49230126-54320639 2026-07-12 13:15:53,617 - INFO - Deleted policy ctest-policy-allow-all-52390437 2026-07-12 13:15:53,618 - INFO - Deleting VN ctest-vn-70948824 2026-07-12 13:15:53,662 - DEBUG - VN 84bd78fb-c7fd-497e-b1f3-9cb9e61972a0 still in use: Unable to complete operation on network 84bd78fb-c7fd-497e-b1f3-9cb9e61972a0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8ce1aa04-119f-44b7-b7fb-7ba067d02322'] 2026-07-12 13:15:53,662 - WARNING - Deleting VN ctest-vn-70948824 failed..Will retry 2026-07-12 13:15:55,754 - DEBUG - Response for deleting network () 2026-07-12 13:15:55,754 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ef6ad437-65cc-4493-a7fc-78780d5215bb 2026-07-12 13:15:55,760 - DEBUG - Response Code: 404 2026-07-12 13:15:55,760 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-12 13:15:55,766 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3f2d2d5c-b1d9-41b3-af2f-0f63be13b654 2026-07-12 13:15:55,822 - DEBUG - Requesting: http://10.0.0.50:8082/project/8823b195-2c76-4638-9127-11307a8a1e1d 2026-07-12 13:15:55,891 - INFO - Validated that VN ctest-vn-70948824 is not found in API Server 2026-07-12 13:15:55,903 - DEBUG - VN ctest-vn-70948824 is not present in Agent 10.0.0.50 2026-07-12 13:15:55,903 - INFO - Validated that VN ctest-vn-70948824 is not in any agent 2026-07-12 13:15:55,918 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70948824 info 2026-07-12 13:15:55,918 - INFO - Deleting VN ctest-vn-67006836 2026-07-12 13:15:56,025 - DEBUG - Response for deleting network () 2026-07-12 13:15:56,025 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/dc46cc9e-7fed-41ee-b3b1-90c0e55bcb81 2026-07-12 13:15:56,034 - DEBUG - Response Code: 404 2026-07-12 13:15:56,034 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-12 13:15:56,040 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3f2d2d5c-b1d9-41b3-af2f-0f63be13b654 2026-07-12 13:15:56,098 - DEBUG - Requesting: http://10.0.0.50:8082/project/8823b195-2c76-4638-9127-11307a8a1e1d 2026-07-12 13:15:56,170 - INFO - Validated that VN ctest-vn-67006836 is not found in API Server 2026-07-12 13:15:56,181 - DEBUG - VN ctest-vn-67006836 is not present in Agent 10.0.0.50 2026-07-12 13:15:56,181 - INFO - Validated that VN ctest-vn-67006836 is not in any agent 2026-07-12 13:15:56,194 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67006836 info 2026-07-12 13:15:56,459 - DEBUG - No XMPP flaps were noticed during the test
2026-07-12 13:15:56,459 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-07-12 13:15:56,460 - INFO - -------------------------------------------------------------------------------- 2026-07-12 13:15:57,169 - INFO - Deleted project: ctest-TestBasicPolicy-49230126, ID : 8823b195-2c76-4638-9127-11307a8a1e1d