2024-09-17 09:43:05,973 - INFO - Domain Default found not creating 2024-09-17 09:43:06,161 - INFO - Project ctest-TestBasicPolicy-11687102 not found, creating it 2024-09-17 09:43:06,687 - INFO - Created Project:ctest-TestBasicPolicy-11687102, ID : 94507435-5125-4317-8f02-1917e622b985 2024-09-17 09:43:08,439 - INFO - ================================================================================ 2024-09-17 09:43:08,440 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-17 09:43:08,440 - 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 2024-09-17 09:43:08,696 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.20': '0'}} with 2024-09-17 09:43:08,696 - INFO - Initial checks done. Running the testcase now 2024-09-17 09:43:08,696 - INFO - 2024-09-17 09:43:09,344 - DEBUG - Response for create_network : {'network': {'id': 'a9ee37e2-90c5-4b96-b3af-82287073be4a', 'name': 'ctest-vn-92035634', 'tenant_id': '94507435512543178f021917e622b985', 'project_id': '94507435512543178f021917e622b985', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11687102', 'ctest-vn-92035634'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 09:43:09,557 - DEBUG - Response for create_subnet : {'subnet': {'id': '218ba60b-1738-4be1-a986-9175c645f176', 'name': '', 'tenant_id': '94507435512543178f021917e622b985', 'network_id': 'a9ee37e2-90c5-4b96-b3af-82287073be4a', 'ip_version': 4, 'cidr': '155.252.140.128/26', 'allocation_pools': [{'start': '155.252.140.130', 'end': '155.252.140.190'}], 'gateway_ip': '155.252.140.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.252.140.130', 'tags': [], 'project_id': '94507435512543178f021917e622b985'}} 2024-09-17 09:43:09,581 - INFO - Created VN ctest-vn-92035634 2024-09-17 09:43:09,641 - DEBUG - VN ctest-vn-92035634 UUID is a9ee37e2-90c5-4b96-b3af-82287073be4a 2024-09-17 09:43:09,994 - DEBUG - Response for create_network : {'network': {'id': '0eed5375-181f-48f0-83f0-814496d3ecd5', 'name': 'ctest-vn-73463671', 'tenant_id': '94507435512543178f021917e622b985', 'project_id': '94507435512543178f021917e622b985', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11687102', 'ctest-vn-73463671'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 09:43:10,237 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b55dd42-2a59-48fa-8e22-e8b071cb25d9', 'name': '', 'tenant_id': '94507435512543178f021917e622b985', 'network_id': '0eed5375-181f-48f0-83f0-814496d3ecd5', 'ip_version': 4, 'cidr': '9.179.33.192/26', 'allocation_pools': [{'start': '9.179.33.194', 'end': '9.179.33.254'}], 'gateway_ip': '9.179.33.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.179.33.194', 'tags': [], 'project_id': '94507435512543178f021917e622b985'}} 2024-09-17 09:43:10,259 - INFO - Created VN ctest-vn-73463671 2024-09-17 09:43:10,317 - DEBUG - VN ctest-vn-73463671 UUID is 0eed5375-181f-48f0-83f0-814496d3ecd5 2024-09-17 09:43:10,465 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-11687102:ctest-vn-92035634, 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-11687102:ctest-vn-73463671, 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] 2024-09-17 09:43:10,815 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a9ee37e2-90c5-4b96-b3af-82287073be4a', 'name': 'ctest-vn-92035634', 'tenant_id': '94507435512543178f021917e622b985', 'project_id': '94507435512543178f021917e622b985', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['218ba60b-1738-4be1-a986-9175c645f176'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11687102', 'ctest-vn-92035634'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11687102', 'ctest-policy-allow-all-47208179']], 'subnet_ipam': [{'subnet_cidr': '155.252.140.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-17 09:43:11,091 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0eed5375-181f-48f0-83f0-814496d3ecd5', 'name': 'ctest-vn-73463671', 'tenant_id': '94507435512543178f021917e622b985', 'project_id': '94507435512543178f021917e622b985', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2b55dd42-2a59-48fa-8e22-e8b071cb25d9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11687102', 'ctest-vn-73463671'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11687102', 'ctest-policy-allow-all-47208179']], 'subnet_ipam': [{'subnet_cidr': '9.179.33.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-17 09:43:11,281 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2024-09-17 09:43:11,622 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2024-09-17 09:43:11,661 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e8c725f2-8cab-46f6-a25b-d47fe88fcda8 2024-09-17 09:43:11,677 - DEBUG - Requesting: http://10.0.0.50:8082/project/94507435-5125-4317-8f02-1917e622b985 2024-09-17 09:43:11,769 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a9ee37e2-90c5-4b96-b3af-82287073be4a 2024-09-17 09:43:11,790 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a9ee37e2-90c5-4b96-b3af-82287073be4a 2024-09-17 09:43:11,810 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/df5bcb77-c33f-47ae-8c4f-8b66ee114933 2024-09-17 09:43:11,821 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/df5bcb77-c33f-47ae-8c4f-8b66ee114933 2024-09-17 09:43:11,834 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/65989302-47b3-44a6-b49a-a5deef5f53d7 2024-09-17 09:43:11,844 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-17 09:43:11,844 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a9ee37e2-90c5-4b96-b3af-82287073be4a 2024-09-17 09:43:11,861 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/df5bcb77-c33f-47ae-8c4f-8b66ee114933 2024-09-17 09:43:11,885 - INFO - Verified VN network id 8 for VN a9ee37e2-90c5-4b96-b3af-82287073be4a 2024-09-17 09:43:11,885 - INFO - Verifications in API Server for VN ctest-vn-92035634 passed 2024-09-17 09:43:11,885 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a9ee37e2-90c5-4b96-b3af-82287073be4a 2024-09-17 09:43:11,902 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/df5bcb77-c33f-47ae-8c4f-8b66ee114933 2024-09-17 09:43:11,913 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/df5bcb77-c33f-47ae-8c4f-8b66ee114933 2024-09-17 09:43:11,923 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/65989302-47b3-44a6-b49a-a5deef5f53d7 2024-09-17 09:43:11,945 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11687102:ctest-vn-92035634', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11687102', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12244785883097942934', 'uuid-lslong': '12947710563910401610'}, 'enable': 'true', 'created': '2024-09-17T09:43:09', 'last-modified': '2024-09-17T09:43:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.163573'} 2024-09-17 09:43:11,953 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-17 09:43:11,954 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92035634 passed 2024-09-17 09:43:11,954 - DEBUG - ====Verifying policy data for ctest-vn-92035634 in API_Server ====== 2024-09-17 09:43:11,954 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2024-09-17 09:43:11,961 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e8c725f2-8cab-46f6-a25b-d47fe88fcda8 2024-09-17 09:43:11,977 - DEBUG - Requesting: http://10.0.0.50:8082/project/94507435-5125-4317-8f02-1917e622b985 2024-09-17 09:43:12,067 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a9ee37e2-90c5-4b96-b3af-82287073be4a 2024-09-17 09:43:12,085 - DEBUG - ==>Verifying data for policy with id: 05f957b7-0689-4f94-928d-5b851f0aa246, fqn: ['default-domain', 'ctest-TestBasicPolicy-11687102', 'ctest-policy-allow-all-47208179'] 2024-09-17 09:43:12,085 - INFO - VN ctest-vn-92035634 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-17 09:43:12,085 - DEBUG - Verifying the vn in opserver 2024-09-17 09:43:12,085 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11687102:ctest-vn-92035634 virtual network link through opserver 10.0.0.50 2024-09-17 09:43:12,086 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2024-09-17 09:43:12,427 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2024-09-17 09:43:12,496 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11687102:ctest-vn-92035634', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11687102:ctest-vn-92035634?flat'} 2024-09-17 09:43:12,497 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11687102:ctest-vn-92035634 is found in opserver 2024-09-17 09:43:12,512 - DEBUG - Do not have enough data to verify VN in agent 2024-09-17 09:43:12,519 - DEBUG - VRF ids for VN ctest-vn-92035634: {} 2024-09-17 09:43:12,519 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2024-09-17 09:43:12,526 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e8c725f2-8cab-46f6-a25b-d47fe88fcda8 2024-09-17 09:43:12,544 - DEBUG - Requesting: http://10.0.0.50:8082/project/94507435-5125-4317-8f02-1917e622b985 2024-09-17 09:43:12,635 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0eed5375-181f-48f0-83f0-814496d3ecd5 2024-09-17 09:43:12,654 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0eed5375-181f-48f0-83f0-814496d3ecd5 2024-09-17 09:43:12,672 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f4289f03-1c6d-4dad-851b-0aee4087ecc2 2024-09-17 09:43:12,684 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f4289f03-1c6d-4dad-851b-0aee4087ecc2 2024-09-17 09:43:12,695 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b7ac9872-775e-4f24-a406-a8b38dbb3fdc 2024-09-17 09:43:12,706 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-17 09:43:12,706 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0eed5375-181f-48f0-83f0-814496d3ecd5 2024-09-17 09:43:12,724 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f4289f03-1c6d-4dad-851b-0aee4087ecc2 2024-09-17 09:43:12,749 - INFO - Verified VN network id 9 for VN 0eed5375-181f-48f0-83f0-814496d3ecd5 2024-09-17 09:43:12,749 - INFO - Verifications in API Server for VN ctest-vn-73463671 passed 2024-09-17 09:43:12,749 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0eed5375-181f-48f0-83f0-814496d3ecd5 2024-09-17 09:43:12,765 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f4289f03-1c6d-4dad-851b-0aee4087ecc2 2024-09-17 09:43:12,775 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f4289f03-1c6d-4dad-851b-0aee4087ecc2 2024-09-17 09:43:12,785 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b7ac9872-775e-4f24-a406-a8b38dbb3fdc 2024-09-17 09:43:12,803 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11687102:ctest-vn-73463671', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11687102', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1075607648392399088', 'uuid-lslong': '9507240944967347413'}, 'enable': 'true', 'created': '2024-09-17T09:43:09', 'last-modified': '2024-09-17T09:43:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.740472'} 2024-09-17 09:43:12,811 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-17 09:43:12,811 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73463671 passed 2024-09-17 09:43:12,812 - DEBUG - ====Verifying policy data for ctest-vn-73463671 in API_Server ====== 2024-09-17 09:43:12,812 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2024-09-17 09:43:12,828 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e8c725f2-8cab-46f6-a25b-d47fe88fcda8 2024-09-17 09:43:12,844 - DEBUG - Requesting: http://10.0.0.50:8082/project/94507435-5125-4317-8f02-1917e622b985 2024-09-17 09:43:12,935 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0eed5375-181f-48f0-83f0-814496d3ecd5 2024-09-17 09:43:12,953 - DEBUG - ==>Verifying data for policy with id: 05f957b7-0689-4f94-928d-5b851f0aa246, fqn: ['default-domain', 'ctest-TestBasicPolicy-11687102', 'ctest-policy-allow-all-47208179'] 2024-09-17 09:43:12,953 - INFO - VN ctest-vn-73463671 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-17 09:43:12,953 - DEBUG - Verifying the vn in opserver 2024-09-17 09:43:12,953 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11687102:ctest-vn-73463671 virtual network link through opserver 10.0.0.50 2024-09-17 09:43:12,953 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2024-09-17 09:43:12,967 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11687102:ctest-vn-73463671', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11687102:ctest-vn-73463671?flat'} 2024-09-17 09:43:12,967 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11687102:ctest-vn-73463671 is found in opserver 2024-09-17 09:43:12,983 - DEBUG - Do not have enough data to verify VN in agent 2024-09-17 09:43:12,992 - DEBUG - VRF ids for VN ctest-vn-73463671: {} 2024-09-17 09:43:13,067 - DEBUG - Services list from nova: [, , ] 2024-09-17 09:43:14,381 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1958-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1958-1) 2024-09-17 09:43:15,738 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1958-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1958-1) 2024-09-17 09:43:15,739 - INFO - Waiting for VM ctest-TestBasicPolicy-11687102-75578792 to be up.. 2024-09-17 09:43:15,851 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-17 09:43:20,952 - DEBUG - VM is in ACTIVE state now 2024-09-17 09:43:20,952 - INFO - VM name : ctest-TestBasicPolicy-11687102-75578792 2024-09-17 09:43:21,069 - DEBUG - VM ctest-TestBasicPolicy-11687102-75578792 ID is 6414fc13-bdaa-4703-b989-dd935c8ef39b 2024-09-17 09:43:21,091 - DEBUG - VM ctest-TestBasicPolicy-11687102-75578792 launched on Node cn-jenkins-deploy-platform-ansible-os-1958-1 2024-09-17 09:43:21,191 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6414fc13-bdaa-4703-b989-dd935c8ef39b 2024-09-17 09:43:21,203 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/59d2a90f-08a2-4865-8876-34932f541285 2024-09-17 09:43:24,441 - 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 1022ms') 2024-09-17 09:43:24,442 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11687102-75578792 failed! 2024-09-17 09:43:24,505 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-11687102:ctest-vn-92035634 is 155.252.140.129 and allocation pool is NOT set 2024-09-17 09:43:26,568 - 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=16.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.92 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.917/9.637/16.358/6.720 ms') 2024-09-17 09:43:26,568 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11687102-75578792 passed 2024-09-17 09:43:26,729 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 09:43:26,729 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11687102-75578792, IP 155.252.140.131, Port 22 2024-09-17 09:43:26,899 - DEBUG - VM ctest-TestBasicPolicy-11687102-75578792 is ready for SSH connections 2024-09-17 09:43:26,899 - INFO - Waiting for VM ctest-TestBasicPolicy-11687102-12251142 to be up.. 2024-09-17 09:43:27,005 - DEBUG - VM is in ACTIVE state now 2024-09-17 09:43:27,005 - INFO - VM name : ctest-TestBasicPolicy-11687102-12251142 2024-09-17 09:43:27,096 - DEBUG - VM ctest-TestBasicPolicy-11687102-12251142 ID is 3563a509-b77b-4fb6-aa63-53ffcdaac47c 2024-09-17 09:43:27,096 - DEBUG - VM ctest-TestBasicPolicy-11687102-12251142 launched on Node cn-jenkins-deploy-platform-ansible-os-1958-1 2024-09-17 09:43:27,183 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3563a509-b77b-4fb6-aa63-53ffcdaac47c 2024-09-17 09:43:27,194 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/feae9202-455c-4deb-b939-00c67a12dc12 2024-09-17 09:43:28,463 - 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=4.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.39 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 = 2.389/3.443/4.498/1.054 ms') 2024-09-17 09:43:28,464 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-11687102-12251142 passed 2024-09-17 09:43:28,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 09:43:28,626 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11687102-12251142, IP 9.179.33.195, Port 22 2024-09-17 09:43:28,797 - DEBUG - VM ctest-TestBasicPolicy-11687102-12251142 is ready for SSH connections 2024-09-17 09:43:28,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 09:43:28,797 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.179.33.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2024-09-17 09:43:28,797 - DEBUG - ping -s 56 -c 3 -W 1 9.179.33.195 2024-09-17 09:43:32,915 - DEBUG - PING 9.179.33.195 (9.179.33.195): 56 data bytes 64 bytes from 9.179.33.195: seq=0 ttl=63 time=4.874 ms 64 bytes from 9.179.33.195: seq=1 ttl=63 time=0.993 ms 64 bytes from 9.179.33.195: seq=2 ttl=63 time=1.059 ms --- 9.179.33.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.993/2.308/4.874 ms 2024-09-17 09:43:32,915 - INFO - Ping to IP 9.179.33.195 from VM ctest-TestBasicPolicy-11687102-75578792 passed 2024-09-17 09:43:33,125 - DEBUG - Policy Update Response {"network-policy": {"uuid": "05f957b7-0689-4f94-928d-5b851f0aa246", "href": "http://10.0.0.50:8082/network-policy/05f957b7-0689-4f94-928d-5b851f0aa246"}} 2024-09-17 09:43:33,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 09:43:33,125 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.179.33.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2024-09-17 09:43:33,125 - DEBUG - ping -s 56 -c 3 -W 1 9.179.33.195 2024-09-17 09:43:36,358 - DEBUG - PING 9.179.33.195 (9.179.33.195): 56 data bytes --- 9.179.33.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-09-17 09:43:36,358 - WARNING - Ping to IP 9.179.33.195 from VM ctest-TestBasicPolicy-11687102-75578792 failed 2024-09-17 09:43:36,358 - INFO - Deleting VM ctest-TestBasicPolicy-11687102-12251142 2024-09-17 09:43:36,445 - INFO - Deleting VM ctest-TestBasicPolicy-11687102-75578792 2024-09-17 09:43:36,950 - INFO - Deleted policy ctest-policy-allow-all-47208179 2024-09-17 09:43:36,950 - INFO - Deleting VN ctest-vn-73463671 2024-09-17 09:43:37,010 - DEBUG - VN 0eed5375-181f-48f0-83f0-814496d3ecd5 still in use: Unable to complete operation on network 0eed5375-181f-48f0-83f0-814496d3ecd5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fc8602e4-b29e-4cf7-8805-dc36a3c8c9f1'] 2024-09-17 09:43:37,010 - WARNING - Deleting VN ctest-vn-73463671 failed..Will retry 2024-09-17 09:43:39,166 - DEBUG - Response for deleting network () 2024-09-17 09:43:39,166 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f4289f03-1c6d-4dad-851b-0aee4087ecc2 2024-09-17 09:43:39,177 - DEBUG - Response Code: 404 2024-09-17 09:43:39,178 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2024-09-17 09:43:39,185 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e8c725f2-8cab-46f6-a25b-d47fe88fcda8 2024-09-17 09:43:39,244 - DEBUG - Requesting: http://10.0.0.50:8082/project/94507435-5125-4317-8f02-1917e622b985 2024-09-17 09:43:39,326 - INFO - Validated that VN ctest-vn-73463671 is not found in API Server 2024-09-17 09:43:39,339 - DEBUG - VN ctest-vn-73463671 is not present in Agent 10.0.0.50 2024-09-17 09:43:39,340 - INFO - Validated that VN ctest-vn-73463671 is not in any agent 2024-09-17 09:43:39,358 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73463671 info 2024-09-17 09:43:39,358 - INFO - Deleting VN ctest-vn-92035634 2024-09-17 09:43:39,484 - DEBUG - Response for deleting network () 2024-09-17 09:43:39,484 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/df5bcb77-c33f-47ae-8c4f-8b66ee114933 2024-09-17 09:43:39,496 - DEBUG - Response Code: 404 2024-09-17 09:43:39,496 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2024-09-17 09:43:39,504 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e8c725f2-8cab-46f6-a25b-d47fe88fcda8 2024-09-17 09:43:39,564 - DEBUG - Requesting: http://10.0.0.50:8082/project/94507435-5125-4317-8f02-1917e622b985 2024-09-17 09:43:39,646 - INFO - Validated that VN ctest-vn-92035634 is not found in API Server 2024-09-17 09:43:39,662 - DEBUG - VN ctest-vn-92035634 is not present in Agent 10.0.0.50 2024-09-17 09:43:39,662 - INFO - Validated that VN ctest-vn-92035634 is not in any agent 2024-09-17 09:43:39,680 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92035634 info 2024-09-17 09:43:39,950 - DEBUG - No XMPP flaps were noticed during the test 2024-09-17 09:43:39,950 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2024-09-17 09:43:39,950 - INFO - -------------------------------------------------------------------------------- 2024-09-17 09:43:40,730 - INFO - Deleted project: ctest-TestBasicPolicy-11687102, ID : 94507435-5125-4317-8f02-1917e622b985