2024-11-08 06:35:37,309 - INFO - Domain Default found not creating 2024-11-08 06:35:37,501 - INFO - Project ctest-TestBasicPolicy-61664747 not found, creating it 2024-11-08 06:35:38,011 - INFO - Created Project:ctest-TestBasicPolicy-61664747, ID : c6649841-7a6a-4463-9e0f-7bbd0f3d479b 2024-11-08 06:35:39,550 - INFO - ================================================================================ 2024-11-08 06:35:39,550 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-11-08 06:35:39,550 - 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-08 06:35:39,809 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.34': '0'}} with 2024-11-08 06:35:39,810 - INFO - Initial checks done. Running the testcase now 2024-11-08 06:35:39,810 - INFO - 2024-11-08 06:35:40,414 - DEBUG - Response for create_network : {'network': {'id': '1dfddc96-1dd0-4da2-a6c0-e22e973561c4', 'name': 'ctest-vn-16351376', 'tenant_id': 'c66498417a6a44639e0f7bbd0f3d479b', 'project_id': 'c66498417a6a44639e0f7bbd0f3d479b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61664747', 'ctest-vn-16351376'], 'port_security_enabled': True, 'description': ''}} 2024-11-08 06:35:40,635 - DEBUG - Response for create_subnet : {'subnet': {'id': '7dc45128-45e3-47d8-acdf-52fdaaf96cd2', 'name': '', 'tenant_id': 'c66498417a6a44639e0f7bbd0f3d479b', 'network_id': '1dfddc96-1dd0-4da2-a6c0-e22e973561c4', 'ip_version': 4, 'cidr': '53.179.118.192/26', 'allocation_pools': [{'start': '53.179.118.194', 'end': '53.179.118.254'}], 'gateway_ip': '53.179.118.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.179.118.194', 'tags': [], 'project_id': 'c66498417a6a44639e0f7bbd0f3d479b'}} 2024-11-08 06:35:40,655 - INFO - Created VN ctest-vn-16351376 2024-11-08 06:35:40,716 - DEBUG - VN ctest-vn-16351376 UUID is 1dfddc96-1dd0-4da2-a6c0-e22e973561c4 2024-11-08 06:35:41,058 - DEBUG - Response for create_network : {'network': {'id': 'd59f0e55-7109-4a44-9212-527a92bf4bf1', 'name': 'ctest-vn-46055972', 'tenant_id': 'c66498417a6a44639e0f7bbd0f3d479b', 'project_id': 'c66498417a6a44639e0f7bbd0f3d479b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61664747', 'ctest-vn-46055972'], 'port_security_enabled': True, 'description': ''}} 2024-11-08 06:35:41,247 - DEBUG - Response for create_subnet : {'subnet': {'id': '707b4835-f1eb-4c8b-a342-5966495265db', 'name': '', 'tenant_id': 'c66498417a6a44639e0f7bbd0f3d479b', 'network_id': 'd59f0e55-7109-4a44-9212-527a92bf4bf1', 'ip_version': 4, 'cidr': '2.242.211.64/26', 'allocation_pools': [{'start': '2.242.211.66', 'end': '2.242.211.126'}], 'gateway_ip': '2.242.211.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.242.211.66', 'tags': [], 'project_id': 'c66498417a6a44639e0f7bbd0f3d479b'}} 2024-11-08 06:35:41,267 - INFO - Created VN ctest-vn-46055972 2024-11-08 06:35:41,324 - DEBUG - VN ctest-vn-46055972 UUID is d59f0e55-7109-4a44-9212-527a92bf4bf1 2024-11-08 06:35:41,461 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61664747:ctest-vn-16351376, 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-61664747:ctest-vn-46055972, 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-08 06:35:41,797 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1dfddc96-1dd0-4da2-a6c0-e22e973561c4', 'name': 'ctest-vn-16351376', 'tenant_id': 'c66498417a6a44639e0f7bbd0f3d479b', 'project_id': 'c66498417a6a44639e0f7bbd0f3d479b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7dc45128-45e3-47d8-acdf-52fdaaf96cd2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61664747', 'ctest-vn-16351376'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61664747', 'ctest-policy-allow-all-10850093']], 'subnet_ipam': [{'subnet_cidr': '53.179.118.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-08 06:35:42,049 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd59f0e55-7109-4a44-9212-527a92bf4bf1', 'name': 'ctest-vn-46055972', 'tenant_id': 'c66498417a6a44639e0f7bbd0f3d479b', 'project_id': 'c66498417a6a44639e0f7bbd0f3d479b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['707b4835-f1eb-4c8b-a342-5966495265db'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61664747', 'ctest-vn-46055972'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61664747', 'ctest-policy-allow-all-10850093']], 'subnet_ipam': [{'subnet_cidr': '2.242.211.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-08 06:35:42,256 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-11-08 06:35:42,562 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-11-08 06:35:42,593 - DEBUG - Requesting: http://10.0.0.41:8082/domain/35cd93eb-89f6-48b1-ab48-06c87bc9cb8e 2024-11-08 06:35:42,611 - DEBUG - Requesting: http://10.0.0.41:8082/project/c6649841-7a6a-4463-9e0f-7bbd0f3d479b 2024-11-08 06:35:42,696 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1dfddc96-1dd0-4da2-a6c0-e22e973561c4 2024-11-08 06:35:42,716 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1dfddc96-1dd0-4da2-a6c0-e22e973561c4 2024-11-08 06:35:42,732 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/009a5225-eb7b-456c-b60e-95fa0b375efe 2024-11-08 06:35:42,741 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/009a5225-eb7b-456c-b60e-95fa0b375efe 2024-11-08 06:35:42,750 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/159bde32-669c-4aaa-bbe7-69dc02f6a6ee 2024-11-08 06:35:42,759 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-08 06:35:42,759 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1dfddc96-1dd0-4da2-a6c0-e22e973561c4 2024-11-08 06:35:42,774 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/009a5225-eb7b-456c-b60e-95fa0b375efe 2024-11-08 06:35:42,797 - INFO - Verified VN network id 8 for VN 1dfddc96-1dd0-4da2-a6c0-e22e973561c4 2024-11-08 06:35:42,798 - INFO - Verifications in API Server for VN ctest-vn-16351376 passed 2024-11-08 06:35:42,798 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1dfddc96-1dd0-4da2-a6c0-e22e973561c4 2024-11-08 06:35:42,813 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/009a5225-eb7b-456c-b60e-95fa0b375efe 2024-11-08 06:35:42,821 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/009a5225-eb7b-456c-b60e-95fa0b375efe 2024-11-08 06:35:42,831 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/159bde32-669c-4aaa-bbe7-69dc02f6a6ee 2024-11-08 06:35:42,844 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61664747:ctest-vn-16351376', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61664747', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2161125933511101858', 'uuid-lslong': '12015852495557714372'}, 'enable': 'true', 'created': '2024-11-08T06:35:40', 'last-modified': '2024-11-08T06:35:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.079307'} 2024-11-08 06:35:42,851 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-08 06:35:42,851 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16351376 passed 2024-11-08 06:35:42,851 - DEBUG - ====Verifying policy data for ctest-vn-16351376 in API_Server ====== 2024-11-08 06:35:42,851 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-11-08 06:35:42,857 - DEBUG - Requesting: http://10.0.0.41:8082/domain/35cd93eb-89f6-48b1-ab48-06c87bc9cb8e 2024-11-08 06:35:42,871 - DEBUG - Requesting: http://10.0.0.41:8082/project/c6649841-7a6a-4463-9e0f-7bbd0f3d479b 2024-11-08 06:35:42,953 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1dfddc96-1dd0-4da2-a6c0-e22e973561c4 2024-11-08 06:35:42,968 - DEBUG - ==>Verifying data for policy with id: 86f160f9-a624-4cb6-b61e-5fccf0b5d917, fqn: ['default-domain', 'ctest-TestBasicPolicy-61664747', 'ctest-policy-allow-all-10850093'] 2024-11-08 06:35:42,968 - INFO - VN ctest-vn-16351376 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-08 06:35:42,968 - DEBUG - Verifying the vn in opserver 2024-11-08 06:35:42,968 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61664747:ctest-vn-16351376 virtual network link through opserver 10.0.0.41 2024-11-08 06:35:42,968 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2024-11-08 06:35:43,266 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2024-11-08 06:35:43,331 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61664747:ctest-vn-16351376', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61664747:ctest-vn-16351376?flat'} 2024-11-08 06:35:43,331 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61664747:ctest-vn-16351376 is found in opserver 2024-11-08 06:35:43,342 - DEBUG - Do not have enough data to verify VN in agent 2024-11-08 06:35:43,349 - DEBUG - VRF ids for VN ctest-vn-16351376: {} 2024-11-08 06:35:43,349 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-11-08 06:35:43,356 - DEBUG - Requesting: http://10.0.0.41:8082/domain/35cd93eb-89f6-48b1-ab48-06c87bc9cb8e 2024-11-08 06:35:43,370 - DEBUG - Requesting: http://10.0.0.41:8082/project/c6649841-7a6a-4463-9e0f-7bbd0f3d479b 2024-11-08 06:35:43,448 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/d59f0e55-7109-4a44-9212-527a92bf4bf1 2024-11-08 06:35:43,466 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/d59f0e55-7109-4a44-9212-527a92bf4bf1 2024-11-08 06:35:43,480 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/54aa133f-25f9-4887-9dd4-1f435a661ba0 2024-11-08 06:35:43,489 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/54aa133f-25f9-4887-9dd4-1f435a661ba0 2024-11-08 06:35:43,498 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/ba390150-d83f-4245-8753-84ff23a42c43 2024-11-08 06:35:43,506 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-08 06:35:43,507 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/d59f0e55-7109-4a44-9212-527a92bf4bf1 2024-11-08 06:35:43,520 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/54aa133f-25f9-4887-9dd4-1f435a661ba0 2024-11-08 06:35:43,542 - INFO - Verified VN network id 9 for VN d59f0e55-7109-4a44-9212-527a92bf4bf1 2024-11-08 06:35:43,542 - INFO - Verifications in API Server for VN ctest-vn-46055972 passed 2024-11-08 06:35:43,542 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/d59f0e55-7109-4a44-9212-527a92bf4bf1 2024-11-08 06:35:43,556 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/54aa133f-25f9-4887-9dd4-1f435a661ba0 2024-11-08 06:35:43,565 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/54aa133f-25f9-4887-9dd4-1f435a661ba0 2024-11-08 06:35:43,573 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/ba390150-d83f-4245-8753-84ff23a42c43 2024-11-08 06:35:43,586 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61664747:ctest-vn-46055972', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61664747', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15393037811507087940', 'uuid-lslong': '10525565965519768561'}, 'enable': 'true', 'created': '2024-11-08T06:35:41', 'last-modified': '2024-11-08T06:35:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.560579'} 2024-11-08 06:35:43,593 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-08 06:35:43,593 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46055972 passed 2024-11-08 06:35:43,593 - DEBUG - ====Verifying policy data for ctest-vn-46055972 in API_Server ====== 2024-11-08 06:35:43,593 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-11-08 06:35:43,600 - DEBUG - Requesting: http://10.0.0.41:8082/domain/35cd93eb-89f6-48b1-ab48-06c87bc9cb8e 2024-11-08 06:35:43,615 - DEBUG - Requesting: http://10.0.0.41:8082/project/c6649841-7a6a-4463-9e0f-7bbd0f3d479b 2024-11-08 06:35:43,692 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/d59f0e55-7109-4a44-9212-527a92bf4bf1 2024-11-08 06:35:43,709 - DEBUG - ==>Verifying data for policy with id: 86f160f9-a624-4cb6-b61e-5fccf0b5d917, fqn: ['default-domain', 'ctest-TestBasicPolicy-61664747', 'ctest-policy-allow-all-10850093'] 2024-11-08 06:35:43,709 - INFO - VN ctest-vn-46055972 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-08 06:35:43,709 - DEBUG - Verifying the vn in opserver 2024-11-08 06:35:43,709 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61664747:ctest-vn-46055972 virtual network link through opserver 10.0.0.41 2024-11-08 06:35:43,709 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2024-11-08 06:35:43,721 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61664747:ctest-vn-46055972', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61664747:ctest-vn-46055972?flat'} 2024-11-08 06:35:43,721 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61664747:ctest-vn-46055972 is found in opserver 2024-11-08 06:35:43,732 - DEBUG - Do not have enough data to verify VN in agent 2024-11-08 06:35:43,737 - DEBUG - VRF ids for VN ctest-vn-46055972: {} 2024-11-08 06:35:43,800 - DEBUG - Services list from nova: [, , ] 2024-11-08 06:35:44,867 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2223-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2223-1) 2024-11-08 06:35:46,146 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2223-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2223-1) 2024-11-08 06:35:46,146 - INFO - Waiting for VM ctest-TestBasicPolicy-61664747-51495729 to be up.. 2024-11-08 06:35:46,246 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-08 06:35:51,331 - DEBUG - VM is in ACTIVE state now 2024-11-08 06:35:51,332 - INFO - VM name : ctest-TestBasicPolicy-61664747-51495729 2024-11-08 06:35:51,420 - DEBUG - VM ctest-TestBasicPolicy-61664747-51495729 ID is bc9f4998-734e-41c3-a84d-388c156809bb 2024-11-08 06:35:51,441 - DEBUG - VM ctest-TestBasicPolicy-61664747-51495729 launched on Node cn-jenkins-deploy-platform-ansible-os-2223-1 2024-11-08 06:35:51,520 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/bc9f4998-734e-41c3-a84d-388c156809bb 2024-11-08 06:35:51,530 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/d88bc0e6-9357-40b5-824e-092b041b9791 2024-11-08 06:35:54,801 - 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-11-08 06:35:54,801 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61664747-51495729 failed! 2024-11-08 06:35:54,860 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-61664747:ctest-vn-16351376 is 53.179.118.193 and allocation pool is NOT set 2024-11-08 06:35:56,916 - 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=7.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.349 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 = 0.349/4.099/7.849/3.750 ms') 2024-11-08 06:35:56,917 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61664747-51495729 passed 2024-11-08 06:35:57,072 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 06:35:57,072 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61664747-51495729, IP 53.179.118.195, Port 22 2024-11-08 06:35:57,228 - DEBUG - VM ctest-TestBasicPolicy-61664747-51495729 is ready for SSH connections 2024-11-08 06:35:57,228 - INFO - Waiting for VM ctest-TestBasicPolicy-61664747-10747399 to be up.. 2024-11-08 06:35:57,317 - DEBUG - VM is in ACTIVE state now 2024-11-08 06:35:57,317 - INFO - VM name : ctest-TestBasicPolicy-61664747-10747399 2024-11-08 06:35:57,409 - DEBUG - VM ctest-TestBasicPolicy-61664747-10747399 ID is ed270078-f6ea-461b-a6c4-11ce26992cc0 2024-11-08 06:35:57,409 - DEBUG - VM ctest-TestBasicPolicy-61664747-10747399 launched on Node cn-jenkins-deploy-platform-ansible-os-2223-1 2024-11-08 06:35:57,506 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/ed270078-f6ea-461b-a6c4-11ce26992cc0 2024-11-08 06:35:57,518 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/e2dcec5b-762f-4124-9934-0a84318b55f9 2024-11-08 06:35:58,772 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.09 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 = 1.086/3.011/4.937/1.925 ms') 2024-11-08 06:35:58,772 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-61664747-10747399 passed 2024-11-08 06:35:58,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 06:35:58,932 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61664747-10747399, IP 2.242.211.67, Port 22 2024-11-08 06:35:59,106 - DEBUG - VM ctest-TestBasicPolicy-61664747-10747399 is ready for SSH connections 2024-11-08 06:35:59,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 06:35:59,106 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.242.211.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2024-11-08 06:35:59,106 - DEBUG - ping -s 56 -c 3 -W 1 2.242.211.67 2024-11-08 06:36:03,217 - DEBUG - PING 2.242.211.67 (2.242.211.67): 56 data bytes 64 bytes from 2.242.211.67: seq=0 ttl=63 time=3.958 ms 64 bytes from 2.242.211.67: seq=1 ttl=63 time=0.865 ms 64 bytes from 2.242.211.67: seq=2 ttl=63 time=0.899 ms --- 2.242.211.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.865/1.907/3.958 ms 2024-11-08 06:36:03,217 - INFO - Ping to IP 2.242.211.67 from VM ctest-TestBasicPolicy-61664747-51495729 passed 2024-11-08 06:36:03,412 - DEBUG - Policy Update Response {"network-policy": {"uuid": "86f160f9-a624-4cb6-b61e-5fccf0b5d917", "href": "http://10.0.0.41:8082/network-policy/86f160f9-a624-4cb6-b61e-5fccf0b5d917"}} 2024-11-08 06:36:03,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 06:36:03,412 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.242.211.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2024-11-08 06:36:03,412 - DEBUG - ping -s 56 -c 3 -W 1 2.242.211.67 2024-11-08 06:36:06,630 - DEBUG - PING 2.242.211.67 (2.242.211.67): 56 data bytes --- 2.242.211.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-11-08 06:36:06,630 - WARNING - Ping to IP 2.242.211.67 from VM ctest-TestBasicPolicy-61664747-51495729 failed 2024-11-08 06:36:06,630 - INFO - Deleting VM ctest-TestBasicPolicy-61664747-10747399 2024-11-08 06:36:06,696 - INFO - Deleting VM ctest-TestBasicPolicy-61664747-51495729 2024-11-08 06:36:07,108 - INFO - Deleted policy ctest-policy-allow-all-10850093 2024-11-08 06:36:07,108 - INFO - Deleting VN ctest-vn-46055972 2024-11-08 06:36:07,153 - DEBUG - VN d59f0e55-7109-4a44-9212-527a92bf4bf1 still in use: Unable to complete operation on network d59f0e55-7109-4a44-9212-527a92bf4bf1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f086da83-4ebb-4423-824e-3fa5a488aebc'] 2024-11-08 06:36:07,153 - WARNING - Deleting VN ctest-vn-46055972 failed..Will retry 2024-11-08 06:36:09,278 - DEBUG - Response for deleting network () 2024-11-08 06:36:09,278 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/54aa133f-25f9-4887-9dd4-1f435a661ba0 2024-11-08 06:36:09,289 - DEBUG - Response Code: 404 2024-11-08 06:36:09,289 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-11-08 06:36:09,297 - DEBUG - Requesting: http://10.0.0.41:8082/domain/35cd93eb-89f6-48b1-ab48-06c87bc9cb8e 2024-11-08 06:36:09,350 - DEBUG - Requesting: http://10.0.0.41:8082/project/c6649841-7a6a-4463-9e0f-7bbd0f3d479b 2024-11-08 06:36:09,439 - INFO - Validated that VN ctest-vn-46055972 is not found in API Server 2024-11-08 06:36:09,451 - DEBUG - VN ctest-vn-46055972 is not present in Agent 10.0.0.41 2024-11-08 06:36:09,451 - INFO - Validated that VN ctest-vn-46055972 is not in any agent 2024-11-08 06:36:09,468 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46055972 info 2024-11-08 06:36:09,468 - INFO - Deleting VN ctest-vn-16351376 2024-11-08 06:36:09,597 - DEBUG - Response for deleting network () 2024-11-08 06:36:09,597 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/009a5225-eb7b-456c-b60e-95fa0b375efe 2024-11-08 06:36:09,608 - DEBUG - Response Code: 404 2024-11-08 06:36:09,608 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-11-08 06:36:09,614 - DEBUG - Requesting: http://10.0.0.41:8082/domain/35cd93eb-89f6-48b1-ab48-06c87bc9cb8e 2024-11-08 06:36:09,671 - DEBUG - Requesting: http://10.0.0.41:8082/project/c6649841-7a6a-4463-9e0f-7bbd0f3d479b 2024-11-08 06:36:09,752 - INFO - Validated that VN ctest-vn-16351376 is not found in API Server 2024-11-08 06:36:09,763 - DEBUG - VN ctest-vn-16351376 is not present in Agent 10.0.0.41 2024-11-08 06:36:09,763 - INFO - Validated that VN ctest-vn-16351376 is not in any agent 2024-11-08 06:36:09,780 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16351376 info 2024-11-08 06:36:10,034 - DEBUG - No XMPP flaps were noticed during the test 2024-11-08 06:36:10,035 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2024-11-08 06:36:10,035 - INFO - -------------------------------------------------------------------------------- 2024-11-08 06:36:10,987 - INFO - Deleted project: ctest-TestBasicPolicy-61664747, ID : c6649841-7a6a-4463-9e0f-7bbd0f3d479b