2026-04-22 14:44:14,067 - INFO - Domain Default found not creating 2026-04-22 14:44:14,316 - INFO - Project ctest-TestBasicPolicy-17695470 not found, creating it 2026-04-22 14:44:14,811 - INFO - Created Project:ctest-TestBasicPolicy-17695470, ID : 77f32c81-616e-4894-b408-5235e16d9732 2026-04-22 14:44:16,565 - INFO - ================================================================================ 2026-04-22 14:44:16,565 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-22 14:44:16,565 - 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-04-22 14:44:16,846 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-22 14:44:16,847 - INFO - Initial checks done. Running the testcase now 2026-04-22 14:44:16,847 - INFO - 2026-04-22 14:44:17,496 - DEBUG - Response for create_network : {'network': {'id': '4c1c673c-cb49-4444-8754-1742e55444ae', 'name': 'ctest-vn-77215098', 'tenant_id': '77f32c81616e4894b4085235e16d9732', 'project_id': '77f32c81616e4894b4085235e16d9732', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17695470', 'ctest-vn-77215098'], 'port_security_enabled': True, 'description': ''}} 2026-04-22 14:44:17,702 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c364d264-a38a-4f14-9a22-c10d8c60f3fd', 'name': '', 'tenant_id': '77f32c81616e4894b4085235e16d9732', 'network_id': '4c1c673c-cb49-4444-8754-1742e55444ae', 'ip_version': 4, 'cidr': '128.173.6.192/26', 'allocation_pools': [{'start': '128.173.6.194', 'end': '128.173.6.254'}], 'gateway_ip': '128.173.6.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.173.6.194', 'tags': [], 'project_id': '77f32c81616e4894b4085235e16d9732'}} 2026-04-22 14:44:17,726 - INFO - Created VN ctest-vn-77215098 2026-04-22 14:44:17,781 - DEBUG - VN ctest-vn-77215098 UUID is 4c1c673c-cb49-4444-8754-1742e55444ae 2026-04-22 14:44:18,128 - DEBUG - Response for create_network : {'network': {'id': '9f9bd662-2050-4861-af7b-4c23bff41109', 'name': 'ctest-vn-50824463', 'tenant_id': '77f32c81616e4894b4085235e16d9732', 'project_id': '77f32c81616e4894b4085235e16d9732', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17695470', 'ctest-vn-50824463'], 'port_security_enabled': True, 'description': ''}} 2026-04-22 14:44:18,300 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b858ebb-d7e8-4c53-a393-9d753835f609', 'name': '', 'tenant_id': '77f32c81616e4894b4085235e16d9732', 'network_id': '9f9bd662-2050-4861-af7b-4c23bff41109', 'ip_version': 4, 'cidr': '125.161.122.128/26', 'allocation_pools': [{'start': '125.161.122.130', 'end': '125.161.122.190'}], 'gateway_ip': '125.161.122.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.161.122.130', 'tags': [], 'project_id': '77f32c81616e4894b4085235e16d9732'}} 2026-04-22 14:44:18,328 - INFO - Created VN ctest-vn-50824463 2026-04-22 14:44:18,385 - DEBUG - VN ctest-vn-50824463 UUID is 9f9bd662-2050-4861-af7b-4c23bff41109 2026-04-22 14:44:18,515 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-17695470:ctest-vn-77215098, 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-17695470:ctest-vn-50824463, 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-04-22 14:44:18,857 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4c1c673c-cb49-4444-8754-1742e55444ae', 'name': 'ctest-vn-77215098', 'tenant_id': '77f32c81616e4894b4085235e16d9732', 'project_id': '77f32c81616e4894b4085235e16d9732', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c364d264-a38a-4f14-9a22-c10d8c60f3fd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17695470', 'ctest-vn-77215098'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17695470', 'ctest-policy-allow-all-49608263']], 'subnet_ipam': [{'subnet_cidr': '128.173.6.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-22 14:44:19,130 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9f9bd662-2050-4861-af7b-4c23bff41109', 'name': 'ctest-vn-50824463', 'tenant_id': '77f32c81616e4894b4085235e16d9732', 'project_id': '77f32c81616e4894b4085235e16d9732', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1b858ebb-d7e8-4c53-a393-9d753835f609'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17695470', 'ctest-vn-50824463'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17695470', 'ctest-policy-allow-all-49608263']], 'subnet_ipam': [{'subnet_cidr': '125.161.122.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-22 14:44:19,305 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-22 14:44:19,652 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-22 14:44:19,691 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0a99ea53-9b50-4020-aae0-beacab2a64cd 2026-04-22 14:44:19,709 - DEBUG - Requesting: http://10.0.0.50:8082/project/77f32c81-616e-4894-b408-5235e16d9732 2026-04-22 14:44:19,789 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4c1c673c-cb49-4444-8754-1742e55444ae 2026-04-22 14:44:19,805 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4c1c673c-cb49-4444-8754-1742e55444ae 2026-04-22 14:44:19,819 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/945bfa8f-f999-451a-853e-f2bad192ac7a 2026-04-22 14:44:19,834 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/945bfa8f-f999-451a-853e-f2bad192ac7a 2026-04-22 14:44:19,845 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4a6158d2-acc8-4153-899c-4b49dae95dfe 2026-04-22 14:44:19,854 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-22 14:44:19,854 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4c1c673c-cb49-4444-8754-1742e55444ae 2026-04-22 14:44:19,867 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/945bfa8f-f999-451a-853e-f2bad192ac7a 2026-04-22 14:44:19,888 - INFO - Verified VN network id 11 for VN 4c1c673c-cb49-4444-8754-1742e55444ae 2026-04-22 14:44:19,888 - INFO - Verifications in API Server for VN ctest-vn-77215098 passed 2026-04-22 14:44:19,888 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4c1c673c-cb49-4444-8754-1742e55444ae 2026-04-22 14:44:19,901 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/945bfa8f-f999-451a-853e-f2bad192ac7a 2026-04-22 14:44:19,912 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/945bfa8f-f999-451a-853e-f2bad192ac7a 2026-04-22 14:44:19,921 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4a6158d2-acc8-4153-899c-4b49dae95dfe 2026-04-22 14:44:19,938 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17695470:ctest-vn-77215098', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17695470', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5484371957036696644', 'uuid-lslong': '9751444669246751918'}, 'enable': 'true', 'created': '2026-04-22T14:44:17', 'last-modified': '2026-04-22T14:44:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.109309'} 2026-04-22 14:44:19,945 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-22 14:44:19,945 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77215098 passed 2026-04-22 14:44:19,946 - DEBUG - ====Verifying policy data for ctest-vn-77215098 in API_Server ====== 2026-04-22 14:44:19,946 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-22 14:44:19,952 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0a99ea53-9b50-4020-aae0-beacab2a64cd 2026-04-22 14:44:19,966 - DEBUG - Requesting: http://10.0.0.50:8082/project/77f32c81-616e-4894-b408-5235e16d9732 2026-04-22 14:44:20,046 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4c1c673c-cb49-4444-8754-1742e55444ae 2026-04-22 14:44:20,055 - DEBUG - ==>Verifying data for policy with id: 010206d4-8d3a-42d5-9949-a4f549109a0c, fqn: ['default-domain', 'ctest-TestBasicPolicy-17695470', 'ctest-policy-allow-all-49608263'] 2026-04-22 14:44:20,056 - INFO - VN ctest-vn-77215098 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-22 14:44:20,056 - DEBUG - Verifying the vn in opserver 2026-04-22 14:44:20,056 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17695470:ctest-vn-77215098 virtual network link through opserver 10.0.0.50 2026-04-22 14:44:20,056 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-22 14:44:20,405 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-22 14:44:20,494 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17695470:ctest-vn-77215098', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17695470:ctest-vn-77215098?flat'} 2026-04-22 14:44:20,494 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17695470:ctest-vn-77215098 is found in opserver 2026-04-22 14:44:20,507 - DEBUG - Do not have enough data to verify VN in agent 2026-04-22 14:44:20,514 - DEBUG - VRF ids for VN ctest-vn-77215098: {} 2026-04-22 14:44:20,514 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-22 14:44:20,522 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0a99ea53-9b50-4020-aae0-beacab2a64cd 2026-04-22 14:44:20,543 - DEBUG - Requesting: http://10.0.0.50:8082/project/77f32c81-616e-4894-b408-5235e16d9732 2026-04-22 14:44:20,627 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9f9bd662-2050-4861-af7b-4c23bff41109 2026-04-22 14:44:20,644 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9f9bd662-2050-4861-af7b-4c23bff41109 2026-04-22 14:44:20,655 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e8d2ce35-2250-4b1d-8c3d-e84129a29cac 2026-04-22 14:44:20,663 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e8d2ce35-2250-4b1d-8c3d-e84129a29cac 2026-04-22 14:44:20,670 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/dda53da0-5cba-4403-87b4-a9090ced2e62 2026-04-22 14:44:20,677 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-22 14:44:20,677 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9f9bd662-2050-4861-af7b-4c23bff41109 2026-04-22 14:44:20,686 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e8d2ce35-2250-4b1d-8c3d-e84129a29cac 2026-04-22 14:44:20,706 - INFO - Verified VN network id 12 for VN 9f9bd662-2050-4861-af7b-4c23bff41109 2026-04-22 14:44:20,706 - INFO - Verifications in API Server for VN ctest-vn-50824463 passed 2026-04-22 14:44:20,706 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9f9bd662-2050-4861-af7b-4c23bff41109 2026-04-22 14:44:20,722 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e8d2ce35-2250-4b1d-8c3d-e84129a29cac 2026-04-22 14:44:20,733 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e8d2ce35-2250-4b1d-8c3d-e84129a29cac 2026-04-22 14:44:20,742 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/dda53da0-5cba-4403-87b4-a9090ced2e62 2026-04-22 14:44:20,757 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17695470:ctest-vn-50824463', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17695470', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11501021790357964897', 'uuid-lslong': '12644784095200809225'}, 'enable': 'true', 'created': '2026-04-22T14:44:18', 'last-modified': '2026-04-22T14:44:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.670711'} 2026-04-22 14:44:20,765 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-22 14:44:20,765 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50824463 passed 2026-04-22 14:44:20,765 - DEBUG - ====Verifying policy data for ctest-vn-50824463 in API_Server ====== 2026-04-22 14:44:20,765 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-22 14:44:20,772 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0a99ea53-9b50-4020-aae0-beacab2a64cd 2026-04-22 14:44:20,788 - DEBUG - Requesting: http://10.0.0.50:8082/project/77f32c81-616e-4894-b408-5235e16d9732 2026-04-22 14:44:20,867 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9f9bd662-2050-4861-af7b-4c23bff41109 2026-04-22 14:44:20,877 - DEBUG - ==>Verifying data for policy with id: 010206d4-8d3a-42d5-9949-a4f549109a0c, fqn: ['default-domain', 'ctest-TestBasicPolicy-17695470', 'ctest-policy-allow-all-49608263'] 2026-04-22 14:44:20,877 - INFO - VN ctest-vn-50824463 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-22 14:44:20,877 - DEBUG - Verifying the vn in opserver 2026-04-22 14:44:20,877 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17695470:ctest-vn-50824463 virtual network link through opserver 10.0.0.50 2026-04-22 14:44:20,877 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-22 14:44:20,887 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17695470:ctest-vn-50824463', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17695470:ctest-vn-50824463?flat'} 2026-04-22 14:44:20,887 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17695470:ctest-vn-50824463 is found in opserver 2026-04-22 14:44:20,901 - DEBUG - Do not have enough data to verify VN in agent 2026-04-22 14:44:20,907 - DEBUG - VRF ids for VN ctest-vn-50824463: {} 2026-04-22 14:44:20,993 - DEBUG - Services list from nova: [, , ] 2026-04-22 14:44:22,232 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5668-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5668-1) 2026-04-22 14:44:23,608 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5668-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5668-1) 2026-04-22 14:44:23,608 - INFO - Waiting for VM ctest-TestBasicPolicy-17695470-00512409 to be up.. 2026-04-22 14:44:23,739 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-22 14:44:28,839 - DEBUG - VM is in ACTIVE state now 2026-04-22 14:44:28,839 - INFO - VM name : ctest-TestBasicPolicy-17695470-00512409 2026-04-22 14:44:28,950 - DEBUG - VM ctest-TestBasicPolicy-17695470-00512409 ID is 8f5b1d8a-b3e1-4f1e-9a1c-b26bc7e8ad0d 2026-04-22 14:44:28,974 - DEBUG - VM ctest-TestBasicPolicy-17695470-00512409 launched on Node cn-jenkins-deploy-platform-ansible-os-5668-1 2026-04-22 14:44:29,066 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8f5b1d8a-b3e1-4f1e-9a1c-b26bc7e8ad0d 2026-04-22 14:44:29,075 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/904fde3a-2574-424e-9c74-21b4c1023238 2026-04-22 14:44:32,360 - 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 1024ms') 2026-04-22 14:44:32,360 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17695470-00512409 failed! 2026-04-22 14:44:32,421 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17695470:ctest-vn-77215098 is 128.173.6.193 and allocation pool is NOT set 2026-04-22 14:44:36,515 - 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') 2026-04-22 14:44:36,515 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17695470-00512409 failed! 2026-04-22 14:44:36,573 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17695470:ctest-vn-77215098 is 128.173.6.193 and allocation pool is NOT set 2026-04-22 14:44:38,638 - 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=4.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.534 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 = 0.534/2.352/4.171/1.818 ms') 2026-04-22 14:44:38,638 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17695470-00512409 passed 2026-04-22 14:44:38,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-22 14:44:38,793 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17695470-00512409, IP 128.173.6.195, Port 22 2026-04-22 14:44:38,967 - DEBUG - VM ctest-TestBasicPolicy-17695470-00512409 is ready for SSH connections 2026-04-22 14:44:38,967 - INFO - Waiting for VM ctest-TestBasicPolicy-17695470-82596805 to be up.. 2026-04-22 14:44:39,065 - DEBUG - VM is in ACTIVE state now 2026-04-22 14:44:39,066 - INFO - VM name : ctest-TestBasicPolicy-17695470-82596805 2026-04-22 14:44:39,170 - DEBUG - VM ctest-TestBasicPolicy-17695470-82596805 ID is cd5291ef-02e7-44cf-8ccf-c3d38929f38c 2026-04-22 14:44:39,171 - DEBUG - VM ctest-TestBasicPolicy-17695470-82596805 launched on Node cn-jenkins-deploy-platform-ansible-os-5668-1 2026-04-22 14:44:39,269 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cd5291ef-02e7-44cf-8ccf-c3d38929f38c 2026-04-22 14:44:39,279 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/583f8d8c-b441-4b44-b35c-c491668411bf 2026-04-22 14:44:40,541 - 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.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.563 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.563/2.041/3.520/1.478 ms') 2026-04-22 14:44:40,541 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-17695470-82596805 passed 2026-04-22 14:44:40,701 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-22 14:44:40,701 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17695470-82596805, IP 125.161.122.131, Port 22 2026-04-22 14:44:40,867 - DEBUG - VM ctest-TestBasicPolicy-17695470-82596805 is ready for SSH connections 2026-04-22 14:44:40,867 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-22 14:44:40,867 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.161.122.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-22 14:44:40,867 - DEBUG - ping -s 56 -c 3 -W 1 125.161.122.131 2026-04-22 14:44:45,179 - DEBUG - PING 125.161.122.131 (125.161.122.131): 56 data bytes 64 bytes from 125.161.122.131: seq=0 ttl=63 time=5.244 ms 64 bytes from 125.161.122.131: seq=1 ttl=63 time=1.005 ms 64 bytes from 125.161.122.131: seq=2 ttl=63 time=1.147 ms --- 125.161.122.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.005/2.465/5.244 ms 2026-04-22 14:44:45,179 - INFO - Ping to IP 125.161.122.131 from VM ctest-TestBasicPolicy-17695470-00512409 passed 2026-04-22 14:44:45,372 - DEBUG - Policy Update Response {"network-policy": {"uuid": "010206d4-8d3a-42d5-9949-a4f549109a0c", "href": "http://10.0.0.50:8082/network-policy/010206d4-8d3a-42d5-9949-a4f549109a0c"}} 2026-04-22 14:44:45,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-22 14:44:45,373 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.161.122.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-22 14:44:45,373 - DEBUG - ping -s 56 -c 3 -W 1 125.161.122.131 2026-04-22 14:44:48,627 - DEBUG - PING 125.161.122.131 (125.161.122.131): 56 data bytes --- 125.161.122.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-22 14:44:48,627 - WARNING - Ping to IP 125.161.122.131 from VM ctest-TestBasicPolicy-17695470-00512409 failed 2026-04-22 14:44:48,627 - INFO - Deleting VM ctest-TestBasicPolicy-17695470-82596805 2026-04-22 14:44:48,710 - INFO - Deleting VM ctest-TestBasicPolicy-17695470-00512409 2026-04-22 14:44:49,180 - INFO - Deleted policy ctest-policy-allow-all-49608263 2026-04-22 14:44:49,181 - INFO - Deleting VN ctest-vn-50824463 2026-04-22 14:44:49,234 - DEBUG - VN 9f9bd662-2050-4861-af7b-4c23bff41109 still in use: Unable to complete operation on network 9f9bd662-2050-4861-af7b-4c23bff41109. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1280742f-b452-4fd6-96b2-16225602bf80'] 2026-04-22 14:44:49,234 - WARNING - Deleting VN ctest-vn-50824463 failed..Will retry 2026-04-22 14:44:51,351 - DEBUG - Response for deleting network () 2026-04-22 14:44:51,351 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e8d2ce35-2250-4b1d-8c3d-e84129a29cac 2026-04-22 14:44:51,357 - DEBUG - Response Code: 404 2026-04-22 14:44:51,357 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-22 14:44:51,367 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0a99ea53-9b50-4020-aae0-beacab2a64cd 2026-04-22 14:44:51,433 - DEBUG - Requesting: http://10.0.0.50:8082/project/77f32c81-616e-4894-b408-5235e16d9732 2026-04-22 14:44:51,509 - INFO - Validated that VN ctest-vn-50824463 is not found in API Server 2026-04-22 14:44:51,522 - DEBUG - VN ctest-vn-50824463 is not present in Agent 10.0.0.50 2026-04-22 14:44:51,522 - INFO - Validated that VN ctest-vn-50824463 is not in any agent 2026-04-22 14:44:51,540 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50824463 info 2026-04-22 14:44:51,540 - INFO - Deleting VN ctest-vn-77215098 2026-04-22 14:44:51,664 - DEBUG - Response for deleting network () 2026-04-22 14:44:51,664 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/945bfa8f-f999-451a-853e-f2bad192ac7a 2026-04-22 14:44:51,671 - DEBUG - Response Code: 404 2026-04-22 14:44:51,671 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-22 14:44:51,677 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0a99ea53-9b50-4020-aae0-beacab2a64cd 2026-04-22 14:44:51,731 - DEBUG - Requesting: http://10.0.0.50:8082/project/77f32c81-616e-4894-b408-5235e16d9732 2026-04-22 14:44:51,804 - INFO - Validated that VN ctest-vn-77215098 is not found in API Server 2026-04-22 14:44:51,818 - DEBUG - VN ctest-vn-77215098 is not present in Agent 10.0.0.50 2026-04-22 14:44:51,818 - INFO - Validated that VN ctest-vn-77215098 is not in any agent 2026-04-22 14:44:51,837 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77215098 info 2026-04-22 14:44:52,114 - DEBUG - No XMPP flaps were noticed during the test
2026-04-22 14:44:52,114 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-04-22 14:44:52,114 - INFO - -------------------------------------------------------------------------------- 2026-04-22 14:44:52,898 - INFO - Deleted project: ctest-TestBasicPolicy-17695470, ID : 77f32c81-616e-4894-b408-5235e16d9732