2024-11-10 18:04:48,487 - INFO - Domain Default found not creating 2024-11-10 18:04:48,795 - INFO - Project ctest-TestBasicPolicy-87617750 not found, creating it 2024-11-10 18:04:49,523 - INFO - Created Project:ctest-TestBasicPolicy-87617750, ID : 01c1ddeb-97cc-4c46-aad2-63a368b4de6b 2024-11-10 18:04:51,638 - INFO - ================================================================================ 2024-11-10 18:04:51,639 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-11-10 18:04:51,642 - 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-11-10 18:04:51,936 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.25': '0'}} with 2024-11-10 18:04:51,936 - INFO - Initial checks done. Running the testcase now 2024-11-10 18:04:51,936 - INFO - 2024-11-10 18:04:52,617 - DEBUG - Response for create_network : {'network': {'id': '2b5ed4c4-b84d-4ad3-93fb-3910c169d4eb', 'name': 'ctest-vn-97191884', 'tenant_id': '01c1ddeb97cc4c46aad263a368b4de6b', 'project_id': '01c1ddeb97cc4c46aad263a368b4de6b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87617750', 'ctest-vn-97191884'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 18:04:52,843 - DEBUG - Response for create_subnet : {'subnet': {'id': '9aa7665c-bf80-412e-b978-decc92a268cc', 'name': '', 'tenant_id': '01c1ddeb97cc4c46aad263a368b4de6b', 'network_id': '2b5ed4c4-b84d-4ad3-93fb-3910c169d4eb', 'ip_version': 4, 'cidr': '2.240.219.0/26', 'allocation_pools': [{'start': '2.240.219.2', 'end': '2.240.219.62'}], 'gateway_ip': '2.240.219.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.240.219.2', 'tags': [], 'project_id': '01c1ddeb97cc4c46aad263a368b4de6b'}} 2024-11-10 18:04:52,866 - INFO - Created VN ctest-vn-97191884 2024-11-10 18:04:52,924 - DEBUG - VN ctest-vn-97191884 UUID is 2b5ed4c4-b84d-4ad3-93fb-3910c169d4eb 2024-11-10 18:04:53,335 - DEBUG - Response for create_network : {'network': {'id': 'd689c9ea-11e0-44cc-8742-58aa3db42e63', 'name': 'ctest-vn-92982245', 'tenant_id': '01c1ddeb97cc4c46aad263a368b4de6b', 'project_id': '01c1ddeb97cc4c46aad263a368b4de6b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87617750', 'ctest-vn-92982245'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 18:04:53,539 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ca7e595-f706-475d-b042-b955f639c10d', 'name': '', 'tenant_id': '01c1ddeb97cc4c46aad263a368b4de6b', 'network_id': 'd689c9ea-11e0-44cc-8742-58aa3db42e63', 'ip_version': 4, 'cidr': '86.147.83.128/26', 'allocation_pools': [{'start': '86.147.83.130', 'end': '86.147.83.190'}], 'gateway_ip': '86.147.83.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.147.83.130', 'tags': [], 'project_id': '01c1ddeb97cc4c46aad263a368b4de6b'}} 2024-11-10 18:04:53,559 - INFO - Created VN ctest-vn-92982245 2024-11-10 18:04:53,620 - DEBUG - VN ctest-vn-92982245 UUID is d689c9ea-11e0-44cc-8742-58aa3db42e63 2024-11-10 18:04:53,769 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-87617750:ctest-vn-97191884, 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-87617750:ctest-vn-92982245, 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-11-10 18:04:54,215 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2b5ed4c4-b84d-4ad3-93fb-3910c169d4eb', 'name': 'ctest-vn-97191884', 'tenant_id': '01c1ddeb97cc4c46aad263a368b4de6b', 'project_id': '01c1ddeb97cc4c46aad263a368b4de6b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9aa7665c-bf80-412e-b978-decc92a268cc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87617750', 'ctest-vn-97191884'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87617750', 'ctest-policy-allow-all-05022936']], 'subnet_ipam': [{'subnet_cidr': '2.240.219.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-10 18:04:54,512 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd689c9ea-11e0-44cc-8742-58aa3db42e63', 'name': 'ctest-vn-92982245', 'tenant_id': '01c1ddeb97cc4c46aad263a368b4de6b', 'project_id': '01c1ddeb97cc4c46aad263a368b4de6b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1ca7e595-f706-475d-b042-b955f639c10d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87617750', 'ctest-vn-92982245'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87617750', 'ctest-policy-allow-all-05022936']], 'subnet_ipam': [{'subnet_cidr': '86.147.83.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-10 18:04:54,660 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2024-11-10 18:04:54,991 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2024-11-10 18:04:55,031 - DEBUG - Requesting: http://10.0.0.31:8082/domain/18a5d2f2-a9a8-4542-8e88-db19369253c6 2024-11-10 18:04:55,062 - DEBUG - Requesting: http://10.0.0.31:8082/project/01c1ddeb-97cc-4c46-aad2-63a368b4de6b 2024-11-10 18:04:55,179 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/2b5ed4c4-b84d-4ad3-93fb-3910c169d4eb 2024-11-10 18:04:55,201 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/2b5ed4c4-b84d-4ad3-93fb-3910c169d4eb 2024-11-10 18:04:55,230 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/02e36787-3d71-4f64-898d-58f40a74c95b 2024-11-10 18:04:55,246 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/02e36787-3d71-4f64-898d-58f40a74c95b 2024-11-10 18:04:55,261 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/61bb6bf6-c4b1-44bd-9fd5-0a6942a8e48e 2024-11-10 18:04:55,277 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-10 18:04:55,277 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/2b5ed4c4-b84d-4ad3-93fb-3910c169d4eb 2024-11-10 18:04:55,307 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/02e36787-3d71-4f64-898d-58f40a74c95b 2024-11-10 18:04:55,338 - INFO - Verified VN network id 8 for VN 2b5ed4c4-b84d-4ad3-93fb-3910c169d4eb 2024-11-10 18:04:55,338 - INFO - Verifications in API Server for VN ctest-vn-97191884 passed 2024-11-10 18:04:55,338 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/2b5ed4c4-b84d-4ad3-93fb-3910c169d4eb 2024-11-10 18:04:55,363 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/02e36787-3d71-4f64-898d-58f40a74c95b 2024-11-10 18:04:55,375 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/02e36787-3d71-4f64-898d-58f40a74c95b 2024-11-10 18:04:55,387 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/61bb6bf6-c4b1-44bd-9fd5-0a6942a8e48e 2024-11-10 18:04:55,411 - DEBUG - Control-node 10.0.0.31 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87617750:ctest-vn-97191884', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87617750', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3125169132812454611', 'uuid-lslong': '10663179286856979691'}, 'enable': 'true', 'created': '2024-11-10T18:04:52', 'last-modified': '2024-11-10T18:04:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.238755'} 2024-11-10 18:04:55,424 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-10 18:04:55,424 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97191884 passed 2024-11-10 18:04:55,424 - DEBUG - ====Verifying policy data for ctest-vn-97191884 in API_Server ====== 2024-11-10 18:04:55,424 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2024-11-10 18:04:55,434 - DEBUG - Requesting: http://10.0.0.31:8082/domain/18a5d2f2-a9a8-4542-8e88-db19369253c6 2024-11-10 18:04:55,468 - DEBUG - Requesting: http://10.0.0.31:8082/project/01c1ddeb-97cc-4c46-aad2-63a368b4de6b 2024-11-10 18:04:55,571 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/2b5ed4c4-b84d-4ad3-93fb-3910c169d4eb 2024-11-10 18:04:55,597 - DEBUG - ==>Verifying data for policy with id: 6ae32084-37a0-4b2c-a207-c8c91e0ef986, fqn: ['default-domain', 'ctest-TestBasicPolicy-87617750', 'ctest-policy-allow-all-05022936'] 2024-11-10 18:04:55,598 - INFO - VN ctest-vn-97191884 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-10 18:04:55,598 - DEBUG - Verifying the vn in opserver 2024-11-10 18:04:55,598 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87617750:ctest-vn-97191884 virtual network link through opserver 10.0.0.31 2024-11-10 18:04:55,599 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2024-11-10 18:04:55,943 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2024-11-10 18:04:56,101 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87617750:ctest-vn-97191884', 'href': 'http://10.0.0.31:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87617750:ctest-vn-97191884?flat'} 2024-11-10 18:04:56,101 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87617750:ctest-vn-97191884 is found in opserver 2024-11-10 18:04:56,123 - DEBUG - Do not have enough data to verify VN in agent 2024-11-10 18:04:56,140 - DEBUG - VRF ids for VN ctest-vn-97191884: {} 2024-11-10 18:04:56,140 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2024-11-10 18:04:56,155 - DEBUG - Requesting: http://10.0.0.31:8082/domain/18a5d2f2-a9a8-4542-8e88-db19369253c6 2024-11-10 18:04:56,189 - DEBUG - Requesting: http://10.0.0.31:8082/project/01c1ddeb-97cc-4c46-aad2-63a368b4de6b 2024-11-10 18:04:56,296 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/d689c9ea-11e0-44cc-8742-58aa3db42e63 2024-11-10 18:04:56,324 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/d689c9ea-11e0-44cc-8742-58aa3db42e63 2024-11-10 18:04:56,342 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/ab6a06eb-df3e-442c-8c44-0f4f4da4d35a 2024-11-10 18:04:56,352 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/ab6a06eb-df3e-442c-8c44-0f4f4da4d35a 2024-11-10 18:04:56,371 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/8af51d2f-ff37-48ae-b570-4e716e8f681e 2024-11-10 18:04:56,381 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-10 18:04:56,381 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/d689c9ea-11e0-44cc-8742-58aa3db42e63 2024-11-10 18:04:56,398 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/ab6a06eb-df3e-442c-8c44-0f4f4da4d35a 2024-11-10 18:04:56,423 - INFO - Verified VN network id 9 for VN d689c9ea-11e0-44cc-8742-58aa3db42e63 2024-11-10 18:04:56,423 - INFO - Verifications in API Server for VN ctest-vn-92982245 passed 2024-11-10 18:04:56,423 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/d689c9ea-11e0-44cc-8742-58aa3db42e63 2024-11-10 18:04:56,440 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/ab6a06eb-df3e-442c-8c44-0f4f4da4d35a 2024-11-10 18:04:56,450 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/ab6a06eb-df3e-442c-8c44-0f4f4da4d35a 2024-11-10 18:04:56,460 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/8af51d2f-ff37-48ae-b570-4e716e8f681e 2024-11-10 18:04:56,478 - DEBUG - Control-node 10.0.0.31 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87617750:ctest-vn-92982245', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87617750', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15459109203085378764', 'uuid-lslong': '9746450031786077795'}, 'enable': 'true', 'created': '2024-11-10T18:04:53', 'last-modified': '2024-11-10T18:04:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.016847'} 2024-11-10 18:04:56,488 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-10 18:04:56,488 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92982245 passed 2024-11-10 18:04:56,489 - DEBUG - ====Verifying policy data for ctest-vn-92982245 in API_Server ====== 2024-11-10 18:04:56,489 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2024-11-10 18:04:56,498 - DEBUG - Requesting: http://10.0.0.31:8082/domain/18a5d2f2-a9a8-4542-8e88-db19369253c6 2024-11-10 18:04:56,527 - DEBUG - Requesting: http://10.0.0.31:8082/project/01c1ddeb-97cc-4c46-aad2-63a368b4de6b 2024-11-10 18:04:56,619 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/d689c9ea-11e0-44cc-8742-58aa3db42e63 2024-11-10 18:04:56,634 - DEBUG - ==>Verifying data for policy with id: 6ae32084-37a0-4b2c-a207-c8c91e0ef986, fqn: ['default-domain', 'ctest-TestBasicPolicy-87617750', 'ctest-policy-allow-all-05022936'] 2024-11-10 18:04:56,634 - INFO - VN ctest-vn-92982245 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-10 18:04:56,634 - DEBUG - Verifying the vn in opserver 2024-11-10 18:04:56,634 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87617750:ctest-vn-92982245 virtual network link through opserver 10.0.0.31 2024-11-10 18:04:56,634 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2024-11-10 18:04:56,649 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87617750:ctest-vn-92982245', 'href': 'http://10.0.0.31:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87617750:ctest-vn-92982245?flat'} 2024-11-10 18:04:56,649 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87617750:ctest-vn-92982245 is found in opserver 2024-11-10 18:04:56,663 - DEBUG - Do not have enough data to verify VN in agent 2024-11-10 18:04:56,671 - DEBUG - VRF ids for VN ctest-vn-92982245: {} 2024-11-10 18:04:56,742 - DEBUG - Services list from nova: [, , ] 2024-11-10 18:04:58,183 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2259-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2259-1) 2024-11-10 18:04:59,869 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2259-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2259-1) 2024-11-10 18:04:59,869 - INFO - Waiting for VM ctest-TestBasicPolicy-87617750-04335432 to be up.. 2024-11-10 18:05:00,088 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 18:05:05,214 - DEBUG - VM is in ACTIVE state now 2024-11-10 18:05:05,214 - INFO - VM name : ctest-TestBasicPolicy-87617750-04335432 2024-11-10 18:05:05,351 - DEBUG - VM ctest-TestBasicPolicy-87617750-04335432 ID is c8936c8f-a057-434b-a5f6-e6ec86e2ab6a 2024-11-10 18:05:05,376 - DEBUG - VM ctest-TestBasicPolicy-87617750-04335432 launched on Node cn-jenkins-deploy-platform-ansible-os-2259-1 2024-11-10 18:05:05,508 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/c8936c8f-a057-434b-a5f6-e6ec86e2ab6a 2024-11-10 18:05:05,531 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/0677a40e-a61f-47ff-848c-5a095ce2e450 2024-11-10 18:05:08,856 - 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 1013ms') 2024-11-10 18:05:08,856 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87617750-04335432 failed! 2024-11-10 18:05:08,928 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-87617750:ctest-vn-97191884 is 2.240.219.1 and allocation pool is NOT set 2024-11-10 18:05:10,995 - 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=9.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.47 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 = 1.474/5.686/9.898/4.212 ms') 2024-11-10 18:05:10,995 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87617750-04335432 passed 2024-11-10 18:05:11,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 18:05:11,161 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87617750-04335432, IP 2.240.219.3, Port 22 2024-11-10 18:05:11,347 - DEBUG - VM ctest-TestBasicPolicy-87617750-04335432 is ready for SSH connections 2024-11-10 18:05:11,347 - INFO - Waiting for VM ctest-TestBasicPolicy-87617750-45330386 to be up.. 2024-11-10 18:05:11,477 - DEBUG - VM is in ACTIVE state now 2024-11-10 18:05:11,477 - INFO - VM name : ctest-TestBasicPolicy-87617750-45330386 2024-11-10 18:05:11,606 - DEBUG - VM ctest-TestBasicPolicy-87617750-45330386 ID is 1d5f5052-fb6e-49c3-9eab-958e2d799c4d 2024-11-10 18:05:11,606 - DEBUG - VM ctest-TestBasicPolicy-87617750-45330386 launched on Node cn-jenkins-deploy-platform-ansible-os-2259-1 2024-11-10 18:05:11,753 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/1d5f5052-fb6e-49c3-9eab-958e2d799c4d 2024-11-10 18:05:11,767 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/28a41aa7-2ac4-4027-b011-cd06b2f5daeb 2024-11-10 18:05:13,053 - 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=5.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.08 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 = 1.075/3.429/5.784/2.354 ms') 2024-11-10 18:05:13,054 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-87617750-45330386 passed 2024-11-10 18:05:13,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 18:05:13,229 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87617750-45330386, IP 86.147.83.131, Port 22 2024-11-10 18:05:13,411 - DEBUG - VM ctest-TestBasicPolicy-87617750-45330386 is ready for SSH connections 2024-11-10 18:05:13,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 18:05:13,411 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 86.147.83.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-11-10 18:05:13,411 - DEBUG - ping -s 56 -c 3 -W 1 86.147.83.131 2024-11-10 18:05:17,712 - DEBUG - PING 86.147.83.131 (86.147.83.131): 56 data bytes 64 bytes from 86.147.83.131: seq=0 ttl=63 time=3.729 ms 64 bytes from 86.147.83.131: seq=1 ttl=63 time=1.565 ms 64 bytes from 86.147.83.131: seq=2 ttl=63 time=1.554 ms --- 86.147.83.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.554/2.282/3.729 ms 2024-11-10 18:05:17,712 - INFO - Ping to IP 86.147.83.131 from VM ctest-TestBasicPolicy-87617750-04335432 passed 2024-11-10 18:05:17,984 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6ae32084-37a0-4b2c-a207-c8c91e0ef986", "href": "http://10.0.0.31:8082/network-policy/6ae32084-37a0-4b2c-a207-c8c91e0ef986"}} 2024-11-10 18:05:17,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 18:05:17,984 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 86.147.83.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-11-10 18:05:17,984 - DEBUG - ping -s 56 -c 3 -W 1 86.147.83.131 2024-11-10 18:05:21,210 - DEBUG - PING 86.147.83.131 (86.147.83.131): 56 data bytes --- 86.147.83.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-11-10 18:05:21,211 - WARNING - Ping to IP 86.147.83.131 from VM ctest-TestBasicPolicy-87617750-04335432 failed 2024-11-10 18:05:21,211 - INFO - Deleting VM ctest-TestBasicPolicy-87617750-45330386 2024-11-10 18:05:21,278 - INFO - Deleting VM ctest-TestBasicPolicy-87617750-04335432 2024-11-10 18:05:21,805 - INFO - Deleted policy ctest-policy-allow-all-05022936 2024-11-10 18:05:21,805 - INFO - Deleting VN ctest-vn-92982245 2024-11-10 18:05:21,873 - DEBUG - VN d689c9ea-11e0-44cc-8742-58aa3db42e63 still in use: Unable to complete operation on network d689c9ea-11e0-44cc-8742-58aa3db42e63. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-65854fd0-5f23-4419-94b3-0cc993d06ef3'] 2024-11-10 18:05:21,873 - WARNING - Deleting VN ctest-vn-92982245 failed..Will retry 2024-11-10 18:05:24,092 - DEBUG - Response for deleting network () 2024-11-10 18:05:24,092 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/ab6a06eb-df3e-442c-8c44-0f4f4da4d35a 2024-11-10 18:05:24,101 - DEBUG - Response Code: 404 2024-11-10 18:05:24,101 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2024-11-10 18:05:24,107 - DEBUG - Requesting: http://10.0.0.31:8082/domain/18a5d2f2-a9a8-4542-8e88-db19369253c6 2024-11-10 18:05:24,172 - DEBUG - Requesting: http://10.0.0.31:8082/project/01c1ddeb-97cc-4c46-aad2-63a368b4de6b 2024-11-10 18:05:24,289 - INFO - Validated that VN ctest-vn-92982245 is not found in API Server 2024-11-10 18:05:24,314 - DEBUG - VN ctest-vn-92982245 is not present in Agent 10.0.0.31 2024-11-10 18:05:24,314 - INFO - Validated that VN ctest-vn-92982245 is not in any agent 2024-11-10 18:05:24,332 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92982245 info 2024-11-10 18:05:24,333 - INFO - Deleting VN ctest-vn-97191884 2024-11-10 18:05:24,483 - DEBUG - Response for deleting network () 2024-11-10 18:05:24,484 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/02e36787-3d71-4f64-898d-58f40a74c95b 2024-11-10 18:05:24,492 - DEBUG - Response Code: 404 2024-11-10 18:05:24,492 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2024-11-10 18:05:24,499 - DEBUG - Requesting: http://10.0.0.31:8082/domain/18a5d2f2-a9a8-4542-8e88-db19369253c6 2024-11-10 18:05:24,555 - DEBUG - Requesting: http://10.0.0.31:8082/project/01c1ddeb-97cc-4c46-aad2-63a368b4de6b 2024-11-10 18:05:24,662 - INFO - Validated that VN ctest-vn-97191884 is not found in API Server 2024-11-10 18:05:24,677 - DEBUG - VN ctest-vn-97191884 is not present in Agent 10.0.0.31 2024-11-10 18:05:24,677 - INFO - Validated that VN ctest-vn-97191884 is not in any agent 2024-11-10 18:05:24,696 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97191884 info 2024-11-10 18:05:24,966 - DEBUG - No XMPP flaps were noticed during the test
2024-11-10 18:05:24,966 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33]
2024-11-10 18:05:24,966 - INFO - -------------------------------------------------------------------------------- 2024-11-10 18:05:25,764 - INFO - Deleted project: ctest-TestBasicPolicy-87617750, ID : 01c1ddeb-97cc-4c46-aad2-63a368b4de6b