2025-04-22 13:40:08,103 - INFO - Domain Default found not creating 2025-04-22 13:40:08,224 - INFO - Project ctest-TestBasicPolicy-10591134 not found, creating it 2025-04-22 13:40:08,676 - INFO - Created Project:ctest-TestBasicPolicy-10591134, ID : 32b5bbcf-d30a-4fe7-9b4d-cbf96f10504c 2025-04-22 13:40:10,082 - INFO - ================================================================================ 2025-04-22 13:40:10,082 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-22 13:40:10,083 - 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-04-22 13:40:10,341 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-04-22 13:40:10,341 - INFO - Initial checks done. Running the testcase now 2025-04-22 13:40:10,341 - INFO - 2025-04-22 13:40:10,845 - DEBUG - Response for create_network : {'network': {'id': '55f883e6-6e21-4cb3-8946-b24174ce63b5', 'name': 'ctest-vn-91837952', 'tenant_id': '32b5bbcfd30a4fe79b4dcbf96f10504c', 'project_id': '32b5bbcfd30a4fe79b4dcbf96f10504c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10591134', 'ctest-vn-91837952'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 13:40:11,146 - DEBUG - Response for create_subnet : {'subnet': {'id': '4eb5a53c-6481-4d65-9980-652399ae17bd', 'name': '', 'tenant_id': '32b5bbcfd30a4fe79b4dcbf96f10504c', 'network_id': '55f883e6-6e21-4cb3-8946-b24174ce63b5', 'ip_version': 4, 'cidr': '71.175.163.64/26', 'allocation_pools': [{'start': '71.175.163.66', 'end': '71.175.163.126'}], 'gateway_ip': '71.175.163.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.175.163.66', 'tags': [], 'project_id': '32b5bbcfd30a4fe79b4dcbf96f10504c'}} 2025-04-22 13:40:11,162 - INFO - Created VN ctest-vn-91837952 2025-04-22 13:40:11,212 - DEBUG - VN ctest-vn-91837952 UUID is 55f883e6-6e21-4cb3-8946-b24174ce63b5 2025-04-22 13:40:11,504 - DEBUG - Response for create_network : {'network': {'id': '8d90d70a-3bf1-496d-aaa3-6196f8f1713c', 'name': 'ctest-vn-76508258', 'tenant_id': '32b5bbcfd30a4fe79b4dcbf96f10504c', 'project_id': '32b5bbcfd30a4fe79b4dcbf96f10504c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10591134', 'ctest-vn-76508258'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 13:40:11,669 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de54b417-4841-49b0-90b1-f1f90fd41360', 'name': '', 'tenant_id': '32b5bbcfd30a4fe79b4dcbf96f10504c', 'network_id': '8d90d70a-3bf1-496d-aaa3-6196f8f1713c', 'ip_version': 4, 'cidr': '43.166.126.0/26', 'allocation_pools': [{'start': '43.166.126.2', 'end': '43.166.126.62'}], 'gateway_ip': '43.166.126.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.166.126.2', 'tags': [], 'project_id': '32b5bbcfd30a4fe79b4dcbf96f10504c'}} 2025-04-22 13:40:11,684 - INFO - Created VN ctest-vn-76508258 2025-04-22 13:40:11,736 - DEBUG - VN ctest-vn-76508258 UUID is 8d90d70a-3bf1-496d-aaa3-6196f8f1713c 2025-04-22 13:40:11,880 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-10591134:ctest-vn-91837952, 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-10591134:ctest-vn-76508258, 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-04-22 13:40:12,147 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '55f883e6-6e21-4cb3-8946-b24174ce63b5', 'name': 'ctest-vn-91837952', 'tenant_id': '32b5bbcfd30a4fe79b4dcbf96f10504c', 'project_id': '32b5bbcfd30a4fe79b4dcbf96f10504c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4eb5a53c-6481-4d65-9980-652399ae17bd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10591134', 'ctest-vn-91837952'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10591134', 'ctest-policy-allow-all-67337842']], 'subnet_ipam': [{'subnet_cidr': '71.175.163.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-22 13:40:12,374 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8d90d70a-3bf1-496d-aaa3-6196f8f1713c', 'name': 'ctest-vn-76508258', 'tenant_id': '32b5bbcfd30a4fe79b4dcbf96f10504c', 'project_id': '32b5bbcfd30a4fe79b4dcbf96f10504c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['de54b417-4841-49b0-90b1-f1f90fd41360'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10591134', 'ctest-vn-76508258'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10591134', 'ctest-policy-allow-all-67337842']], 'subnet_ipam': [{'subnet_cidr': '43.166.126.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-22 13:40:12,536 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-04-22 13:40:12,824 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-04-22 13:40:12,847 - DEBUG - Requesting: http://10.0.0.33:8082/domain/4ccfebca-2d2d-44d1-9531-e1039860dba8 2025-04-22 13:40:12,867 - DEBUG - Requesting: http://10.0.0.33:8082/project/32b5bbcf-d30a-4fe7-9b4d-cbf96f10504c 2025-04-22 13:40:12,933 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/55f883e6-6e21-4cb3-8946-b24174ce63b5 2025-04-22 13:40:12,944 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/55f883e6-6e21-4cb3-8946-b24174ce63b5 2025-04-22 13:40:12,952 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4d81d56f-0d50-496c-aba5-9ee3ab862c7d 2025-04-22 13:40:12,958 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4d81d56f-0d50-496c-aba5-9ee3ab862c7d 2025-04-22 13:40:12,964 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/fb9667b8-e848-4f45-9142-4c02482b888a 2025-04-22 13:40:12,970 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-22 13:40:12,970 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/55f883e6-6e21-4cb3-8946-b24174ce63b5 2025-04-22 13:40:12,978 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4d81d56f-0d50-496c-aba5-9ee3ab862c7d 2025-04-22 13:40:12,989 - INFO - Verified VN network id 9 for VN 55f883e6-6e21-4cb3-8946-b24174ce63b5 2025-04-22 13:40:12,989 - INFO - Verifications in API Server for VN ctest-vn-91837952 passed 2025-04-22 13:40:12,989 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/55f883e6-6e21-4cb3-8946-b24174ce63b5 2025-04-22 13:40:12,998 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4d81d56f-0d50-496c-aba5-9ee3ab862c7d 2025-04-22 13:40:13,004 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4d81d56f-0d50-496c-aba5-9ee3ab862c7d 2025-04-22 13:40:13,009 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/fb9667b8-e848-4f45-9142-4c02482b888a 2025-04-22 13:40:13,020 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10591134:ctest-vn-91837952', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10591134', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6194846313161510067', 'uuid-lslong': '9891789625768174517'}, 'enable': 'true', 'created': '2025-04-22T13:40:10', 'last-modified': '2025-04-22T13:40:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.889028'} 2025-04-22 13:40:13,026 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-22 13:40:13,026 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91837952 passed 2025-04-22 13:40:13,026 - DEBUG - ====Verifying policy data for ctest-vn-91837952 in API_Server ====== 2025-04-22 13:40:13,026 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-04-22 13:40:13,030 - DEBUG - Requesting: http://10.0.0.33:8082/domain/4ccfebca-2d2d-44d1-9531-e1039860dba8 2025-04-22 13:40:13,041 - DEBUG - Requesting: http://10.0.0.33:8082/project/32b5bbcf-d30a-4fe7-9b4d-cbf96f10504c 2025-04-22 13:40:13,116 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/55f883e6-6e21-4cb3-8946-b24174ce63b5 2025-04-22 13:40:13,128 - DEBUG - ==>Verifying data for policy with id: f8687a2a-ec98-44ee-9d01-536413622df0, fqn: ['default-domain', 'ctest-TestBasicPolicy-10591134', 'ctest-policy-allow-all-67337842'] 2025-04-22 13:40:13,128 - INFO - VN ctest-vn-91837952 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-22 13:40:13,128 - DEBUG - Verifying the vn in opserver 2025-04-22 13:40:13,128 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10591134:ctest-vn-91837952 virtual network link through opserver 10.0.0.33 2025-04-22 13:40:13,128 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-04-22 13:40:13,420 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-04-22 13:40:13,466 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10591134:ctest-vn-91837952', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10591134:ctest-vn-91837952?flat'} 2025-04-22 13:40:13,466 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10591134:ctest-vn-91837952 is found in opserver 2025-04-22 13:40:13,478 - DEBUG - Do not have enough data to verify VN in agent 2025-04-22 13:40:13,482 - DEBUG - VRF ids for VN ctest-vn-91837952: {} 2025-04-22 13:40:13,482 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-04-22 13:40:13,487 - DEBUG - Requesting: http://10.0.0.33:8082/domain/4ccfebca-2d2d-44d1-9531-e1039860dba8 2025-04-22 13:40:13,498 - DEBUG - Requesting: http://10.0.0.33:8082/project/32b5bbcf-d30a-4fe7-9b4d-cbf96f10504c 2025-04-22 13:40:13,573 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8d90d70a-3bf1-496d-aaa3-6196f8f1713c 2025-04-22 13:40:13,584 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8d90d70a-3bf1-496d-aaa3-6196f8f1713c 2025-04-22 13:40:13,593 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/26f29349-e86e-467b-bc00-fc803a166255 2025-04-22 13:40:13,600 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/26f29349-e86e-467b-bc00-fc803a166255 2025-04-22 13:40:13,606 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/6f2fdc63-83e8-4c67-9983-e546a4bff6e4 2025-04-22 13:40:13,611 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-22 13:40:13,611 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8d90d70a-3bf1-496d-aaa3-6196f8f1713c 2025-04-22 13:40:13,621 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/26f29349-e86e-467b-bc00-fc803a166255 2025-04-22 13:40:13,634 - INFO - Verified VN network id 10 for VN 8d90d70a-3bf1-496d-aaa3-6196f8f1713c 2025-04-22 13:40:13,634 - INFO - Verifications in API Server for VN ctest-vn-76508258 passed 2025-04-22 13:40:13,635 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8d90d70a-3bf1-496d-aaa3-6196f8f1713c 2025-04-22 13:40:13,644 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/26f29349-e86e-467b-bc00-fc803a166255 2025-04-22 13:40:13,650 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/26f29349-e86e-467b-bc00-fc803a166255 2025-04-22 13:40:13,656 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/6f2fdc63-83e8-4c67-9983-e546a4bff6e4 2025-04-22 13:40:13,668 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10591134:ctest-vn-76508258', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10591134', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10200889594949486957', 'uuid-lslong': '12295778708701147452'}, 'enable': 'true', 'created': '2025-04-22T13:40:11', 'last-modified': '2025-04-22T13:40:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.318698'} 2025-04-22 13:40:13,674 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-22 13:40:13,674 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76508258 passed 2025-04-22 13:40:13,674 - DEBUG - ====Verifying policy data for ctest-vn-76508258 in API_Server ====== 2025-04-22 13:40:13,674 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-04-22 13:40:13,679 - DEBUG - Requesting: http://10.0.0.33:8082/domain/4ccfebca-2d2d-44d1-9531-e1039860dba8 2025-04-22 13:40:13,689 - DEBUG - Requesting: http://10.0.0.33:8082/project/32b5bbcf-d30a-4fe7-9b4d-cbf96f10504c 2025-04-22 13:40:13,762 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8d90d70a-3bf1-496d-aaa3-6196f8f1713c 2025-04-22 13:40:13,774 - DEBUG - ==>Verifying data for policy with id: f8687a2a-ec98-44ee-9d01-536413622df0, fqn: ['default-domain', 'ctest-TestBasicPolicy-10591134', 'ctest-policy-allow-all-67337842'] 2025-04-22 13:40:13,774 - INFO - VN ctest-vn-76508258 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-22 13:40:13,774 - DEBUG - Verifying the vn in opserver 2025-04-22 13:40:13,775 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10591134:ctest-vn-76508258 virtual network link through opserver 10.0.0.33 2025-04-22 13:40:13,775 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-04-22 13:40:13,784 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10591134:ctest-vn-76508258', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10591134:ctest-vn-76508258?flat'} 2025-04-22 13:40:13,784 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10591134:ctest-vn-76508258 is found in opserver 2025-04-22 13:40:13,795 - DEBUG - Do not have enough data to verify VN in agent 2025-04-22 13:40:13,799 - DEBUG - VRF ids for VN ctest-vn-76508258: {} 2025-04-22 13:40:13,848 - DEBUG - Services list from nova: [, , ] 2025-04-22 13:40:14,940 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3162-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3162-1) 2025-04-22 13:40:16,085 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3162-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3162-1) 2025-04-22 13:40:16,085 - INFO - Waiting for VM ctest-TestBasicPolicy-10591134-76455737 to be up.. 2025-04-22 13:40:16,154 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-22 13:40:21,229 - DEBUG - VM is in ACTIVE state now 2025-04-22 13:40:21,229 - INFO - VM name : ctest-TestBasicPolicy-10591134-76455737 2025-04-22 13:40:21,297 - DEBUG - VM ctest-TestBasicPolicy-10591134-76455737 ID is 195952db-eeea-4824-a8c0-c1bcea96ede8 2025-04-22 13:40:21,314 - DEBUG - VM ctest-TestBasicPolicy-10591134-76455737 launched on Node cn-jenkins-deploy-platform-ansible-os-3162-1 2025-04-22 13:40:21,381 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/195952db-eeea-4824-a8c0-c1bcea96ede8 2025-04-22 13:40:21,388 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/13f34082-1918-4406-947b-edbb5c4ba59b 2025-04-22 13:40:24,625 - 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 1008ms') 2025-04-22 13:40:24,625 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10591134-76455737 failed! 2025-04-22 13:40:24,684 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-10591134:ctest-vn-91837952 is 71.175.163.65 and allocation pool is NOT set 2025-04-22 13:40:26,747 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.394 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.394/2.233/4.072/1.839 ms') 2025-04-22 13:40:26,747 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10591134-76455737 passed 2025-04-22 13:40:26,900 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 13:40:26,900 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10591134-76455737, IP 71.175.163.67, Port 22 2025-04-22 13:40:27,055 - DEBUG - VM ctest-TestBasicPolicy-10591134-76455737 is ready for SSH connections 2025-04-22 13:40:27,056 - INFO - Waiting for VM ctest-TestBasicPolicy-10591134-04785802 to be up.. 2025-04-22 13:40:27,151 - DEBUG - VM is in ACTIVE state now 2025-04-22 13:40:27,151 - INFO - VM name : ctest-TestBasicPolicy-10591134-04785802 2025-04-22 13:40:27,230 - DEBUG - VM ctest-TestBasicPolicy-10591134-04785802 ID is 9163f798-8a89-4925-b522-f363923e1b83 2025-04-22 13:40:27,230 - DEBUG - VM ctest-TestBasicPolicy-10591134-04785802 launched on Node cn-jenkins-deploy-platform-ansible-os-3162-1 2025-04-22 13:40:27,300 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9163f798-8a89-4925-b522-f363923e1b83 2025-04-22 13:40:27,309 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2469b9bc-d0dd-44d2-ae98-9e94a0242ac2 2025-04-22 13:40:28,546 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.446 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.446/1.583/2.720/1.137 ms') 2025-04-22 13:40:28,546 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-10591134-04785802 passed 2025-04-22 13:40:28,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 13:40:28,700 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10591134-04785802, IP 43.166.126.3, Port 22 2025-04-22 13:40:28,855 - DEBUG - VM ctest-TestBasicPolicy-10591134-04785802 is ready for SSH connections 2025-04-22 13:40:28,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 13:40:28,855 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.166.126.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-04-22 13:40:28,855 - DEBUG - ping -s 56 -c 3 -W 1 43.166.126.3 2025-04-22 13:40:32,794 - DEBUG - PING 43.166.126.3 (43.166.126.3): 56 data bytes 64 bytes from 43.166.126.3: seq=0 ttl=63 time=3.659 ms 64 bytes from 43.166.126.3: seq=1 ttl=63 time=1.150 ms 64 bytes from 43.166.126.3: seq=2 ttl=63 time=0.858 ms --- 43.166.126.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.858/1.889/3.659 ms 2025-04-22 13:40:32,794 - INFO - Ping to IP 43.166.126.3 from VM ctest-TestBasicPolicy-10591134-76455737 passed 2025-04-22 13:40:32,967 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f8687a2a-ec98-44ee-9d01-536413622df0", "href": "http://10.0.0.33:8082/network-policy/f8687a2a-ec98-44ee-9d01-536413622df0"}} 2025-04-22 13:40:32,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 13:40:32,968 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.166.126.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-04-22 13:40:32,968 - DEBUG - ping -s 56 -c 3 -W 1 43.166.126.3 2025-04-22 13:40:36,179 - DEBUG - PING 43.166.126.3 (43.166.126.3): 56 data bytes --- 43.166.126.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-22 13:40:36,179 - WARNING - Ping to IP 43.166.126.3 from VM ctest-TestBasicPolicy-10591134-76455737 failed 2025-04-22 13:40:36,179 - INFO - Deleting VM ctest-TestBasicPolicy-10591134-04785802 2025-04-22 13:40:36,239 - INFO - Deleting VM ctest-TestBasicPolicy-10591134-76455737 2025-04-22 13:40:36,566 - INFO - Deleted policy ctest-policy-allow-all-67337842 2025-04-22 13:40:36,566 - INFO - Deleting VN ctest-vn-76508258 2025-04-22 13:40:36,597 - DEBUG - VN 8d90d70a-3bf1-496d-aaa3-6196f8f1713c still in use: Unable to complete operation on network 8d90d70a-3bf1-496d-aaa3-6196f8f1713c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c335dd6b-e6bc-4fc5-84e9-e54365ccdcc2'] 2025-04-22 13:40:36,597 - WARNING - Deleting VN ctest-vn-76508258 failed..Will retry 2025-04-22 13:40:38,687 - DEBUG - Response for deleting network () 2025-04-22 13:40:38,688 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/26f29349-e86e-467b-bc00-fc803a166255 2025-04-22 13:40:38,694 - DEBUG - Response Code: 404 2025-04-22 13:40:38,694 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-04-22 13:40:38,698 - DEBUG - Requesting: http://10.0.0.33:8082/domain/4ccfebca-2d2d-44d1-9531-e1039860dba8 2025-04-22 13:40:38,752 - DEBUG - Requesting: http://10.0.0.33:8082/project/32b5bbcf-d30a-4fe7-9b4d-cbf96f10504c 2025-04-22 13:40:38,824 - INFO - Validated that VN ctest-vn-76508258 is not found in API Server 2025-04-22 13:40:38,833 - DEBUG - VN ctest-vn-76508258 is not present in Agent 10.0.0.33 2025-04-22 13:40:38,833 - INFO - Validated that VN ctest-vn-76508258 is not in any agent 2025-04-22 13:40:38,851 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76508258 info 2025-04-22 13:40:38,851 - INFO - Deleting VN ctest-vn-91837952 2025-04-22 13:40:38,937 - DEBUG - Response for deleting network () 2025-04-22 13:40:38,938 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4d81d56f-0d50-496c-aba5-9ee3ab862c7d 2025-04-22 13:40:38,945 - DEBUG - Response Code: 404 2025-04-22 13:40:38,945 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-04-22 13:40:38,949 - DEBUG - Requesting: http://10.0.0.33:8082/domain/4ccfebca-2d2d-44d1-9531-e1039860dba8 2025-04-22 13:40:39,000 - DEBUG - Requesting: http://10.0.0.33:8082/project/32b5bbcf-d30a-4fe7-9b4d-cbf96f10504c 2025-04-22 13:40:39,067 - INFO - Validated that VN ctest-vn-91837952 is not found in API Server 2025-04-22 13:40:39,078 - DEBUG - VN ctest-vn-91837952 is not present in Agent 10.0.0.33 2025-04-22 13:40:39,078 - INFO - Validated that VN ctest-vn-91837952 is not in any agent 2025-04-22 13:40:39,092 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91837952 info 2025-04-22 13:40:39,341 - DEBUG - No XMPP flaps were noticed during the test
2025-04-22 13:40:39,341 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-04-22 13:40:39,341 - INFO - -------------------------------------------------------------------------------- 2025-04-22 13:40:39,972 - INFO - Deleted project: ctest-TestBasicPolicy-10591134, ID : 32b5bbcf-d30a-4fe7-9b4d-cbf96f10504c