2024-11-03 22:43:55,896 - INFO - Domain Default found not creating 2024-11-03 22:43:56,092 - INFO - Project ctest-TestBasicPolicy-38102941 not found, creating it 2024-11-03 22:43:56,588 - INFO - Created Project:ctest-TestBasicPolicy-38102941, ID : e6fd02b8-b879-4185-a26b-5f7023940e57 2024-11-03 22:43:58,159 - INFO - ================================================================================ 2024-11-03 22:43:58,159 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-11-03 22:43:58,159 - 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-03 22:43:58,419 - DEBUG - Nothing to compare xmpp stats {'10.0.0.37': {'10.20.0.23': '0'}} with 2024-11-03 22:43:58,419 - INFO - Initial checks done. Running the testcase now 2024-11-03 22:43:58,419 - INFO - 2024-11-03 22:43:59,053 - DEBUG - Response for create_network : {'network': {'id': '35034077-8c1c-4d99-b316-d601fd62a214', 'name': 'ctest-vn-38008261', 'tenant_id': 'e6fd02b8b8794185a26b5f7023940e57', 'project_id': 'e6fd02b8b8794185a26b5f7023940e57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38102941', 'ctest-vn-38008261'], 'port_security_enabled': True, 'description': ''}} 2024-11-03 22:43:59,276 - DEBUG - Response for create_subnet : {'subnet': {'id': '4795ad46-5614-4f39-8e21-c1a4fbccda69', 'name': '', 'tenant_id': 'e6fd02b8b8794185a26b5f7023940e57', 'network_id': '35034077-8c1c-4d99-b316-d601fd62a214', 'ip_version': 4, 'cidr': '32.20.120.64/26', 'allocation_pools': [{'start': '32.20.120.66', 'end': '32.20.120.126'}], 'gateway_ip': '32.20.120.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.20.120.66', 'tags': [], 'project_id': 'e6fd02b8b8794185a26b5f7023940e57'}} 2024-11-03 22:43:59,297 - INFO - Created VN ctest-vn-38008261 2024-11-03 22:43:59,354 - DEBUG - VN ctest-vn-38008261 UUID is 35034077-8c1c-4d99-b316-d601fd62a214 2024-11-03 22:43:59,724 - DEBUG - Response for create_network : {'network': {'id': '1e8822c0-e65e-4782-b1bd-5ce62d59f08b', 'name': 'ctest-vn-31355670', 'tenant_id': 'e6fd02b8b8794185a26b5f7023940e57', 'project_id': 'e6fd02b8b8794185a26b5f7023940e57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38102941', 'ctest-vn-31355670'], 'port_security_enabled': True, 'description': ''}} 2024-11-03 22:43:59,950 - DEBUG - Response for create_subnet : {'subnet': {'id': '80027364-bffc-4a75-b49c-8586ad265920', 'name': '', 'tenant_id': 'e6fd02b8b8794185a26b5f7023940e57', 'network_id': '1e8822c0-e65e-4782-b1bd-5ce62d59f08b', 'ip_version': 4, 'cidr': '139.47.72.64/26', 'allocation_pools': [{'start': '139.47.72.66', 'end': '139.47.72.126'}], 'gateway_ip': '139.47.72.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.47.72.66', 'tags': [], 'project_id': 'e6fd02b8b8794185a26b5f7023940e57'}} 2024-11-03 22:43:59,971 - INFO - Created VN ctest-vn-31355670 2024-11-03 22:44:00,030 - DEBUG - VN ctest-vn-31355670 UUID is 1e8822c0-e65e-4782-b1bd-5ce62d59f08b 2024-11-03 22:44:00,161 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38102941:ctest-vn-38008261, 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-38102941:ctest-vn-31355670, 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-03 22:44:00,534 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '35034077-8c1c-4d99-b316-d601fd62a214', 'name': 'ctest-vn-38008261', 'tenant_id': 'e6fd02b8b8794185a26b5f7023940e57', 'project_id': 'e6fd02b8b8794185a26b5f7023940e57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4795ad46-5614-4f39-8e21-c1a4fbccda69'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38102941', 'ctest-vn-38008261'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38102941', 'ctest-policy-allow-all-42803263']], 'subnet_ipam': [{'subnet_cidr': '32.20.120.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-03 22:44:00,798 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1e8822c0-e65e-4782-b1bd-5ce62d59f08b', 'name': 'ctest-vn-31355670', 'tenant_id': 'e6fd02b8b8794185a26b5f7023940e57', 'project_id': 'e6fd02b8b8794185a26b5f7023940e57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['80027364-bffc-4a75-b49c-8586ad265920'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38102941', 'ctest-vn-31355670'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38102941', 'ctest-policy-allow-all-42803263']], 'subnet_ipam': [{'subnet_cidr': '139.47.72.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-03 22:44:00,971 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2024-11-03 22:44:01,273 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2024-11-03 22:44:01,308 - DEBUG - Requesting: http://10.0.0.37:8082/domain/c178c8d9-88e5-4eea-bfae-146ab913ce90 2024-11-03 22:44:01,324 - DEBUG - Requesting: http://10.0.0.37:8082/project/e6fd02b8-b879-4185-a26b-5f7023940e57 2024-11-03 22:44:01,413 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/35034077-8c1c-4d99-b316-d601fd62a214 2024-11-03 22:44:01,429 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/35034077-8c1c-4d99-b316-d601fd62a214 2024-11-03 22:44:01,447 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/11e84f43-bd4a-40f5-97e9-b6f242b78209 2024-11-03 22:44:01,457 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/11e84f43-bd4a-40f5-97e9-b6f242b78209 2024-11-03 22:44:01,467 - DEBUG - Requesting: http://10.0.0.37:8082/route-target/ceb23d2d-8e95-42ab-8082-f442b784909a 2024-11-03 22:44:01,476 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-03 22:44:01,476 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/35034077-8c1c-4d99-b316-d601fd62a214 2024-11-03 22:44:01,494 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/11e84f43-bd4a-40f5-97e9-b6f242b78209 2024-11-03 22:44:01,538 - INFO - Verified VN network id 8 for VN 35034077-8c1c-4d99-b316-d601fd62a214 2024-11-03 22:44:01,538 - INFO - Verifications in API Server for VN ctest-vn-38008261 passed 2024-11-03 22:44:01,538 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/35034077-8c1c-4d99-b316-d601fd62a214 2024-11-03 22:44:01,563 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/11e84f43-bd4a-40f5-97e9-b6f242b78209 2024-11-03 22:44:01,578 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/11e84f43-bd4a-40f5-97e9-b6f242b78209 2024-11-03 22:44:01,593 - DEBUG - Requesting: http://10.0.0.37:8082/route-target/ceb23d2d-8e95-42ab-8082-f442b784909a 2024-11-03 22:44:01,615 - DEBUG - Control-node 10.0.0.37 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38102941:ctest-vn-38008261', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38102941', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3819967791136263577', 'uuid-lslong': '12904737086311146004'}, 'enable': 'true', 'created': '2024-11-03T22:43:59', 'last-modified': '2024-11-03T22:44:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.099536'} 2024-11-03 22:44:01,623 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-03 22:44:01,623 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38008261 passed 2024-11-03 22:44:01,623 - DEBUG - ====Verifying policy data for ctest-vn-38008261 in API_Server ====== 2024-11-03 22:44:01,623 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2024-11-03 22:44:01,631 - DEBUG - Requesting: http://10.0.0.37:8082/domain/c178c8d9-88e5-4eea-bfae-146ab913ce90 2024-11-03 22:44:01,647 - DEBUG - Requesting: http://10.0.0.37:8082/project/e6fd02b8-b879-4185-a26b-5f7023940e57 2024-11-03 22:44:01,738 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/35034077-8c1c-4d99-b316-d601fd62a214 2024-11-03 22:44:01,755 - DEBUG - ==>Verifying data for policy with id: c8723767-5b67-4509-8555-88b31bef54fc, fqn: ['default-domain', 'ctest-TestBasicPolicy-38102941', 'ctest-policy-allow-all-42803263'] 2024-11-03 22:44:01,755 - INFO - VN ctest-vn-38008261 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-03 22:44:01,755 - DEBUG - Verifying the vn in opserver 2024-11-03 22:44:01,756 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38102941:ctest-vn-38008261 virtual network link through opserver 10.0.0.37 2024-11-03 22:44:01,756 - DEBUG - Requesting: http://10.0.0.37:8081/analytics/uves/virtual-networks 2024-11-03 22:44:02,054 - DEBUG - Requesting: http://10.0.0.37:8081/analytics/uves/virtual-networks 2024-11-03 22:44:02,125 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38102941:ctest-vn-38008261', 'href': 'http://10.0.0.37:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38102941:ctest-vn-38008261?flat'} 2024-11-03 22:44:02,125 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38102941:ctest-vn-38008261 is found in opserver 2024-11-03 22:44:02,144 - DEBUG - Do not have enough data to verify VN in agent 2024-11-03 22:44:02,152 - DEBUG - VRF ids for VN ctest-vn-38008261: {} 2024-11-03 22:44:02,152 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2024-11-03 22:44:02,162 - DEBUG - Requesting: http://10.0.0.37:8082/domain/c178c8d9-88e5-4eea-bfae-146ab913ce90 2024-11-03 22:44:02,184 - DEBUG - Requesting: http://10.0.0.37:8082/project/e6fd02b8-b879-4185-a26b-5f7023940e57 2024-11-03 22:44:02,288 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/1e8822c0-e65e-4782-b1bd-5ce62d59f08b 2024-11-03 22:44:02,311 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/1e8822c0-e65e-4782-b1bd-5ce62d59f08b 2024-11-03 22:44:02,328 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/d0415c04-9e9e-4427-b4de-e85f30598876 2024-11-03 22:44:02,340 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/d0415c04-9e9e-4427-b4de-e85f30598876 2024-11-03 22:44:02,350 - DEBUG - Requesting: http://10.0.0.37:8082/route-target/a94ff215-abe9-47ec-b1af-0697c71293ad 2024-11-03 22:44:02,362 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-03 22:44:02,362 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/1e8822c0-e65e-4782-b1bd-5ce62d59f08b 2024-11-03 22:44:02,380 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/d0415c04-9e9e-4427-b4de-e85f30598876 2024-11-03 22:44:02,407 - INFO - Verified VN network id 9 for VN 1e8822c0-e65e-4782-b1bd-5ce62d59f08b 2024-11-03 22:44:02,407 - INFO - Verifications in API Server for VN ctest-vn-31355670 passed 2024-11-03 22:44:02,407 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/1e8822c0-e65e-4782-b1bd-5ce62d59f08b 2024-11-03 22:44:02,431 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/d0415c04-9e9e-4427-b4de-e85f30598876 2024-11-03 22:44:02,444 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/d0415c04-9e9e-4427-b4de-e85f30598876 2024-11-03 22:44:02,456 - DEBUG - Requesting: http://10.0.0.37:8082/route-target/a94ff215-abe9-47ec-b1af-0697c71293ad 2024-11-03 22:44:02,474 - DEBUG - Control-node 10.0.0.37 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38102941:ctest-vn-31355670', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38102941', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2200046629864490882', 'uuid-lslong': '12807495058984661131'}, 'enable': 'true', 'created': '2024-11-03T22:43:59', 'last-modified': '2024-11-03T22:44:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.733924'} 2024-11-03 22:44:02,482 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-03 22:44:02,483 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31355670 passed 2024-11-03 22:44:02,483 - DEBUG - ====Verifying policy data for ctest-vn-31355670 in API_Server ====== 2024-11-03 22:44:02,483 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2024-11-03 22:44:02,491 - DEBUG - Requesting: http://10.0.0.37:8082/domain/c178c8d9-88e5-4eea-bfae-146ab913ce90 2024-11-03 22:44:02,509 - DEBUG - Requesting: http://10.0.0.37:8082/project/e6fd02b8-b879-4185-a26b-5f7023940e57 2024-11-03 22:44:02,600 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/1e8822c0-e65e-4782-b1bd-5ce62d59f08b 2024-11-03 22:44:02,616 - DEBUG - ==>Verifying data for policy with id: c8723767-5b67-4509-8555-88b31bef54fc, fqn: ['default-domain', 'ctest-TestBasicPolicy-38102941', 'ctest-policy-allow-all-42803263'] 2024-11-03 22:44:02,616 - INFO - VN ctest-vn-31355670 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-03 22:44:02,616 - DEBUG - Verifying the vn in opserver 2024-11-03 22:44:02,616 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38102941:ctest-vn-31355670 virtual network link through opserver 10.0.0.37 2024-11-03 22:44:02,616 - DEBUG - Requesting: http://10.0.0.37:8081/analytics/uves/virtual-networks 2024-11-03 22:44:02,629 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38102941:ctest-vn-31355670', 'href': 'http://10.0.0.37:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38102941:ctest-vn-31355670?flat'} 2024-11-03 22:44:02,629 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38102941:ctest-vn-31355670 is found in opserver 2024-11-03 22:44:02,642 - DEBUG - Do not have enough data to verify VN in agent 2024-11-03 22:44:02,648 - DEBUG - VRF ids for VN ctest-vn-31355670: {} 2024-11-03 22:44:02,716 - DEBUG - Services list from nova: [, , ] 2024-11-03 22:44:03,929 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2192-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2192-1) 2024-11-03 22:44:05,243 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2192-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2192-1) 2024-11-03 22:44:05,243 - INFO - Waiting for VM ctest-TestBasicPolicy-38102941-40302612 to be up.. 2024-11-03 22:44:05,352 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-03 22:44:10,440 - DEBUG - VM is in ACTIVE state now 2024-11-03 22:44:10,441 - INFO - VM name : ctest-TestBasicPolicy-38102941-40302612 2024-11-03 22:44:10,531 - DEBUG - VM ctest-TestBasicPolicy-38102941-40302612 ID is f2b2f4f0-ce2b-4aef-b63f-566cc3f76625 2024-11-03 22:44:10,551 - DEBUG - VM ctest-TestBasicPolicy-38102941-40302612 launched on Node cn-jenkins-deploy-platform-ansible-os-2192-1 2024-11-03 22:44:10,640 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/f2b2f4f0-ce2b-4aef-b63f-566cc3f76625 2024-11-03 22:44:10,651 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/fd9e555f-5bf6-4980-8f60-a160393f0885 2024-11-03 22:44:13,895 - 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-11-03 22:44:13,895 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38102941-40302612 failed! 2024-11-03 22:44:13,961 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-38102941:ctest-vn-38008261 is 32.20.120.65 and allocation pool is NOT set 2024-11-03 22:44:16,020 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=4.17 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/2.300/4.169/1.869 ms') 2024-11-03 22:44:16,021 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38102941-40302612 passed 2024-11-03 22:44:16,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 22:44:16,179 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38102941-40302612, IP 32.20.120.67, Port 22 2024-11-03 22:44:16,334 - DEBUG - VM ctest-TestBasicPolicy-38102941-40302612 is ready for SSH connections 2024-11-03 22:44:16,335 - INFO - Waiting for VM ctest-TestBasicPolicy-38102941-47502500 to be up.. 2024-11-03 22:44:16,424 - DEBUG - VM is in ACTIVE state now 2024-11-03 22:44:16,430 - INFO - VM name : ctest-TestBasicPolicy-38102941-47502500 2024-11-03 22:44:16,528 - DEBUG - VM ctest-TestBasicPolicy-38102941-47502500 ID is 034ce6d0-d65b-4a81-952f-ed5f6403036e 2024-11-03 22:44:16,530 - DEBUG - VM ctest-TestBasicPolicy-38102941-47502500 launched on Node cn-jenkins-deploy-platform-ansible-os-2192-1 2024-11-03 22:44:16,638 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/034ce6d0-d65b-4a81-952f-ed5f6403036e 2024-11-03 22:44:16,650 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/877453eb-81fd-4542-83f8-fa84359ad422 2024-11-03 22:44:17,922 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.373 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 = 0.373/1.861/3.350/1.488 ms') 2024-11-03 22:44:17,922 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-38102941-47502500 passed 2024-11-03 22:44:18,082 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 22:44:18,083 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38102941-47502500, IP 139.47.72.67, Port 22 2024-11-03 22:44:18,242 - DEBUG - VM ctest-TestBasicPolicy-38102941-47502500 is ready for SSH connections 2024-11-03 22:44:18,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 22:44:18,242 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.47.72.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2024-11-03 22:44:18,242 - DEBUG - ping -s 56 -c 3 -W 1 139.47.72.67 2024-11-03 22:44:22,302 - DEBUG - PING 139.47.72.67 (139.47.72.67): 56 data bytes 64 bytes from 139.47.72.67: seq=0 ttl=63 time=3.518 ms 64 bytes from 139.47.72.67: seq=1 ttl=63 time=1.064 ms 64 bytes from 139.47.72.67: seq=2 ttl=63 time=0.920 ms --- 139.47.72.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.920/1.834/3.518 ms 2024-11-03 22:44:22,302 - INFO - Ping to IP 139.47.72.67 from VM ctest-TestBasicPolicy-38102941-40302612 passed 2024-11-03 22:44:22,494 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c8723767-5b67-4509-8555-88b31bef54fc", "href": "http://10.0.0.37:8082/network-policy/c8723767-5b67-4509-8555-88b31bef54fc"}} 2024-11-03 22:44:22,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 22:44:22,495 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.47.72.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2024-11-03 22:44:22,495 - DEBUG - ping -s 56 -c 3 -W 1 139.47.72.67 2024-11-03 22:44:25,703 - DEBUG - PING 139.47.72.67 (139.47.72.67): 56 data bytes --- 139.47.72.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-11-03 22:44:25,703 - WARNING - Ping to IP 139.47.72.67 from VM ctest-TestBasicPolicy-38102941-40302612 failed 2024-11-03 22:44:25,704 - INFO - Deleting VM ctest-TestBasicPolicy-38102941-47502500 2024-11-03 22:44:25,782 - INFO - Deleting VM ctest-TestBasicPolicy-38102941-40302612 2024-11-03 22:44:26,251 - INFO - Deleted policy ctest-policy-allow-all-42803263 2024-11-03 22:44:26,251 - INFO - Deleting VN ctest-vn-31355670 2024-11-03 22:44:26,299 - DEBUG - VN 1e8822c0-e65e-4782-b1bd-5ce62d59f08b still in use: Unable to complete operation on network 1e8822c0-e65e-4782-b1bd-5ce62d59f08b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5d4a3cf3-c151-4613-871e-bcb459dd47f5'] 2024-11-03 22:44:26,299 - WARNING - Deleting VN ctest-vn-31355670 failed..Will retry 2024-11-03 22:44:28,413 - DEBUG - Response for deleting network () 2024-11-03 22:44:28,413 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/d0415c04-9e9e-4427-b4de-e85f30598876 2024-11-03 22:44:28,421 - DEBUG - Response Code: 404 2024-11-03 22:44:28,421 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2024-11-03 22:44:28,427 - DEBUG - Requesting: http://10.0.0.37:8082/domain/c178c8d9-88e5-4eea-bfae-146ab913ce90 2024-11-03 22:44:28,486 - DEBUG - Requesting: http://10.0.0.37:8082/project/e6fd02b8-b879-4185-a26b-5f7023940e57 2024-11-03 22:44:28,568 - INFO - Validated that VN ctest-vn-31355670 is not found in API Server 2024-11-03 22:44:28,580 - DEBUG - VN ctest-vn-31355670 is not present in Agent 10.0.0.37 2024-11-03 22:44:28,580 - INFO - Validated that VN ctest-vn-31355670 is not in any agent 2024-11-03 22:44:28,598 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31355670 info 2024-11-03 22:44:28,598 - INFO - Deleting VN ctest-vn-38008261 2024-11-03 22:44:28,719 - DEBUG - Response for deleting network () 2024-11-03 22:44:28,719 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/11e84f43-bd4a-40f5-97e9-b6f242b78209 2024-11-03 22:44:28,725 - DEBUG - Response Code: 404 2024-11-03 22:44:28,726 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2024-11-03 22:44:28,735 - DEBUG - Requesting: http://10.0.0.37:8082/domain/c178c8d9-88e5-4eea-bfae-146ab913ce90 2024-11-03 22:44:28,796 - DEBUG - Requesting: http://10.0.0.37:8082/project/e6fd02b8-b879-4185-a26b-5f7023940e57 2024-11-03 22:44:28,881 - INFO - Validated that VN ctest-vn-38008261 is not found in API Server 2024-11-03 22:44:28,895 - DEBUG - VN ctest-vn-38008261 is not present in Agent 10.0.0.37 2024-11-03 22:44:28,895 - INFO - Validated that VN ctest-vn-38008261 is not in any agent 2024-11-03 22:44:28,914 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38008261 info 2024-11-03 22:44:29,168 - DEBUG - No XMPP flaps were noticed during the test 2024-11-03 22:44:29,168 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2024-11-03 22:44:29,168 - INFO - -------------------------------------------------------------------------------- 2024-11-03 22:44:29,894 - INFO - Deleted project: ctest-TestBasicPolicy-38102941, ID : e6fd02b8-b879-4185-a26b-5f7023940e57