2024-08-27 02:31:10,475 - INFO - Domain Default found not creating 2024-08-27 02:31:10,822 - INFO - Project ctest-TestBasicPolicy-94756056 not found, creating it 2024-08-27 02:31:11,434 - INFO - Created Project:ctest-TestBasicPolicy-94756056, ID : f6333013-5f40-4d60-8db6-07ab67a3d790 2024-08-27 02:31:13,470 - INFO - ================================================================================ 2024-08-27 02:31:13,470 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-08-27 02:31:13,470 - 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-27 02:31:13,767 - DEBUG - Nothing to compare xmpp stats {'10.0.0.45': {'10.20.0.10': '0'}} with 2024-08-27 02:31:13,767 - INFO - Initial checks done. Running the testcase now 2024-08-27 02:31:13,767 - INFO - 2024-08-27 02:31:14,509 - DEBUG - Response for create_network : {'network': {'id': 'e6f4d9b2-bc58-4e0f-b40c-4f9810eb5602', 'name': 'ctest-vn-46332981', 'tenant_id': 'f63330135f404d608db607ab67a3d790', 'project_id': 'f63330135f404d608db607ab67a3d790', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94756056', 'ctest-vn-46332981'], 'port_security_enabled': True, 'description': ''}} 2024-08-27 02:31:14,711 - DEBUG - Response for create_subnet : {'subnet': {'id': '7cd86902-e6d9-4144-8c4f-9a9324926a96', 'name': '', 'tenant_id': 'f63330135f404d608db607ab67a3d790', 'network_id': 'e6f4d9b2-bc58-4e0f-b40c-4f9810eb5602', 'ip_version': 4, 'cidr': '71.5.52.128/26', 'allocation_pools': [{'start': '71.5.52.130', 'end': '71.5.52.190'}], 'gateway_ip': '71.5.52.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.5.52.130', 'tags': [], 'project_id': 'f63330135f404d608db607ab67a3d790'}} 2024-08-27 02:31:14,737 - INFO - Created VN ctest-vn-46332981 2024-08-27 02:31:14,793 - DEBUG - VN ctest-vn-46332981 UUID is e6f4d9b2-bc58-4e0f-b40c-4f9810eb5602 2024-08-27 02:31:15,270 - DEBUG - Response for create_network : {'network': {'id': '8e8afee6-477b-4a2f-b6d6-857503f08020', 'name': 'ctest-vn-80642916', 'tenant_id': 'f63330135f404d608db607ab67a3d790', 'project_id': 'f63330135f404d608db607ab67a3d790', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94756056', 'ctest-vn-80642916'], 'port_security_enabled': True, 'description': ''}} 2024-08-27 02:31:15,606 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c11b4e3b-1d5b-44b2-8569-a81ba2917bd9', 'name': '', 'tenant_id': 'f63330135f404d608db607ab67a3d790', 'network_id': '8e8afee6-477b-4a2f-b6d6-857503f08020', 'ip_version': 4, 'cidr': '174.71.97.128/26', 'allocation_pools': [{'start': '174.71.97.130', 'end': '174.71.97.190'}], 'gateway_ip': '174.71.97.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.71.97.130', 'tags': [], 'project_id': 'f63330135f404d608db607ab67a3d790'}} 2024-08-27 02:31:15,643 - INFO - Created VN ctest-vn-80642916 2024-08-27 02:31:15,702 - DEBUG - VN ctest-vn-80642916 UUID is 8e8afee6-477b-4a2f-b6d6-857503f08020 2024-08-27 02:31:15,881 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-94756056:ctest-vn-46332981, 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-94756056:ctest-vn-80642916, 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-27 02:31:16,283 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e6f4d9b2-bc58-4e0f-b40c-4f9810eb5602', 'name': 'ctest-vn-46332981', 'tenant_id': 'f63330135f404d608db607ab67a3d790', 'project_id': 'f63330135f404d608db607ab67a3d790', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7cd86902-e6d9-4144-8c4f-9a9324926a96'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94756056', 'ctest-vn-46332981'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94756056', 'ctest-policy-allow-all-18362750']], 'subnet_ipam': [{'subnet_cidr': '71.5.52.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-27 02:31:16,573 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8e8afee6-477b-4a2f-b6d6-857503f08020', 'name': 'ctest-vn-80642916', 'tenant_id': 'f63330135f404d608db607ab67a3d790', 'project_id': 'f63330135f404d608db607ab67a3d790', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c11b4e3b-1d5b-44b2-8569-a81ba2917bd9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94756056', 'ctest-vn-80642916'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94756056', 'ctest-policy-allow-all-18362750']], 'subnet_ipam': [{'subnet_cidr': '174.71.97.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-27 02:31:16,753 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2024-08-27 02:31:17,063 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2024-08-27 02:31:17,149 - DEBUG - Requesting: http://10.0.0.45:8082/domain/d41e2796-2593-4c9d-bf9e-6f4facb930e0 2024-08-27 02:31:17,167 - DEBUG - Requesting: http://10.0.0.45:8082/project/f6333013-5f40-4d60-8db6-07ab67a3d790 2024-08-27 02:31:17,245 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/e6f4d9b2-bc58-4e0f-b40c-4f9810eb5602 2024-08-27 02:31:17,269 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/e6f4d9b2-bc58-4e0f-b40c-4f9810eb5602 2024-08-27 02:31:17,294 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/549fa9ef-2760-4e79-a045-68322b085eec 2024-08-27 02:31:17,310 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/549fa9ef-2760-4e79-a045-68322b085eec 2024-08-27 02:31:17,322 - DEBUG - Requesting: http://10.0.0.45:8082/route-target/9f196a72-2025-47f3-b107-00cf8528d0db 2024-08-27 02:31:17,332 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-27 02:31:17,332 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/e6f4d9b2-bc58-4e0f-b40c-4f9810eb5602 2024-08-27 02:31:17,342 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/549fa9ef-2760-4e79-a045-68322b085eec 2024-08-27 02:31:17,355 - INFO - Verified VN network id 7 for VN e6f4d9b2-bc58-4e0f-b40c-4f9810eb5602 2024-08-27 02:31:17,355 - INFO - Verifications in API Server for VN ctest-vn-46332981 passed 2024-08-27 02:31:17,355 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/e6f4d9b2-bc58-4e0f-b40c-4f9810eb5602 2024-08-27 02:31:17,364 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/549fa9ef-2760-4e79-a045-68322b085eec 2024-08-27 02:31:17,370 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/549fa9ef-2760-4e79-a045-68322b085eec 2024-08-27 02:31:17,379 - DEBUG - Requesting: http://10.0.0.45:8082/route-target/9f196a72-2025-47f3-b107-00cf8528d0db 2024-08-27 02:31:17,394 - DEBUG - Control-node 10.0.0.45 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94756056:ctest-vn-46332981', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94756056', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16642165884728135183', 'uuid-lslong': '12973832141085038082'}, 'enable': 'true', 'created': '2024-08-27T02:31:14', 'last-modified': '2024-08-27T02:31:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.157829'} 2024-08-27 02:31:17,402 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-27 02:31:17,402 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46332981 passed 2024-08-27 02:31:17,402 - DEBUG - ====Verifying policy data for ctest-vn-46332981 in API_Server ====== 2024-08-27 02:31:17,402 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2024-08-27 02:31:17,409 - DEBUG - Requesting: http://10.0.0.45:8082/domain/d41e2796-2593-4c9d-bf9e-6f4facb930e0 2024-08-27 02:31:17,423 - DEBUG - Requesting: http://10.0.0.45:8082/project/f6333013-5f40-4d60-8db6-07ab67a3d790 2024-08-27 02:31:17,510 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/e6f4d9b2-bc58-4e0f-b40c-4f9810eb5602 2024-08-27 02:31:17,527 - DEBUG - ==>Verifying data for policy with id: 3add2ca2-5815-4ab6-836b-d5728a3a67ae, fqn: ['default-domain', 'ctest-TestBasicPolicy-94756056', 'ctest-policy-allow-all-18362750'] 2024-08-27 02:31:17,527 - INFO - VN ctest-vn-46332981 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-27 02:31:17,527 - DEBUG - Verifying the vn in opserver 2024-08-27 02:31:17,527 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94756056:ctest-vn-46332981 virtual network link through opserver 10.0.0.45 2024-08-27 02:31:17,527 - DEBUG - Requesting: http://10.0.0.45:8081/analytics/uves/virtual-networks 2024-08-27 02:31:17,870 - DEBUG - Requesting: http://10.0.0.45:8081/analytics/uves/virtual-networks 2024-08-27 02:31:17,975 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94756056:ctest-vn-46332981', 'href': 'http://10.0.0.45:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94756056:ctest-vn-46332981?flat'} 2024-08-27 02:31:17,975 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94756056:ctest-vn-46332981 is found in opserver 2024-08-27 02:31:17,996 - DEBUG - Do not have enough data to verify VN in agent 2024-08-27 02:31:18,003 - DEBUG - VRF ids for VN ctest-vn-46332981: {} 2024-08-27 02:31:18,003 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2024-08-27 02:31:18,013 - DEBUG - Requesting: http://10.0.0.45:8082/domain/d41e2796-2593-4c9d-bf9e-6f4facb930e0 2024-08-27 02:31:18,031 - DEBUG - Requesting: http://10.0.0.45:8082/project/f6333013-5f40-4d60-8db6-07ab67a3d790 2024-08-27 02:31:18,110 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/8e8afee6-477b-4a2f-b6d6-857503f08020 2024-08-27 02:31:18,126 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/8e8afee6-477b-4a2f-b6d6-857503f08020 2024-08-27 02:31:18,143 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/2411b6e4-6d0e-43f4-924d-a40726c0966c 2024-08-27 02:31:18,162 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/2411b6e4-6d0e-43f4-924d-a40726c0966c 2024-08-27 02:31:18,178 - DEBUG - Requesting: http://10.0.0.45:8082/route-target/aa7be381-b94a-4e7b-843a-52cbdd16b0a9 2024-08-27 02:31:18,190 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-27 02:31:18,190 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/8e8afee6-477b-4a2f-b6d6-857503f08020 2024-08-27 02:31:18,206 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/2411b6e4-6d0e-43f4-924d-a40726c0966c 2024-08-27 02:31:18,230 - INFO - Verified VN network id 8 for VN 8e8afee6-477b-4a2f-b6d6-857503f08020 2024-08-27 02:31:18,231 - INFO - Verifications in API Server for VN ctest-vn-80642916 passed 2024-08-27 02:31:18,231 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/8e8afee6-477b-4a2f-b6d6-857503f08020 2024-08-27 02:31:18,248 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/2411b6e4-6d0e-43f4-924d-a40726c0966c 2024-08-27 02:31:18,263 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/2411b6e4-6d0e-43f4-924d-a40726c0966c 2024-08-27 02:31:18,277 - DEBUG - Requesting: http://10.0.0.45:8082/route-target/aa7be381-b94a-4e7b-843a-52cbdd16b0a9 2024-08-27 02:31:18,309 - DEBUG - Control-node 10.0.0.45 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94756056:ctest-vn-80642916', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94756056', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10271302165167032879', 'uuid-lslong': '13174864497542725664'}, 'enable': 'true', 'created': '2024-08-27T02:31:15', 'last-modified': '2024-08-27T02:31:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.772929'} 2024-08-27 02:31:18,323 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-27 02:31:18,323 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80642916 passed 2024-08-27 02:31:18,323 - DEBUG - ====Verifying policy data for ctest-vn-80642916 in API_Server ====== 2024-08-27 02:31:18,323 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2024-08-27 02:31:18,338 - DEBUG - Requesting: http://10.0.0.45:8082/domain/d41e2796-2593-4c9d-bf9e-6f4facb930e0 2024-08-27 02:31:18,362 - DEBUG - Requesting: http://10.0.0.45:8082/project/f6333013-5f40-4d60-8db6-07ab67a3d790 2024-08-27 02:31:18,459 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/8e8afee6-477b-4a2f-b6d6-857503f08020 2024-08-27 02:31:18,484 - DEBUG - ==>Verifying data for policy with id: 3add2ca2-5815-4ab6-836b-d5728a3a67ae, fqn: ['default-domain', 'ctest-TestBasicPolicy-94756056', 'ctest-policy-allow-all-18362750'] 2024-08-27 02:31:18,485 - INFO - VN ctest-vn-80642916 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-27 02:31:18,485 - DEBUG - Verifying the vn in opserver 2024-08-27 02:31:18,485 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94756056:ctest-vn-80642916 virtual network link through opserver 10.0.0.45 2024-08-27 02:31:18,485 - DEBUG - Requesting: http://10.0.0.45:8081/analytics/uves/virtual-networks 2024-08-27 02:31:18,509 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94756056:ctest-vn-80642916', 'href': 'http://10.0.0.45:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94756056:ctest-vn-80642916?flat'} 2024-08-27 02:31:18,509 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94756056:ctest-vn-80642916 is found in opserver 2024-08-27 02:31:18,535 - DEBUG - Do not have enough data to verify VN in agent 2024-08-27 02:31:18,551 - DEBUG - VRF ids for VN ctest-vn-80642916: {} 2024-08-27 02:31:18,686 - DEBUG - Services list from nova: [, , ] 2024-08-27 02:31:20,349 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1786-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1786-1) 2024-08-27 02:31:21,925 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1786-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1786-1) 2024-08-27 02:31:21,925 - INFO - Waiting for VM ctest-TestBasicPolicy-94756056-14309011 to be up.. 2024-08-27 02:31:22,045 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-27 02:31:27,246 - DEBUG - VM is in ACTIVE state now 2024-08-27 02:31:27,247 - INFO - VM name : ctest-TestBasicPolicy-94756056-14309011 2024-08-27 02:31:27,423 - DEBUG - VM ctest-TestBasicPolicy-94756056-14309011 ID is 2f3bfdef-4591-4675-b12b-7f63458b42cf 2024-08-27 02:31:27,466 - DEBUG - VM ctest-TestBasicPolicy-94756056-14309011 launched on Node cn-jenkins-deploy-platform-ansible-os-1786-1 2024-08-27 02:31:27,591 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/2f3bfdef-4591-4675-b12b-7f63458b42cf 2024-08-27 02:31:27,603 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/540c305f-b497-47d0-a338-cb4afb02ffc6 2024-08-27 02:31:30,930 - 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 1006ms') 2024-08-27 02:31:30,931 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94756056-14309011 failed! 2024-08-27 02:31:31,026 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94756056:ctest-vn-46332981 is 71.5.52.129 and allocation pool is NOT set 2024-08-27 02:31:33,093 - 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=6.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.10 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 = 3.096/4.794/6.493/1.698 ms') 2024-08-27 02:31:33,093 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94756056-14309011 passed 2024-08-27 02:31:33,265 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 02:31:33,265 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94756056-14309011, IP 71.5.52.131, Port 22 2024-08-27 02:31:33,452 - DEBUG - VM ctest-TestBasicPolicy-94756056-14309011 is ready for SSH connections 2024-08-27 02:31:33,453 - INFO - Waiting for VM ctest-TestBasicPolicy-94756056-48771435 to be up.. 2024-08-27 02:31:33,565 - DEBUG - VM is in ACTIVE state now 2024-08-27 02:31:33,565 - INFO - VM name : ctest-TestBasicPolicy-94756056-48771435 2024-08-27 02:31:33,675 - DEBUG - VM ctest-TestBasicPolicy-94756056-48771435 ID is 5ae5658f-6fc7-4744-a4e0-5ca2968b8075 2024-08-27 02:31:33,675 - DEBUG - VM ctest-TestBasicPolicy-94756056-48771435 launched on Node cn-jenkins-deploy-platform-ansible-os-1786-1 2024-08-27 02:31:33,812 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/5ae5658f-6fc7-4744-a4e0-5ca2968b8075 2024-08-27 02:31:33,829 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/93893159-cce0-4cf6-aefd-6c4d9aec464a 2024-08-27 02:31:35,126 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.68 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.677/4.139/5.601/1.462 ms') 2024-08-27 02:31:35,127 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-94756056-48771435 passed 2024-08-27 02:31:35,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 02:31:35,306 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94756056-48771435, IP 174.71.97.131, Port 22 2024-08-27 02:31:35,484 - DEBUG - VM ctest-TestBasicPolicy-94756056-48771435 is ready for SSH connections 2024-08-27 02:31:35,484 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 02:31:35,484 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.71.97.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123 2024-08-27 02:31:35,484 - DEBUG - ping -s 56 -c 3 -W 1 174.71.97.131 2024-08-27 02:31:39,899 - DEBUG - PING 174.71.97.131 (174.71.97.131): 56 data bytes 64 bytes from 174.71.97.131: seq=0 ttl=63 time=4.968 ms 64 bytes from 174.71.97.131: seq=1 ttl=63 time=1.618 ms 64 bytes from 174.71.97.131: seq=2 ttl=63 time=2.266 ms --- 174.71.97.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.618/2.950/4.968 ms 2024-08-27 02:31:39,899 - INFO - Ping to IP 174.71.97.131 from VM ctest-TestBasicPolicy-94756056-14309011 passed 2024-08-27 02:31:40,173 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3add2ca2-5815-4ab6-836b-d5728a3a67ae", "href": "http://10.0.0.45:8082/network-policy/3add2ca2-5815-4ab6-836b-d5728a3a67ae"}} 2024-08-27 02:31:40,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 02:31:40,173 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.71.97.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123 2024-08-27 02:31:40,174 - DEBUG - ping -s 56 -c 3 -W 1 174.71.97.131 2024-08-27 02:31:43,450 - DEBUG - PING 174.71.97.131 (174.71.97.131): 56 data bytes --- 174.71.97.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-08-27 02:31:43,450 - WARNING - Ping to IP 174.71.97.131 from VM ctest-TestBasicPolicy-94756056-14309011 failed 2024-08-27 02:31:43,450 - INFO - Deleting VM ctest-TestBasicPolicy-94756056-48771435 2024-08-27 02:31:43,636 - INFO - Deleting VM ctest-TestBasicPolicy-94756056-14309011 2024-08-27 02:31:44,213 - INFO - Deleted policy ctest-policy-allow-all-18362750 2024-08-27 02:31:44,213 - INFO - Deleting VN ctest-vn-80642916 2024-08-27 02:31:44,259 - DEBUG - VN 8e8afee6-477b-4a2f-b6d6-857503f08020 still in use: Unable to complete operation on network 8e8afee6-477b-4a2f-b6d6-857503f08020. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8a4262ea-2eb6-4bd3-a74b-b391a2ba08e0'] 2024-08-27 02:31:44,259 - WARNING - Deleting VN ctest-vn-80642916 failed..Will retry 2024-08-27 02:31:46,597 - DEBUG - Response for deleting network () 2024-08-27 02:31:46,597 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/2411b6e4-6d0e-43f4-924d-a40726c0966c 2024-08-27 02:31:46,615 - DEBUG - Response Code: 404 2024-08-27 02:31:46,615 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2024-08-27 02:31:46,630 - DEBUG - Requesting: http://10.0.0.45:8082/domain/d41e2796-2593-4c9d-bf9e-6f4facb930e0 2024-08-27 02:31:46,694 - DEBUG - Requesting: http://10.0.0.45:8082/project/f6333013-5f40-4d60-8db6-07ab67a3d790 2024-08-27 02:31:46,794 - INFO - Validated that VN ctest-vn-80642916 is not found in API Server 2024-08-27 02:31:46,811 - DEBUG - VN ctest-vn-80642916 is not present in Agent 10.0.0.45 2024-08-27 02:31:46,811 - INFO - Validated that VN ctest-vn-80642916 is not in any agent 2024-08-27 02:31:46,833 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80642916 info 2024-08-27 02:31:46,833 - INFO - Deleting VN ctest-vn-46332981 2024-08-27 02:31:47,226 - DEBUG - Response for deleting network () 2024-08-27 02:31:47,226 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/549fa9ef-2760-4e79-a045-68322b085eec 2024-08-27 02:31:47,234 - DEBUG - Response Code: 404 2024-08-27 02:31:47,234 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2024-08-27 02:31:47,243 - DEBUG - Requesting: http://10.0.0.45:8082/domain/d41e2796-2593-4c9d-bf9e-6f4facb930e0 2024-08-27 02:31:47,301 - DEBUG - Requesting: http://10.0.0.45:8082/project/f6333013-5f40-4d60-8db6-07ab67a3d790 2024-08-27 02:31:47,386 - INFO - Validated that VN ctest-vn-46332981 is not found in API Server 2024-08-27 02:31:47,410 - DEBUG - VN ctest-vn-46332981 is not present in Agent 10.0.0.45 2024-08-27 02:31:47,410 - INFO - Validated that VN ctest-vn-46332981 is not in any agent 2024-08-27 02:31:47,440 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46332981 info 2024-08-27 02:31:47,770 - DEBUG - No XMPP flaps were noticed during the test
2024-08-27 02:31:47,771 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2024-08-27 02:31:47,771 - INFO - -------------------------------------------------------------------------------- 2024-08-27 02:31:48,719 - INFO - Deleted project: ctest-TestBasicPolicy-94756056, ID : f6333013-5f40-4d60-8db6-07ab67a3d790