2025-01-07 13:54:31,845 - INFO - Domain Default found not creating 2025-01-07 13:54:31,988 - INFO - Project ctest-TestBasicPolicy-38961603 not found, creating it 2025-01-07 13:54:32,449 - INFO - Created Project:ctest-TestBasicPolicy-38961603, ID : 94c17ffc-0d47-4556-8e6f-dc27bb773ea5 2025-01-07 13:54:33,888 - INFO - ================================================================================ 2025-01-07 13:54:33,888 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-07 13:54:33,888 - 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-01-07 13:54:34,141 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.5': '0'}} with 2025-01-07 13:54:34,141 - INFO - Initial checks done. Running the testcase now 2025-01-07 13:54:34,141 - INFO - 2025-01-07 13:54:34,680 - DEBUG - Response for create_network : {'network': {'id': 'ab4c46e5-4968-4e75-90f4-7c2072ba7d7d', 'name': 'ctest-vn-13377162', 'tenant_id': '94c17ffc0d4745568e6fdc27bb773ea5', 'project_id': '94c17ffc0d4745568e6fdc27bb773ea5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38961603', 'ctest-vn-13377162'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 13:54:34,870 - DEBUG - Response for create_subnet : {'subnet': {'id': '01cfa4e6-dec0-4b01-b6b7-17d1523dc63c', 'name': '', 'tenant_id': '94c17ffc0d4745568e6fdc27bb773ea5', 'network_id': 'ab4c46e5-4968-4e75-90f4-7c2072ba7d7d', 'ip_version': 4, 'cidr': '156.57.253.64/26', 'allocation_pools': [{'start': '156.57.253.66', 'end': '156.57.253.126'}], 'gateway_ip': '156.57.253.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.57.253.66', 'tags': [], 'project_id': '94c17ffc0d4745568e6fdc27bb773ea5'}} 2025-01-07 13:54:34,889 - INFO - Created VN ctest-vn-13377162 2025-01-07 13:54:34,943 - DEBUG - VN ctest-vn-13377162 UUID is ab4c46e5-4968-4e75-90f4-7c2072ba7d7d 2025-01-07 13:54:35,235 - DEBUG - Response for create_network : {'network': {'id': 'f1338b4e-1566-4353-9298-45b2fe4a4705', 'name': 'ctest-vn-99963247', 'tenant_id': '94c17ffc0d4745568e6fdc27bb773ea5', 'project_id': '94c17ffc0d4745568e6fdc27bb773ea5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38961603', 'ctest-vn-99963247'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 13:54:35,420 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bea0cf7b-79a0-4b29-ab01-1b8dfa98955d', 'name': '', 'tenant_id': '94c17ffc0d4745568e6fdc27bb773ea5', 'network_id': 'f1338b4e-1566-4353-9298-45b2fe4a4705', 'ip_version': 4, 'cidr': '82.76.222.0/26', 'allocation_pools': [{'start': '82.76.222.2', 'end': '82.76.222.62'}], 'gateway_ip': '82.76.222.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.76.222.2', 'tags': [], 'project_id': '94c17ffc0d4745568e6fdc27bb773ea5'}} 2025-01-07 13:54:35,438 - INFO - Created VN ctest-vn-99963247 2025-01-07 13:54:35,491 - DEBUG - VN ctest-vn-99963247 UUID is f1338b4e-1566-4353-9298-45b2fe4a4705 2025-01-07 13:54:35,604 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38961603:ctest-vn-13377162, 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-38961603:ctest-vn-99963247, 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-01-07 13:54:35,901 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ab4c46e5-4968-4e75-90f4-7c2072ba7d7d', 'name': 'ctest-vn-13377162', 'tenant_id': '94c17ffc0d4745568e6fdc27bb773ea5', 'project_id': '94c17ffc0d4745568e6fdc27bb773ea5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['01cfa4e6-dec0-4b01-b6b7-17d1523dc63c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38961603', 'ctest-vn-13377162'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38961603', 'ctest-policy-allow-all-04229740']], 'subnet_ipam': [{'subnet_cidr': '156.57.253.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-07 13:54:36,178 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f1338b4e-1566-4353-9298-45b2fe4a4705', 'name': 'ctest-vn-99963247', 'tenant_id': '94c17ffc0d4745568e6fdc27bb773ea5', 'project_id': '94c17ffc0d4745568e6fdc27bb773ea5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bea0cf7b-79a0-4b29-ab01-1b8dfa98955d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38961603', 'ctest-vn-99963247'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38961603', 'ctest-policy-allow-all-04229740']], 'subnet_ipam': [{'subnet_cidr': '82.76.222.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-07 13:54:36,339 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-01-07 13:54:36,638 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-01-07 13:54:36,666 - DEBUG - Requesting: http://10.0.0.12:8082/domain/87c52906-3423-450c-9785-b252f5c88e7f 2025-01-07 13:54:36,679 - DEBUG - Requesting: http://10.0.0.12:8082/project/94c17ffc-0d47-4556-8e6f-dc27bb773ea5 2025-01-07 13:54:36,760 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/ab4c46e5-4968-4e75-90f4-7c2072ba7d7d 2025-01-07 13:54:36,772 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/ab4c46e5-4968-4e75-90f4-7c2072ba7d7d 2025-01-07 13:54:36,782 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/f1d7de2b-9534-4b0b-9647-4c96503cefd4 2025-01-07 13:54:36,790 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/f1d7de2b-9534-4b0b-9647-4c96503cefd4 2025-01-07 13:54:36,799 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/c3cd534a-dd38-4e8a-97bd-71b1954e9fad 2025-01-07 13:54:36,806 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-07 13:54:36,806 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/ab4c46e5-4968-4e75-90f4-7c2072ba7d7d 2025-01-07 13:54:36,820 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/f1d7de2b-9534-4b0b-9647-4c96503cefd4 2025-01-07 13:54:36,838 - INFO - Verified VN network id 8 for VN ab4c46e5-4968-4e75-90f4-7c2072ba7d7d 2025-01-07 13:54:36,838 - INFO - Verifications in API Server for VN ctest-vn-13377162 passed 2025-01-07 13:54:36,839 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/ab4c46e5-4968-4e75-90f4-7c2072ba7d7d 2025-01-07 13:54:36,850 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/f1d7de2b-9534-4b0b-9647-4c96503cefd4 2025-01-07 13:54:36,857 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/f1d7de2b-9534-4b0b-9647-4c96503cefd4 2025-01-07 13:54:36,864 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/c3cd534a-dd38-4e8a-97bd-71b1954e9fad 2025-01-07 13:54:36,876 - DEBUG - Control-node 10.0.0.12 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38961603:ctest-vn-13377162', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38961603', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12343318629308714613', 'uuid-lslong': '10445109914584644989'}, 'enable': 'true', 'created': '2025-01-07T13:54:34', 'last-modified': '2025-01-07T13:54:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.999810'} 2025-01-07 13:54:36,882 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-07 13:54:36,882 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13377162 passed 2025-01-07 13:54:36,882 - DEBUG - ====Verifying policy data for ctest-vn-13377162 in API_Server ====== 2025-01-07 13:54:36,882 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-01-07 13:54:36,888 - DEBUG - Requesting: http://10.0.0.12:8082/domain/87c52906-3423-450c-9785-b252f5c88e7f 2025-01-07 13:54:36,902 - DEBUG - Requesting: http://10.0.0.12:8082/project/94c17ffc-0d47-4556-8e6f-dc27bb773ea5 2025-01-07 13:54:36,974 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/ab4c46e5-4968-4e75-90f4-7c2072ba7d7d 2025-01-07 13:54:36,985 - DEBUG - ==>Verifying data for policy with id: 01092773-4172-456c-8bc3-92f48555c683, fqn: ['default-domain', 'ctest-TestBasicPolicy-38961603', 'ctest-policy-allow-all-04229740'] 2025-01-07 13:54:36,985 - INFO - VN ctest-vn-13377162 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-07 13:54:36,985 - DEBUG - Verifying the vn in opserver 2025-01-07 13:54:36,985 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38961603:ctest-vn-13377162 virtual network link through opserver 10.0.0.12 2025-01-07 13:54:36,985 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2025-01-07 13:54:37,275 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2025-01-07 13:54:37,333 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38961603:ctest-vn-13377162', 'href': 'http://10.0.0.12:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38961603:ctest-vn-13377162?flat'} 2025-01-07 13:54:37,333 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38961603:ctest-vn-13377162 is found in opserver 2025-01-07 13:54:37,345 - DEBUG - Do not have enough data to verify VN in agent 2025-01-07 13:54:37,351 - DEBUG - VRF ids for VN ctest-vn-13377162: {} 2025-01-07 13:54:37,352 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-01-07 13:54:37,357 - DEBUG - Requesting: http://10.0.0.12:8082/domain/87c52906-3423-450c-9785-b252f5c88e7f 2025-01-07 13:54:37,370 - DEBUG - Requesting: http://10.0.0.12:8082/project/94c17ffc-0d47-4556-8e6f-dc27bb773ea5 2025-01-07 13:54:37,446 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/f1338b4e-1566-4353-9298-45b2fe4a4705 2025-01-07 13:54:37,459 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/f1338b4e-1566-4353-9298-45b2fe4a4705 2025-01-07 13:54:37,468 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/4ae9bd50-7e42-43d7-bda2-aaae7ce16dd6 2025-01-07 13:54:37,476 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/4ae9bd50-7e42-43d7-bda2-aaae7ce16dd6 2025-01-07 13:54:37,484 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/81a80a43-8e91-40dc-93c8-138b44f2e781 2025-01-07 13:54:37,492 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-07 13:54:37,492 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/f1338b4e-1566-4353-9298-45b2fe4a4705 2025-01-07 13:54:37,502 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/4ae9bd50-7e42-43d7-bda2-aaae7ce16dd6 2025-01-07 13:54:37,517 - INFO - Verified VN network id 9 for VN f1338b4e-1566-4353-9298-45b2fe4a4705 2025-01-07 13:54:37,517 - INFO - Verifications in API Server for VN ctest-vn-99963247 passed 2025-01-07 13:54:37,517 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/f1338b4e-1566-4353-9298-45b2fe4a4705 2025-01-07 13:54:37,529 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/4ae9bd50-7e42-43d7-bda2-aaae7ce16dd6 2025-01-07 13:54:37,537 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/4ae9bd50-7e42-43d7-bda2-aaae7ce16dd6 2025-01-07 13:54:37,545 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/81a80a43-8e91-40dc-93c8-138b44f2e781 2025-01-07 13:54:37,558 - DEBUG - Control-node 10.0.0.12 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38961603:ctest-vn-99963247', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38961603', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17380388554435609427', 'uuid-lslong': '10563269561070274309'}, 'enable': 'true', 'created': '2025-01-07T13:54:35', 'last-modified': '2025-01-07T13:54:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.444726'} 2025-01-07 13:54:37,566 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-07 13:54:37,566 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99963247 passed 2025-01-07 13:54:37,566 - DEBUG - ====Verifying policy data for ctest-vn-99963247 in API_Server ====== 2025-01-07 13:54:37,566 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-01-07 13:54:37,572 - DEBUG - Requesting: http://10.0.0.12:8082/domain/87c52906-3423-450c-9785-b252f5c88e7f 2025-01-07 13:54:37,587 - DEBUG - Requesting: http://10.0.0.12:8082/project/94c17ffc-0d47-4556-8e6f-dc27bb773ea5 2025-01-07 13:54:37,663 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/f1338b4e-1566-4353-9298-45b2fe4a4705 2025-01-07 13:54:37,675 - DEBUG - ==>Verifying data for policy with id: 01092773-4172-456c-8bc3-92f48555c683, fqn: ['default-domain', 'ctest-TestBasicPolicy-38961603', 'ctest-policy-allow-all-04229740'] 2025-01-07 13:54:37,675 - INFO - VN ctest-vn-99963247 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-07 13:54:37,675 - DEBUG - Verifying the vn in opserver 2025-01-07 13:54:37,675 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38961603:ctest-vn-99963247 virtual network link through opserver 10.0.0.12 2025-01-07 13:54:37,675 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2025-01-07 13:54:37,687 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38961603:ctest-vn-99963247', 'href': 'http://10.0.0.12:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38961603:ctest-vn-99963247?flat'} 2025-01-07 13:54:37,687 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38961603:ctest-vn-99963247 is found in opserver 2025-01-07 13:54:37,698 - DEBUG - Do not have enough data to verify VN in agent 2025-01-07 13:54:37,704 - DEBUG - VRF ids for VN ctest-vn-99963247: {} 2025-01-07 13:54:37,763 - DEBUG - Services list from nova: [, , ] 2025-01-07 13:54:38,870 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2550-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2550-1) 2025-01-07 13:54:40,079 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2550-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2550-1) 2025-01-07 13:54:40,079 - INFO - Waiting for VM ctest-TestBasicPolicy-38961603-00961434 to be up.. 2025-01-07 13:54:40,159 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-07 13:54:45,244 - DEBUG - VM is in ACTIVE state now 2025-01-07 13:54:45,244 - INFO - VM name : ctest-TestBasicPolicy-38961603-00961434 2025-01-07 13:54:45,323 - DEBUG - VM ctest-TestBasicPolicy-38961603-00961434 ID is 51298d41-dfb4-4aef-9447-fa86e00a9fa4 2025-01-07 13:54:45,341 - DEBUG - VM ctest-TestBasicPolicy-38961603-00961434 launched on Node cn-jenkins-deploy-platform-ansible-os-2550-1 2025-01-07 13:54:45,419 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/51298d41-dfb4-4aef-9447-fa86e00a9fa4 2025-01-07 13:54:45,429 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/0bd01e38-7c09-4aba-af99-6fa086bf2c77 2025-01-07 13:54:48,684 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms') 2025-01-07 13:54:48,684 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38961603-00961434 failed! 2025-01-07 13:54:48,739 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-38961603:ctest-vn-13377162 is 156.57.253.65 and allocation pool is NOT set 2025-01-07 13:54:50,800 - 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=3.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.581 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.581/1.890/3.200/1.309 ms') 2025-01-07 13:54:50,800 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38961603-00961434 passed 2025-01-07 13:54:50,951 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 13:54:50,951 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38961603-00961434, IP 156.57.253.67, Port 22 2025-01-07 13:54:51,118 - DEBUG - VM ctest-TestBasicPolicy-38961603-00961434 is ready for SSH connections 2025-01-07 13:54:51,118 - INFO - Waiting for VM ctest-TestBasicPolicy-38961603-76765384 to be up.. 2025-01-07 13:54:51,201 - DEBUG - VM is in ACTIVE state now 2025-01-07 13:54:51,201 - INFO - VM name : ctest-TestBasicPolicy-38961603-76765384 2025-01-07 13:54:51,282 - DEBUG - VM ctest-TestBasicPolicy-38961603-76765384 ID is 798d083a-ece0-4e58-8892-5aa6ec723e09 2025-01-07 13:54:51,282 - DEBUG - VM ctest-TestBasicPolicy-38961603-76765384 launched on Node cn-jenkins-deploy-platform-ansible-os-2550-1 2025-01-07 13:54:51,372 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/798d083a-ece0-4e58-8892-5aa6ec723e09 2025-01-07 13:54:51,383 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/ca41ab12-65d6-476e-b32d-4ae0ca676388 2025-01-07 13:54:52,615 - 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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.375 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.375/1.926/3.478/1.551 ms') 2025-01-07 13:54:52,615 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-38961603-76765384 passed 2025-01-07 13:54:52,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 13:54:52,763 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38961603-76765384, IP 82.76.222.3, Port 22 2025-01-07 13:54:52,918 - DEBUG - VM ctest-TestBasicPolicy-38961603-76765384 is ready for SSH connections 2025-01-07 13:54:52,918 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 13:54:52,918 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.76.222.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2025-01-07 13:54:52,918 - DEBUG - ping -s 56 -c 3 -W 1 82.76.222.3 2025-01-07 13:54:56,949 - DEBUG - PING 82.76.222.3 (82.76.222.3): 56 data bytes 64 bytes from 82.76.222.3: seq=0 ttl=63 time=3.810 ms 64 bytes from 82.76.222.3: seq=1 ttl=63 time=0.828 ms 64 bytes from 82.76.222.3: seq=2 ttl=63 time=0.769 ms --- 82.76.222.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.769/1.802/3.810 ms 2025-01-07 13:54:56,950 - INFO - Ping to IP 82.76.222.3 from VM ctest-TestBasicPolicy-38961603-00961434 passed 2025-01-07 13:54:57,130 - DEBUG - Policy Update Response {"network-policy": {"uuid": "01092773-4172-456c-8bc3-92f48555c683", "href": "http://10.0.0.12:8082/network-policy/01092773-4172-456c-8bc3-92f48555c683"}} 2025-01-07 13:54:57,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 13:54:57,131 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.76.222.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2025-01-07 13:54:57,131 - DEBUG - ping -s 56 -c 3 -W 1 82.76.222.3 2025-01-07 13:55:00,330 - DEBUG - PING 82.76.222.3 (82.76.222.3): 56 data bytes 64 bytes from 82.76.222.3: seq=0 ttl=63 time=1.332 ms --- 82.76.222.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.332/1.332/1.332 ms 2025-01-07 13:55:00,330 - WARNING - Ping to IP 82.76.222.3 from VM ctest-TestBasicPolicy-38961603-00961434 failed 2025-01-07 13:55:00,330 - INFO - Deleting VM ctest-TestBasicPolicy-38961603-76765384 2025-01-07 13:55:00,395 - INFO - Deleting VM ctest-TestBasicPolicy-38961603-00961434 2025-01-07 13:55:00,800 - INFO - Deleted policy ctest-policy-allow-all-04229740 2025-01-07 13:55:00,801 - INFO - Deleting VN ctest-vn-99963247 2025-01-07 13:55:00,833 - DEBUG - VN f1338b4e-1566-4353-9298-45b2fe4a4705 still in use: Unable to complete operation on network f1338b4e-1566-4353-9298-45b2fe4a4705. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1ab2a271-e4f0-468f-986e-439f8e231873'] 2025-01-07 13:55:00,833 - WARNING - Deleting VN ctest-vn-99963247 failed..Will retry 2025-01-07 13:55:02,962 - DEBUG - Response for deleting network () 2025-01-07 13:55:02,962 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/4ae9bd50-7e42-43d7-bda2-aaae7ce16dd6 2025-01-07 13:55:02,970 - DEBUG - Response Code: 404 2025-01-07 13:55:02,970 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-01-07 13:55:02,980 - DEBUG - Requesting: http://10.0.0.12:8082/domain/87c52906-3423-450c-9785-b252f5c88e7f 2025-01-07 13:55:03,038 - DEBUG - Requesting: http://10.0.0.12:8082/project/94c17ffc-0d47-4556-8e6f-dc27bb773ea5 2025-01-07 13:55:03,119 - INFO - Validated that VN ctest-vn-99963247 is not found in API Server 2025-01-07 13:55:03,133 - DEBUG - VN ctest-vn-99963247 is not present in Agent 10.0.0.12 2025-01-07 13:55:03,133 - INFO - Validated that VN ctest-vn-99963247 is not in any agent 2025-01-07 13:55:03,154 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99963247 info 2025-01-07 13:55:03,154 - INFO - Deleting VN ctest-vn-13377162 2025-01-07 13:55:03,340 - DEBUG - Response for deleting network () 2025-01-07 13:55:03,340 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/f1d7de2b-9534-4b0b-9647-4c96503cefd4 2025-01-07 13:55:03,350 - DEBUG - Response Code: 404 2025-01-07 13:55:03,350 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-01-07 13:55:03,358 - DEBUG - Requesting: http://10.0.0.12:8082/domain/87c52906-3423-450c-9785-b252f5c88e7f 2025-01-07 13:55:03,421 - DEBUG - Requesting: http://10.0.0.12:8082/project/94c17ffc-0d47-4556-8e6f-dc27bb773ea5 2025-01-07 13:55:03,506 - INFO - Validated that VN ctest-vn-13377162 is not found in API Server 2025-01-07 13:55:03,520 - DEBUG - VN ctest-vn-13377162 is not present in Agent 10.0.0.12 2025-01-07 13:55:03,520 - INFO - Validated that VN ctest-vn-13377162 is not in any agent 2025-01-07 13:55:03,542 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13377162 info 2025-01-07 13:55:03,798 - DEBUG - No XMPP flaps were noticed during the test 2025-01-07 13:55:03,799 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-01-07 13:55:03,799 - INFO - -------------------------------------------------------------------------------- 2025-01-07 13:55:04,503 - INFO - Deleted project: ctest-TestBasicPolicy-38961603, ID : 94c17ffc-0d47-4556-8e6f-dc27bb773ea5