2025-08-26 10:50:09,578 - INFO - Domain Default found not creating 2025-08-26 10:50:09,739 - INFO - Project ctest-TestBasicPolicy-45846856 not found, creating it 2025-08-26 10:50:10,261 - INFO - Created Project:ctest-TestBasicPolicy-45846856, ID : ddf84292-1dcb-43d7-9fcd-f4b691f6f3b9 2025-08-26 10:50:11,801 - INFO - ================================================================================ 2025-08-26 10:50:11,801 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-26 10:50:11,801 - 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-08-26 10:50:12,075 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-08-26 10:50:12,075 - INFO - Initial checks done. Running the testcase now 2025-08-26 10:50:12,075 - INFO - 2025-08-26 10:50:12,714 - DEBUG - Response for create_network : {'network': {'id': 'c2377dab-cdb3-402c-9e88-69ec807e01b4', 'name': 'ctest-vn-68468358', 'tenant_id': 'ddf842921dcb43d79fcdf4b691f6f3b9', 'project_id': 'ddf842921dcb43d79fcdf4b691f6f3b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45846856', 'ctest-vn-68468358'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 10:50:12,893 - DEBUG - Response for create_subnet : {'subnet': {'id': '86402a15-7bc6-4d89-a6f7-1a3d80a1bf17', 'name': '', 'tenant_id': 'ddf842921dcb43d79fcdf4b691f6f3b9', 'network_id': 'c2377dab-cdb3-402c-9e88-69ec807e01b4', 'ip_version': 4, 'cidr': '32.37.89.128/26', 'allocation_pools': [{'start': '32.37.89.130', 'end': '32.37.89.190'}], 'gateway_ip': '32.37.89.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.37.89.130', 'tags': [], 'project_id': 'ddf842921dcb43d79fcdf4b691f6f3b9'}} 2025-08-26 10:50:12,910 - INFO - Created VN ctest-vn-68468358 2025-08-26 10:50:12,962 - DEBUG - VN ctest-vn-68468358 UUID is c2377dab-cdb3-402c-9e88-69ec807e01b4 2025-08-26 10:50:13,313 - DEBUG - Response for create_network : {'network': {'id': '8aae929f-6f22-492a-be0c-b1453b76ef11', 'name': 'ctest-vn-12682447', 'tenant_id': 'ddf842921dcb43d79fcdf4b691f6f3b9', 'project_id': 'ddf842921dcb43d79fcdf4b691f6f3b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45846856', 'ctest-vn-12682447'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 10:50:13,492 - DEBUG - Response for create_subnet : {'subnet': {'id': '8060b11f-320f-4fe0-8c05-c2d40bedfccf', 'name': '', 'tenant_id': 'ddf842921dcb43d79fcdf4b691f6f3b9', 'network_id': '8aae929f-6f22-492a-be0c-b1453b76ef11', 'ip_version': 4, 'cidr': '92.157.62.192/26', 'allocation_pools': [{'start': '92.157.62.194', 'end': '92.157.62.254'}], 'gateway_ip': '92.157.62.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.157.62.194', 'tags': [], 'project_id': 'ddf842921dcb43d79fcdf4b691f6f3b9'}} 2025-08-26 10:50:13,514 - INFO - Created VN ctest-vn-12682447 2025-08-26 10:50:13,570 - DEBUG - VN ctest-vn-12682447 UUID is 8aae929f-6f22-492a-be0c-b1453b76ef11 2025-08-26 10:50:13,726 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45846856:ctest-vn-68468358, 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-45846856:ctest-vn-12682447, 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-08-26 10:50:14,028 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c2377dab-cdb3-402c-9e88-69ec807e01b4', 'name': 'ctest-vn-68468358', 'tenant_id': 'ddf842921dcb43d79fcdf4b691f6f3b9', 'project_id': 'ddf842921dcb43d79fcdf4b691f6f3b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['86402a15-7bc6-4d89-a6f7-1a3d80a1bf17'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45846856', 'ctest-vn-68468358'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45846856', 'ctest-policy-allow-all-21330559']], 'subnet_ipam': [{'subnet_cidr': '32.37.89.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-26 10:50:14,270 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8aae929f-6f22-492a-be0c-b1453b76ef11', 'name': 'ctest-vn-12682447', 'tenant_id': 'ddf842921dcb43d79fcdf4b691f6f3b9', 'project_id': 'ddf842921dcb43d79fcdf4b691f6f3b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8060b11f-320f-4fe0-8c05-c2d40bedfccf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45846856', 'ctest-vn-12682447'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45846856', 'ctest-policy-allow-all-21330559']], 'subnet_ipam': [{'subnet_cidr': '92.157.62.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-26 10:50:14,442 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-26 10:50:14,735 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-26 10:50:14,771 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2b2a49ac-6a70-4755-853b-667a1a09565f 2025-08-26 10:50:14,786 - DEBUG - Requesting: http://10.0.0.22:8082/project/ddf84292-1dcb-43d7-9fcd-f4b691f6f3b9 2025-08-26 10:50:14,868 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c2377dab-cdb3-402c-9e88-69ec807e01b4 2025-08-26 10:50:14,880 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c2377dab-cdb3-402c-9e88-69ec807e01b4 2025-08-26 10:50:14,891 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/94a3ec41-9a18-4fe0-99ed-c6396a8cfc8c 2025-08-26 10:50:14,899 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/94a3ec41-9a18-4fe0-99ed-c6396a8cfc8c 2025-08-26 10:50:14,907 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/9bdb7403-457e-45ba-9dac-4e3166b9c527 2025-08-26 10:50:14,915 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-26 10:50:14,916 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c2377dab-cdb3-402c-9e88-69ec807e01b4 2025-08-26 10:50:14,927 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/94a3ec41-9a18-4fe0-99ed-c6396a8cfc8c 2025-08-26 10:50:14,943 - INFO - Verified VN network id 10 for VN c2377dab-cdb3-402c-9e88-69ec807e01b4 2025-08-26 10:50:14,943 - INFO - Verifications in API Server for VN ctest-vn-68468358 passed 2025-08-26 10:50:14,943 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c2377dab-cdb3-402c-9e88-69ec807e01b4 2025-08-26 10:50:14,955 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/94a3ec41-9a18-4fe0-99ed-c6396a8cfc8c 2025-08-26 10:50:14,964 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/94a3ec41-9a18-4fe0-99ed-c6396a8cfc8c 2025-08-26 10:50:14,973 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/9bdb7403-457e-45ba-9dac-4e3166b9c527 2025-08-26 10:50:14,987 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45846856:ctest-vn-68468358', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45846856', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13994792543921061932', 'uuid-lslong': '11423496919314203060'}, 'enable': 'true', 'created': '2025-08-26T10:50:12', 'last-modified': '2025-08-26T10:50:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.984676'} 2025-08-26 10:50:14,993 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-26 10:50:14,993 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68468358 passed 2025-08-26 10:50:14,993 - DEBUG - ====Verifying policy data for ctest-vn-68468358 in API_Server ====== 2025-08-26 10:50:14,994 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-26 10:50:14,999 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2b2a49ac-6a70-4755-853b-667a1a09565f 2025-08-26 10:50:15,011 - DEBUG - Requesting: http://10.0.0.22:8082/project/ddf84292-1dcb-43d7-9fcd-f4b691f6f3b9 2025-08-26 10:50:15,086 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c2377dab-cdb3-402c-9e88-69ec807e01b4 2025-08-26 10:50:15,101 - DEBUG - ==>Verifying data for policy with id: 2da0ae67-b3e7-41b1-8183-14b8027ef54a, fqn: ['default-domain', 'ctest-TestBasicPolicy-45846856', 'ctest-policy-allow-all-21330559'] 2025-08-26 10:50:15,101 - INFO - VN ctest-vn-68468358 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-26 10:50:15,101 - DEBUG - Verifying the vn in opserver 2025-08-26 10:50:15,101 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45846856:ctest-vn-68468358 virtual network link through opserver 10.0.0.22 2025-08-26 10:50:15,102 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-08-26 10:50:15,397 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-08-26 10:50:15,452 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45846856:ctest-vn-68468358', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45846856:ctest-vn-68468358?flat'} 2025-08-26 10:50:15,452 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45846856:ctest-vn-68468358 is found in opserver 2025-08-26 10:50:15,464 - DEBUG - Do not have enough data to verify VN in agent 2025-08-26 10:50:15,469 - DEBUG - VRF ids for VN ctest-vn-68468358: {} 2025-08-26 10:50:15,469 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-26 10:50:15,475 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2b2a49ac-6a70-4755-853b-667a1a09565f 2025-08-26 10:50:15,488 - DEBUG - Requesting: http://10.0.0.22:8082/project/ddf84292-1dcb-43d7-9fcd-f4b691f6f3b9 2025-08-26 10:50:15,560 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8aae929f-6f22-492a-be0c-b1453b76ef11 2025-08-26 10:50:15,576 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8aae929f-6f22-492a-be0c-b1453b76ef11 2025-08-26 10:50:15,587 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1eb6c318-c7b2-4438-a94c-a30476534426 2025-08-26 10:50:15,595 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1eb6c318-c7b2-4438-a94c-a30476534426 2025-08-26 10:50:15,602 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/7e7c4699-c242-4ba7-9226-bb62307052ae 2025-08-26 10:50:15,610 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-26 10:50:15,610 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8aae929f-6f22-492a-be0c-b1453b76ef11 2025-08-26 10:50:15,620 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1eb6c318-c7b2-4438-a94c-a30476534426 2025-08-26 10:50:15,634 - INFO - Verified VN network id 11 for VN 8aae929f-6f22-492a-be0c-b1453b76ef11 2025-08-26 10:50:15,634 - INFO - Verifications in API Server for VN ctest-vn-12682447 passed 2025-08-26 10:50:15,635 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8aae929f-6f22-492a-be0c-b1453b76ef11 2025-08-26 10:50:15,645 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1eb6c318-c7b2-4438-a94c-a30476534426 2025-08-26 10:50:15,652 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1eb6c318-c7b2-4438-a94c-a30476534426 2025-08-26 10:50:15,661 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/7e7c4699-c242-4ba7-9226-bb62307052ae 2025-08-26 10:50:15,676 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45846856:ctest-vn-12682447', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45846856', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9993085836643682602', 'uuid-lslong': '13694515477835345681'}, 'enable': 'true', 'created': '2025-08-26T10:50:13', 'last-modified': '2025-08-26T10:50:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.435453'} 2025-08-26 10:50:15,683 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-26 10:50:15,683 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12682447 passed 2025-08-26 10:50:15,683 - DEBUG - ====Verifying policy data for ctest-vn-12682447 in API_Server ====== 2025-08-26 10:50:15,683 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-26 10:50:15,689 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2b2a49ac-6a70-4755-853b-667a1a09565f 2025-08-26 10:50:15,701 - DEBUG - Requesting: http://10.0.0.22:8082/project/ddf84292-1dcb-43d7-9fcd-f4b691f6f3b9 2025-08-26 10:50:15,774 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8aae929f-6f22-492a-be0c-b1453b76ef11 2025-08-26 10:50:15,785 - DEBUG - ==>Verifying data for policy with id: 2da0ae67-b3e7-41b1-8183-14b8027ef54a, fqn: ['default-domain', 'ctest-TestBasicPolicy-45846856', 'ctest-policy-allow-all-21330559'] 2025-08-26 10:50:15,785 - INFO - VN ctest-vn-12682447 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-26 10:50:15,785 - DEBUG - Verifying the vn in opserver 2025-08-26 10:50:15,785 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45846856:ctest-vn-12682447 virtual network link through opserver 10.0.0.22 2025-08-26 10:50:15,785 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-08-26 10:50:15,797 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45846856:ctest-vn-12682447', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45846856:ctest-vn-12682447?flat'} 2025-08-26 10:50:15,797 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45846856:ctest-vn-12682447 is found in opserver 2025-08-26 10:50:15,809 - DEBUG - Do not have enough data to verify VN in agent 2025-08-26 10:50:15,815 - DEBUG - VRF ids for VN ctest-vn-12682447: {} 2025-08-26 10:50:15,875 - DEBUG - Services list from nova: [, , ] 2025-08-26 10:50:16,856 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3938-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3938-1) 2025-08-26 10:50:18,010 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3938-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3938-1) 2025-08-26 10:50:18,010 - INFO - Waiting for VM ctest-TestBasicPolicy-45846856-71019759 to be up.. 2025-08-26 10:50:18,116 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-26 10:50:23,196 - DEBUG - VM is in ACTIVE state now 2025-08-26 10:50:23,196 - INFO - VM name : ctest-TestBasicPolicy-45846856-71019759 2025-08-26 10:50:23,272 - DEBUG - VM ctest-TestBasicPolicy-45846856-71019759 ID is 7972a67d-083c-4182-a707-8571b8958958 2025-08-26 10:50:23,295 - DEBUG - VM ctest-TestBasicPolicy-45846856-71019759 launched on Node cn-jenkins-deploy-platform-ansible-os-3938-1 2025-08-26 10:50:23,377 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7972a67d-083c-4182-a707-8571b8958958 2025-08-26 10:50:23,390 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a43a83dd-3fc6-4589-8481-e2d58f111654 2025-08-26 10:50:26,665 - 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 1020ms') 2025-08-26 10:50:26,665 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45846856-71019759 failed! 2025-08-26 10:50:26,718 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45846856:ctest-vn-68468358 is 32.37.89.129 and allocation pool is NOT set 2025-08-26 10:50:28,782 - 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=2.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.332 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.332/1.424/2.516/1.092 ms') 2025-08-26 10:50:28,782 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45846856-71019759 passed 2025-08-26 10:50:28,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 10:50:28,938 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45846856-71019759, IP 32.37.89.131, Port 22 2025-08-26 10:50:29,093 - DEBUG - VM ctest-TestBasicPolicy-45846856-71019759 is ready for SSH connections 2025-08-26 10:50:29,093 - INFO - Waiting for VM ctest-TestBasicPolicy-45846856-35048939 to be up.. 2025-08-26 10:50:29,181 - DEBUG - VM is in ACTIVE state now 2025-08-26 10:50:29,182 - INFO - VM name : ctest-TestBasicPolicy-45846856-35048939 2025-08-26 10:50:29,261 - DEBUG - VM ctest-TestBasicPolicy-45846856-35048939 ID is c2613e67-15db-498b-bc46-cb72ebf51ec2 2025-08-26 10:50:29,262 - DEBUG - VM ctest-TestBasicPolicy-45846856-35048939 launched on Node cn-jenkins-deploy-platform-ansible-os-3938-1 2025-08-26 10:50:29,343 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c2613e67-15db-498b-bc46-cb72ebf51ec2 2025-08-26 10:50:29,353 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/88414432-26f9-45f9-b39a-31d5d2ff33c2 2025-08-26 10:50:30,595 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.607 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.607/1.690/2.773/1.083 ms') 2025-08-26 10:50:30,595 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-45846856-35048939 passed 2025-08-26 10:50:30,750 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 10:50:30,750 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45846856-35048939, IP 92.157.62.195, Port 22 2025-08-26 10:50:30,905 - DEBUG - VM ctest-TestBasicPolicy-45846856-35048939 is ready for SSH connections 2025-08-26 10:50:30,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 10:50:30,905 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.157.62.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-26 10:50:30,905 - DEBUG - ping -s 56 -c 3 -W 1 92.157.62.195 2025-08-26 10:50:49,286 - DEBUG - PING 92.157.62.195 (92.157.62.195): 56 data bytes 64 bytes from 92.157.62.195: seq=0 ttl=63 time=3.197 ms 64 bytes from 92.157.62.195: seq=1 ttl=63 time=0.985 ms 64 bytes from 92.157.62.195: seq=2 ttl=63 time=0.927 ms --- 92.157.62.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.927/1.703/3.197 ms 2025-08-26 10:50:49,287 - INFO - Ping to IP 92.157.62.195 from VM ctest-TestBasicPolicy-45846856-71019759 passed 2025-08-26 10:50:49,473 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2da0ae67-b3e7-41b1-8183-14b8027ef54a", "href": "http://10.0.0.22:8082/network-policy/2da0ae67-b3e7-41b1-8183-14b8027ef54a"}} 2025-08-26 10:50:49,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 10:50:49,474 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.157.62.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-26 10:50:49,474 - DEBUG - ping -s 56 -c 3 -W 1 92.157.62.195 2025-08-26 10:50:52,683 - DEBUG - PING 92.157.62.195 (92.157.62.195): 56 data bytes --- 92.157.62.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-26 10:50:52,683 - WARNING - Ping to IP 92.157.62.195 from VM ctest-TestBasicPolicy-45846856-71019759 failed 2025-08-26 10:50:52,684 - INFO - Deleting VM ctest-TestBasicPolicy-45846856-35048939 2025-08-26 10:50:52,762 - INFO - Deleting VM ctest-TestBasicPolicy-45846856-71019759 2025-08-26 10:50:53,168 - INFO - Deleted policy ctest-policy-allow-all-21330559 2025-08-26 10:50:53,168 - INFO - Deleting VN ctest-vn-12682447 2025-08-26 10:50:53,206 - DEBUG - VN 8aae929f-6f22-492a-be0c-b1453b76ef11 still in use: Unable to complete operation on network 8aae929f-6f22-492a-be0c-b1453b76ef11. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-96ab0425-863c-408e-9503-72d74c0e7b7e'] 2025-08-26 10:50:53,206 - WARNING - Deleting VN ctest-vn-12682447 failed..Will retry 2025-08-26 10:50:55,306 - DEBUG - Response for deleting network () 2025-08-26 10:50:55,306 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1eb6c318-c7b2-4438-a94c-a30476534426 2025-08-26 10:50:55,315 - DEBUG - Response Code: 404 2025-08-26 10:50:55,316 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-26 10:50:55,322 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2b2a49ac-6a70-4755-853b-667a1a09565f 2025-08-26 10:50:55,375 - DEBUG - Requesting: http://10.0.0.22:8082/project/ddf84292-1dcb-43d7-9fcd-f4b691f6f3b9 2025-08-26 10:50:55,451 - INFO - Validated that VN ctest-vn-12682447 is not found in API Server 2025-08-26 10:50:55,462 - DEBUG - VN ctest-vn-12682447 is not present in Agent 10.0.0.22 2025-08-26 10:50:55,462 - INFO - Validated that VN ctest-vn-12682447 is not in any agent 2025-08-26 10:50:55,478 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12682447 info 2025-08-26 10:50:55,478 - INFO - Deleting VN ctest-vn-68468358 2025-08-26 10:50:55,596 - DEBUG - Response for deleting network () 2025-08-26 10:50:55,596 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/94a3ec41-9a18-4fe0-99ed-c6396a8cfc8c 2025-08-26 10:50:55,608 - DEBUG - Response Code: 404 2025-08-26 10:50:55,608 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-26 10:50:55,619 - DEBUG - Requesting: http://10.0.0.22:8082/domain/2b2a49ac-6a70-4755-853b-667a1a09565f 2025-08-26 10:50:55,675 - DEBUG - Requesting: http://10.0.0.22:8082/project/ddf84292-1dcb-43d7-9fcd-f4b691f6f3b9 2025-08-26 10:50:55,757 - INFO - Validated that VN ctest-vn-68468358 is not found in API Server 2025-08-26 10:50:55,770 - DEBUG - VN ctest-vn-68468358 is not present in Agent 10.0.0.22 2025-08-26 10:50:55,770 - INFO - Validated that VN ctest-vn-68468358 is not in any agent 2025-08-26 10:50:55,790 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68468358 info 2025-08-26 10:50:56,043 - DEBUG - No XMPP flaps were noticed during the test
2025-08-26 10:50:56,044 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:45]
2025-08-26 10:50:56,044 - INFO - -------------------------------------------------------------------------------- 2025-08-26 10:50:56,716 - INFO - Deleted project: ctest-TestBasicPolicy-45846856, ID : ddf84292-1dcb-43d7-9fcd-f4b691f6f3b9