2024-08-20 16:28:43,000 - INFO - Domain Default found not creating 2024-08-20 16:28:43,185 - INFO - Project ctest-TestBasicPolicy-72553142 not found, creating it 2024-08-20 16:28:43,649 - INFO - Created Project:ctest-TestBasicPolicy-72553142, ID : 8921d522-9276-457c-8884-3dceea870470 2024-08-20 16:28:45,162 - INFO - ================================================================================ 2024-08-20 16:28:45,162 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-08-20 16:28:45,162 - 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-08-20 16:28:45,420 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.21': '0'}} with 2024-08-20 16:28:45,420 - INFO - Initial checks done. Running the testcase now 2024-08-20 16:28:45,420 - INFO - 2024-08-20 16:28:45,968 - DEBUG - Response for create_network : {'network': {'id': '74c69fa1-3e64-4cda-b857-1461855b2d2e', 'name': 'ctest-vn-76781620', 'tenant_id': '8921d5229276457c88843dceea870470', 'project_id': '8921d5229276457c88843dceea870470', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72553142', 'ctest-vn-76781620'], 'port_security_enabled': True, 'description': ''}} 2024-08-20 16:28:46,142 - DEBUG - Response for create_subnet : {'subnet': {'id': '882fe0e8-e4b7-442a-92e0-d1b94cbd0dcf', 'name': '', 'tenant_id': '8921d5229276457c88843dceea870470', 'network_id': '74c69fa1-3e64-4cda-b857-1461855b2d2e', 'ip_version': 4, 'cidr': '87.2.181.64/26', 'allocation_pools': [{'start': '87.2.181.66', 'end': '87.2.181.126'}], 'gateway_ip': '87.2.181.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.2.181.66', 'tags': [], 'project_id': '8921d5229276457c88843dceea870470'}} 2024-08-20 16:28:46,162 - INFO - Created VN ctest-vn-76781620 2024-08-20 16:28:46,212 - DEBUG - VN ctest-vn-76781620 UUID is 74c69fa1-3e64-4cda-b857-1461855b2d2e 2024-08-20 16:28:46,494 - DEBUG - Response for create_network : {'network': {'id': 'a590cb02-e202-4f15-900f-b0b255176182', 'name': 'ctest-vn-35383344', 'tenant_id': '8921d5229276457c88843dceea870470', 'project_id': '8921d5229276457c88843dceea870470', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72553142', 'ctest-vn-35383344'], 'port_security_enabled': True, 'description': ''}} 2024-08-20 16:28:46,688 - DEBUG - Response for create_subnet : {'subnet': {'id': '0844fa19-a188-4cb6-a328-9a650503b02b', 'name': '', 'tenant_id': '8921d5229276457c88843dceea870470', 'network_id': 'a590cb02-e202-4f15-900f-b0b255176182', 'ip_version': 4, 'cidr': '81.232.53.0/26', 'allocation_pools': [{'start': '81.232.53.2', 'end': '81.232.53.62'}], 'gateway_ip': '81.232.53.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.232.53.2', 'tags': [], 'project_id': '8921d5229276457c88843dceea870470'}} 2024-08-20 16:28:46,709 - INFO - Created VN ctest-vn-35383344 2024-08-20 16:28:46,760 - DEBUG - VN ctest-vn-35383344 UUID is a590cb02-e202-4f15-900f-b0b255176182 2024-08-20 16:28:46,875 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-72553142:ctest-vn-76781620, 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-72553142:ctest-vn-35383344, 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-08-20 16:28:47,170 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '74c69fa1-3e64-4cda-b857-1461855b2d2e', 'name': 'ctest-vn-76781620', 'tenant_id': '8921d5229276457c88843dceea870470', 'project_id': '8921d5229276457c88843dceea870470', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['882fe0e8-e4b7-442a-92e0-d1b94cbd0dcf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72553142', 'ctest-vn-76781620'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72553142', 'ctest-policy-allow-all-33062726']], 'subnet_ipam': [{'subnet_cidr': '87.2.181.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-20 16:28:47,418 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a590cb02-e202-4f15-900f-b0b255176182', 'name': 'ctest-vn-35383344', 'tenant_id': '8921d5229276457c88843dceea870470', 'project_id': '8921d5229276457c88843dceea870470', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0844fa19-a188-4cb6-a328-9a650503b02b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72553142', 'ctest-vn-35383344'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72553142', 'ctest-policy-allow-all-33062726']], 'subnet_ipam': [{'subnet_cidr': '81.232.53.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-20 16:28:47,564 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2024-08-20 16:28:47,864 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2024-08-20 16:28:47,894 - DEBUG - Requesting: http://10.0.0.30:8082/domain/41c72296-e8e4-4a41-ab8e-c49845aab7d6 2024-08-20 16:28:47,912 - DEBUG - Requesting: http://10.0.0.30:8082/project/8921d522-9276-457c-8884-3dceea870470 2024-08-20 16:28:48,000 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/74c69fa1-3e64-4cda-b857-1461855b2d2e 2024-08-20 16:28:48,012 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/74c69fa1-3e64-4cda-b857-1461855b2d2e 2024-08-20 16:28:48,020 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/a9949df0-bc1d-4a09-9d4a-b5acf4339e11 2024-08-20 16:28:48,027 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/a9949df0-bc1d-4a09-9d4a-b5acf4339e11 2024-08-20 16:28:48,035 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/f4dac2d5-2ada-40e4-aea6-477f18a47de5 2024-08-20 16:28:48,042 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-20 16:28:48,042 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/74c69fa1-3e64-4cda-b857-1461855b2d2e 2024-08-20 16:28:48,051 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/a9949df0-bc1d-4a09-9d4a-b5acf4339e11 2024-08-20 16:28:48,065 - INFO - Verified VN network id 8 for VN 74c69fa1-3e64-4cda-b857-1461855b2d2e 2024-08-20 16:28:48,066 - INFO - Verifications in API Server for VN ctest-vn-76781620 passed 2024-08-20 16:28:48,066 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/74c69fa1-3e64-4cda-b857-1461855b2d2e 2024-08-20 16:28:48,074 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/a9949df0-bc1d-4a09-9d4a-b5acf4339e11 2024-08-20 16:28:48,082 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/a9949df0-bc1d-4a09-9d4a-b5acf4339e11 2024-08-20 16:28:48,089 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/f4dac2d5-2ada-40e4-aea6-477f18a47de5 2024-08-20 16:28:48,101 - DEBUG - Control-node 10.0.0.30 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72553142:ctest-vn-76781620', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72553142', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8414588468673662170', 'uuid-lslong': '13283108035034295598'}, 'enable': 'true', 'created': '2024-08-20T16:28:45', 'last-modified': '2024-08-20T16:28:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.959715'} 2024-08-20 16:28:48,108 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-20 16:28:48,108 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76781620 passed 2024-08-20 16:28:48,108 - DEBUG - ====Verifying policy data for ctest-vn-76781620 in API_Server ====== 2024-08-20 16:28:48,108 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2024-08-20 16:28:48,114 - DEBUG - Requesting: http://10.0.0.30:8082/domain/41c72296-e8e4-4a41-ab8e-c49845aab7d6 2024-08-20 16:28:48,127 - DEBUG - Requesting: http://10.0.0.30:8082/project/8921d522-9276-457c-8884-3dceea870470 2024-08-20 16:28:48,198 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/74c69fa1-3e64-4cda-b857-1461855b2d2e 2024-08-20 16:28:48,206 - DEBUG - ==>Verifying data for policy with id: 2dea058b-ad32-41a1-ab9d-6b625ae31d08, fqn: ['default-domain', 'ctest-TestBasicPolicy-72553142', 'ctest-policy-allow-all-33062726'] 2024-08-20 16:28:48,206 - INFO - VN ctest-vn-76781620 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-20 16:28:48,206 - DEBUG - Verifying the vn in opserver 2024-08-20 16:28:48,206 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72553142:ctest-vn-76781620 virtual network link through opserver 10.0.0.30 2024-08-20 16:28:48,206 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2024-08-20 16:28:48,501 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2024-08-20 16:28:48,570 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72553142:ctest-vn-76781620', 'href': 'http://10.0.0.30:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72553142:ctest-vn-76781620?flat'} 2024-08-20 16:28:48,571 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72553142:ctest-vn-76781620 is found in opserver 2024-08-20 16:28:48,584 - DEBUG - Do not have enough data to verify VN in agent 2024-08-20 16:28:48,590 - DEBUG - VRF ids for VN ctest-vn-76781620: {} 2024-08-20 16:28:48,590 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2024-08-20 16:28:48,597 - DEBUG - Requesting: http://10.0.0.30:8082/domain/41c72296-e8e4-4a41-ab8e-c49845aab7d6 2024-08-20 16:28:48,609 - DEBUG - Requesting: http://10.0.0.30:8082/project/8921d522-9276-457c-8884-3dceea870470 2024-08-20 16:28:48,680 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/a590cb02-e202-4f15-900f-b0b255176182 2024-08-20 16:28:48,691 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/a590cb02-e202-4f15-900f-b0b255176182 2024-08-20 16:28:48,699 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/56307046-7fad-4b83-bcc0-7b25b14e3a05 2024-08-20 16:28:48,706 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/56307046-7fad-4b83-bcc0-7b25b14e3a05 2024-08-20 16:28:48,714 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/17f73747-31b7-4fa0-9c7b-35433e303609 2024-08-20 16:28:48,720 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-20 16:28:48,720 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/a590cb02-e202-4f15-900f-b0b255176182 2024-08-20 16:28:48,730 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/56307046-7fad-4b83-bcc0-7b25b14e3a05 2024-08-20 16:28:48,745 - INFO - Verified VN network id 9 for VN a590cb02-e202-4f15-900f-b0b255176182 2024-08-20 16:28:48,745 - INFO - Verifications in API Server for VN ctest-vn-35383344 passed 2024-08-20 16:28:48,745 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/a590cb02-e202-4f15-900f-b0b255176182 2024-08-20 16:28:48,757 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/56307046-7fad-4b83-bcc0-7b25b14e3a05 2024-08-20 16:28:48,766 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/56307046-7fad-4b83-bcc0-7b25b14e3a05 2024-08-20 16:28:48,777 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/17f73747-31b7-4fa0-9c7b-35433e303609 2024-08-20 16:28:48,793 - DEBUG - Control-node 10.0.0.30 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72553142:ctest-vn-35383344', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72553142', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11930258626146619157', 'uuid-lslong': '10380709946090545538'}, 'enable': 'true', 'created': '2024-08-20T16:28:46', 'last-modified': '2024-08-20T16:28:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.398622'} 2024-08-20 16:28:48,802 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-20 16:28:48,802 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35383344 passed 2024-08-20 16:28:48,802 - DEBUG - ====Verifying policy data for ctest-vn-35383344 in API_Server ====== 2024-08-20 16:28:48,802 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2024-08-20 16:28:48,810 - DEBUG - Requesting: http://10.0.0.30:8082/domain/41c72296-e8e4-4a41-ab8e-c49845aab7d6 2024-08-20 16:28:48,824 - DEBUG - Requesting: http://10.0.0.30:8082/project/8921d522-9276-457c-8884-3dceea870470 2024-08-20 16:28:48,893 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/a590cb02-e202-4f15-900f-b0b255176182 2024-08-20 16:28:48,904 - DEBUG - ==>Verifying data for policy with id: 2dea058b-ad32-41a1-ab9d-6b625ae31d08, fqn: ['default-domain', 'ctest-TestBasicPolicy-72553142', 'ctest-policy-allow-all-33062726'] 2024-08-20 16:28:48,904 - INFO - VN ctest-vn-35383344 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-20 16:28:48,904 - DEBUG - Verifying the vn in opserver 2024-08-20 16:28:48,904 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72553142:ctest-vn-35383344 virtual network link through opserver 10.0.0.30 2024-08-20 16:28:48,904 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2024-08-20 16:28:48,918 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72553142:ctest-vn-35383344', 'href': 'http://10.0.0.30:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72553142:ctest-vn-35383344?flat'} 2024-08-20 16:28:48,918 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72553142:ctest-vn-35383344 is found in opserver 2024-08-20 16:28:48,930 - DEBUG - Do not have enough data to verify VN in agent 2024-08-20 16:28:48,935 - DEBUG - VRF ids for VN ctest-vn-35383344: {} 2024-08-20 16:28:48,991 - DEBUG - Services list from nova: [, , ] 2024-08-20 16:28:50,020 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1677-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1677-1) 2024-08-20 16:28:51,322 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1677-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1677-1) 2024-08-20 16:28:51,323 - INFO - Waiting for VM ctest-TestBasicPolicy-72553142-22569378 to be up.. 2024-08-20 16:28:51,415 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-20 16:28:56,501 - DEBUG - VM is in ACTIVE state now 2024-08-20 16:28:56,501 - INFO - VM name : ctest-TestBasicPolicy-72553142-22569378 2024-08-20 16:28:56,584 - DEBUG - VM ctest-TestBasicPolicy-72553142-22569378 ID is e5d71eff-4eae-405c-b13d-de82f18e5a2c 2024-08-20 16:28:56,604 - DEBUG - VM ctest-TestBasicPolicy-72553142-22569378 launched on Node cn-jenkins-deploy-platform-ansible-os-1677-1 2024-08-20 16:28:56,687 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/e5d71eff-4eae-405c-b13d-de82f18e5a2c 2024-08-20 16:28:56,696 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/a1229bb8-acea-4384-85a4-caeca0e9150f 2024-08-20 16:28:59,962 - 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-08-20 16:28:59,963 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72553142-22569378 failed! 2024-08-20 16:29:00,016 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72553142:ctest-vn-76781620 is 87.2.181.65 and allocation pool is NOT set 2024-08-20 16:29:02,071 - 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.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.431 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.431/1.438/2.446/1.007 ms') 2024-08-20 16:29:02,071 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72553142-22569378 passed 2024-08-20 16:29:02,220 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-20 16:29:02,220 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72553142-22569378, IP 87.2.181.67, Port 22 2024-08-20 16:29:02,376 - DEBUG - VM ctest-TestBasicPolicy-72553142-22569378 is ready for SSH connections 2024-08-20 16:29:02,376 - INFO - Waiting for VM ctest-TestBasicPolicy-72553142-38759128 to be up.. 2024-08-20 16:29:02,459 - DEBUG - VM is in ACTIVE state now 2024-08-20 16:29:02,459 - INFO - VM name : ctest-TestBasicPolicy-72553142-38759128 2024-08-20 16:29:02,539 - DEBUG - VM ctest-TestBasicPolicy-72553142-38759128 ID is c726d2e7-709e-478f-8116-e939998e682f 2024-08-20 16:29:02,539 - DEBUG - VM ctest-TestBasicPolicy-72553142-38759128 launched on Node cn-jenkins-deploy-platform-ansible-os-1677-1 2024-08-20 16:29:02,624 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/c726d2e7-709e-478f-8116-e939998e682f 2024-08-20 16:29:02,632 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/3dd64cd3-4d96-489f-aced-497dedce73fc 2024-08-20 16:29:03,870 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.567 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.567/1.738/2.909/1.171 ms') 2024-08-20 16:29:03,870 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-72553142-38759128 passed 2024-08-20 16:29:04,021 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-20 16:29:04,021 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72553142-38759128, IP 81.232.53.3, Port 22 2024-08-20 16:29:04,186 - DEBUG - VM ctest-TestBasicPolicy-72553142-38759128 is ready for SSH connections 2024-08-20 16:29:04,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-20 16:29:04,187 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.232.53.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2024-08-20 16:29:04,187 - DEBUG - ping -s 56 -c 3 -W 1 81.232.53.3 2024-08-20 16:29:08,194 - DEBUG - PING 81.232.53.3 (81.232.53.3): 56 data bytes 64 bytes from 81.232.53.3: seq=0 ttl=63 time=3.730 ms 64 bytes from 81.232.53.3: seq=1 ttl=63 time=0.795 ms 64 bytes from 81.232.53.3: seq=2 ttl=63 time=0.745 ms --- 81.232.53.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.745/1.756/3.730 ms 2024-08-20 16:29:08,194 - INFO - Ping to IP 81.232.53.3 from VM ctest-TestBasicPolicy-72553142-22569378 passed 2024-08-20 16:29:08,368 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2dea058b-ad32-41a1-ab9d-6b625ae31d08", "href": "http://10.0.0.30:8082/network-policy/2dea058b-ad32-41a1-ab9d-6b625ae31d08"}} 2024-08-20 16:29:08,368 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-20 16:29:08,368 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.232.53.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2024-08-20 16:29:08,369 - DEBUG - ping -s 56 -c 3 -W 1 81.232.53.3 2024-08-20 16:29:11,578 - DEBUG - PING 81.232.53.3 (81.232.53.3): 56 data bytes 64 bytes from 81.232.53.3: seq=0 ttl=63 time=1.742 ms --- 81.232.53.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.742/1.742/1.742 ms 2024-08-20 16:29:11,578 - WARNING - Ping to IP 81.232.53.3 from VM ctest-TestBasicPolicy-72553142-22569378 failed 2024-08-20 16:29:11,578 - INFO - Deleting VM ctest-TestBasicPolicy-72553142-38759128 2024-08-20 16:29:11,642 - INFO - Deleting VM ctest-TestBasicPolicy-72553142-22569378 2024-08-20 16:29:12,048 - INFO - Deleted policy ctest-policy-allow-all-33062726 2024-08-20 16:29:12,048 - INFO - Deleting VN ctest-vn-35383344 2024-08-20 16:29:12,093 - DEBUG - VN a590cb02-e202-4f15-900f-b0b255176182 still in use: Unable to complete operation on network a590cb02-e202-4f15-900f-b0b255176182. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-855370c6-19f4-4cd2-b12f-c6829b975e5a'] 2024-08-20 16:29:12,093 - WARNING - Deleting VN ctest-vn-35383344 failed..Will retry 2024-08-20 16:29:14,215 - DEBUG - Response for deleting network () 2024-08-20 16:29:14,216 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/56307046-7fad-4b83-bcc0-7b25b14e3a05 2024-08-20 16:29:14,226 - DEBUG - Response Code: 404 2024-08-20 16:29:14,226 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2024-08-20 16:29:14,234 - DEBUG - Requesting: http://10.0.0.30:8082/domain/41c72296-e8e4-4a41-ab8e-c49845aab7d6 2024-08-20 16:29:14,290 - DEBUG - Requesting: http://10.0.0.30:8082/project/8921d522-9276-457c-8884-3dceea870470 2024-08-20 16:29:14,362 - INFO - Validated that VN ctest-vn-35383344 is not found in API Server 2024-08-20 16:29:14,373 - DEBUG - VN ctest-vn-35383344 is not present in Agent 10.0.0.30 2024-08-20 16:29:14,374 - INFO - Validated that VN ctest-vn-35383344 is not in any agent 2024-08-20 16:29:14,389 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35383344 info 2024-08-20 16:29:14,389 - INFO - Deleting VN ctest-vn-76781620 2024-08-20 16:29:14,492 - DEBUG - Response for deleting network () 2024-08-20 16:29:14,493 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/a9949df0-bc1d-4a09-9d4a-b5acf4339e11 2024-08-20 16:29:14,498 - DEBUG - Response Code: 404 2024-08-20 16:29:14,498 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2024-08-20 16:29:14,507 - DEBUG - Requesting: http://10.0.0.30:8082/domain/41c72296-e8e4-4a41-ab8e-c49845aab7d6 2024-08-20 16:29:14,561 - DEBUG - Requesting: http://10.0.0.30:8082/project/8921d522-9276-457c-8884-3dceea870470 2024-08-20 16:29:14,633 - INFO - Validated that VN ctest-vn-76781620 is not found in API Server 2024-08-20 16:29:14,644 - DEBUG - VN ctest-vn-76781620 is not present in Agent 10.0.0.30 2024-08-20 16:29:14,644 - INFO - Validated that VN ctest-vn-76781620 is not in any agent 2024-08-20 16:29:14,660 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76781620 info 2024-08-20 16:29:14,912 - DEBUG - No XMPP flaps were noticed during the test
2024-08-20 16:29:14,912 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2024-08-20 16:29:14,912 - INFO - -------------------------------------------------------------------------------- 2024-08-20 16:29:15,621 - INFO - Deleted project: ctest-TestBasicPolicy-72553142, ID : 8921d522-9276-457c-8884-3dceea870470