2024-11-08 23:18:56,681 - INFO - Domain Default found not creating 2024-11-08 23:18:56,842 - INFO - Project ctest-TestBasicPolicy-15962514 not found, creating it 2024-11-08 23:18:57,335 - INFO - Created Project:ctest-TestBasicPolicy-15962514, ID : 0414296f-a255-45e6-b0bd-29762bd0a017 2024-11-08 23:18:58,845 - INFO - ================================================================================ 2024-11-08 23:18:58,845 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-11-08 23:18:58,845 - 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 23:18:59,102 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.21': '0'}} with 2024-11-08 23:18:59,102 - INFO - Initial checks done. Running the testcase now 2024-11-08 23:18:59,102 - INFO - 2024-11-08 23:18:59,675 - DEBUG - Response for create_network : {'network': {'id': '78d4b5ce-456b-44ee-bc16-ed3a00445442', 'name': 'ctest-vn-57648441', 'tenant_id': '0414296fa25545e6b0bd29762bd0a017', 'project_id': '0414296fa25545e6b0bd29762bd0a017', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15962514', 'ctest-vn-57648441'], 'port_security_enabled': True, 'description': ''}} 2024-11-08 23:18:59,872 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b2a9c886-15a4-43d3-b26e-f438c40e7e29', 'name': '', 'tenant_id': '0414296fa25545e6b0bd29762bd0a017', 'network_id': '78d4b5ce-456b-44ee-bc16-ed3a00445442', 'ip_version': 4, 'cidr': '193.19.43.64/26', 'allocation_pools': [{'start': '193.19.43.66', 'end': '193.19.43.126'}], 'gateway_ip': '193.19.43.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.19.43.66', 'tags': [], 'project_id': '0414296fa25545e6b0bd29762bd0a017'}} 2024-11-08 23:18:59,898 - INFO - Created VN ctest-vn-57648441 2024-11-08 23:18:59,955 - DEBUG - VN ctest-vn-57648441 UUID is 78d4b5ce-456b-44ee-bc16-ed3a00445442 2024-11-08 23:19:00,276 - DEBUG - Response for create_network : {'network': {'id': '5c332177-e4d9-4373-8620-cc3f7c53a86a', 'name': 'ctest-vn-61080912', 'tenant_id': '0414296fa25545e6b0bd29762bd0a017', 'project_id': '0414296fa25545e6b0bd29762bd0a017', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15962514', 'ctest-vn-61080912'], 'port_security_enabled': True, 'description': ''}} 2024-11-08 23:19:00,426 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f72d0ada-1224-4350-8b1e-23d17a59da8e', 'name': '', 'tenant_id': '0414296fa25545e6b0bd29762bd0a017', 'network_id': '5c332177-e4d9-4373-8620-cc3f7c53a86a', 'ip_version': 4, 'cidr': '182.146.184.64/26', 'allocation_pools': [{'start': '182.146.184.66', 'end': '182.146.184.126'}], 'gateway_ip': '182.146.184.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.146.184.66', 'tags': [], 'project_id': '0414296fa25545e6b0bd29762bd0a017'}} 2024-11-08 23:19:00,444 - INFO - Created VN ctest-vn-61080912 2024-11-08 23:19:00,499 - DEBUG - VN ctest-vn-61080912 UUID is 5c332177-e4d9-4373-8620-cc3f7c53a86a 2024-11-08 23:19:00,659 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-15962514:ctest-vn-57648441, 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-15962514:ctest-vn-61080912, 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 23:19:00,986 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '78d4b5ce-456b-44ee-bc16-ed3a00445442', 'name': 'ctest-vn-57648441', 'tenant_id': '0414296fa25545e6b0bd29762bd0a017', 'project_id': '0414296fa25545e6b0bd29762bd0a017', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b2a9c886-15a4-43d3-b26e-f438c40e7e29'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15962514', 'ctest-vn-57648441'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15962514', 'ctest-policy-allow-all-77784897']], 'subnet_ipam': [{'subnet_cidr': '193.19.43.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-08 23:19:01,230 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5c332177-e4d9-4373-8620-cc3f7c53a86a', 'name': 'ctest-vn-61080912', 'tenant_id': '0414296fa25545e6b0bd29762bd0a017', 'project_id': '0414296fa25545e6b0bd29762bd0a017', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f72d0ada-1224-4350-8b1e-23d17a59da8e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15962514', 'ctest-vn-61080912'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15962514', 'ctest-policy-allow-all-77784897']], 'subnet_ipam': [{'subnet_cidr': '182.146.184.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-08 23:19:01,396 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-11-08 23:19:01,699 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-11-08 23:19:01,729 - DEBUG - Requesting: http://10.0.0.29:8082/domain/2748541b-ab52-4c7c-bcea-eb00ccccd1b5 2024-11-08 23:19:01,744 - DEBUG - Requesting: http://10.0.0.29:8082/project/0414296f-a255-45e6-b0bd-29762bd0a017 2024-11-08 23:19:01,822 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/78d4b5ce-456b-44ee-bc16-ed3a00445442 2024-11-08 23:19:01,837 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/78d4b5ce-456b-44ee-bc16-ed3a00445442 2024-11-08 23:19:01,849 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/9ddd3b4f-dab0-4c5c-b004-26a5b8a66e99 2024-11-08 23:19:01,859 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/9ddd3b4f-dab0-4c5c-b004-26a5b8a66e99 2024-11-08 23:19:01,867 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/3225b646-02d3-4c51-8e0f-a24baa9fad10 2024-11-08 23:19:01,873 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-08 23:19:01,873 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/78d4b5ce-456b-44ee-bc16-ed3a00445442 2024-11-08 23:19:01,885 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/9ddd3b4f-dab0-4c5c-b004-26a5b8a66e99 2024-11-08 23:19:01,903 - INFO - Verified VN network id 9 for VN 78d4b5ce-456b-44ee-bc16-ed3a00445442 2024-11-08 23:19:01,903 - INFO - Verifications in API Server for VN ctest-vn-57648441 passed 2024-11-08 23:19:01,903 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/78d4b5ce-456b-44ee-bc16-ed3a00445442 2024-11-08 23:19:01,916 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/9ddd3b4f-dab0-4c5c-b004-26a5b8a66e99 2024-11-08 23:19:01,926 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/9ddd3b4f-dab0-4c5c-b004-26a5b8a66e99 2024-11-08 23:19:01,937 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/3225b646-02d3-4c51-8e0f-a24baa9fad10 2024-11-08 23:19:01,949 - DEBUG - Control-node 10.0.0.29 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15962514:ctest-vn-57648441', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15962514', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8706783877146559726', 'uuid-lslong': '13553280961986450498'}, 'enable': 'true', 'created': '2024-11-08T23:18:59', 'last-modified': '2024-11-08T23:19:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.988809'} 2024-11-08 23:19:01,955 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-08 23:19:01,955 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57648441 passed 2024-11-08 23:19:01,955 - DEBUG - ====Verifying policy data for ctest-vn-57648441 in API_Server ====== 2024-11-08 23:19:01,955 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-11-08 23:19:01,961 - DEBUG - Requesting: http://10.0.0.29:8082/domain/2748541b-ab52-4c7c-bcea-eb00ccccd1b5 2024-11-08 23:19:01,976 - DEBUG - Requesting: http://10.0.0.29:8082/project/0414296f-a255-45e6-b0bd-29762bd0a017 2024-11-08 23:19:02,053 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/78d4b5ce-456b-44ee-bc16-ed3a00445442 2024-11-08 23:19:02,066 - DEBUG - ==>Verifying data for policy with id: 90b85824-3890-41c4-ad7a-b0e22df8f846, fqn: ['default-domain', 'ctest-TestBasicPolicy-15962514', 'ctest-policy-allow-all-77784897'] 2024-11-08 23:19:02,066 - INFO - VN ctest-vn-57648441 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-08 23:19:02,066 - DEBUG - Verifying the vn in opserver 2024-11-08 23:19:02,066 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15962514:ctest-vn-57648441 virtual network link through opserver 10.0.0.29 2024-11-08 23:19:02,066 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2024-11-08 23:19:02,359 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2024-11-08 23:19:02,420 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15962514:ctest-vn-57648441', 'href': 'http://10.0.0.29:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15962514:ctest-vn-57648441?flat'} 2024-11-08 23:19:02,420 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15962514:ctest-vn-57648441 is found in opserver 2024-11-08 23:19:02,431 - DEBUG - Do not have enough data to verify VN in agent 2024-11-08 23:19:02,436 - DEBUG - VRF ids for VN ctest-vn-57648441: {} 2024-11-08 23:19:02,436 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-11-08 23:19:02,441 - DEBUG - Requesting: http://10.0.0.29:8082/domain/2748541b-ab52-4c7c-bcea-eb00ccccd1b5 2024-11-08 23:19:02,455 - DEBUG - Requesting: http://10.0.0.29:8082/project/0414296f-a255-45e6-b0bd-29762bd0a017 2024-11-08 23:19:02,531 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/5c332177-e4d9-4373-8620-cc3f7c53a86a 2024-11-08 23:19:02,551 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/5c332177-e4d9-4373-8620-cc3f7c53a86a 2024-11-08 23:19:02,564 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/f505cd96-ea35-4b75-8dc0-8ee8a375a99c 2024-11-08 23:19:02,572 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/f505cd96-ea35-4b75-8dc0-8ee8a375a99c 2024-11-08 23:19:02,579 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/ddffb7c1-7791-4ffd-a211-ef097f93e91f 2024-11-08 23:19:02,585 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-08 23:19:02,585 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/5c332177-e4d9-4373-8620-cc3f7c53a86a 2024-11-08 23:19:02,597 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/f505cd96-ea35-4b75-8dc0-8ee8a375a99c 2024-11-08 23:19:02,614 - INFO - Verified VN network id 10 for VN 5c332177-e4d9-4373-8620-cc3f7c53a86a 2024-11-08 23:19:02,615 - INFO - Verifications in API Server for VN ctest-vn-61080912 passed 2024-11-08 23:19:02,615 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/5c332177-e4d9-4373-8620-cc3f7c53a86a 2024-11-08 23:19:02,627 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/f505cd96-ea35-4b75-8dc0-8ee8a375a99c 2024-11-08 23:19:02,635 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/f505cd96-ea35-4b75-8dc0-8ee8a375a99c 2024-11-08 23:19:02,644 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/ddffb7c1-7791-4ffd-a211-ef097f93e91f 2024-11-08 23:19:02,656 - DEBUG - Control-node 10.0.0.29 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15962514:ctest-vn-61080912', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15962514', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6643690674125882227', 'uuid-lslong': '9664949373377947754'}, 'enable': 'true', 'created': '2024-11-08T23:19:00', 'last-modified': '2024-11-08T23:19:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.447953'} 2024-11-08 23:19:02,662 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-08 23:19:02,662 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61080912 passed 2024-11-08 23:19:02,662 - DEBUG - ====Verifying policy data for ctest-vn-61080912 in API_Server ====== 2024-11-08 23:19:02,662 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-11-08 23:19:02,668 - DEBUG - Requesting: http://10.0.0.29:8082/domain/2748541b-ab52-4c7c-bcea-eb00ccccd1b5 2024-11-08 23:19:02,680 - DEBUG - Requesting: http://10.0.0.29:8082/project/0414296f-a255-45e6-b0bd-29762bd0a017 2024-11-08 23:19:02,761 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/5c332177-e4d9-4373-8620-cc3f7c53a86a 2024-11-08 23:19:02,774 - DEBUG - ==>Verifying data for policy with id: 90b85824-3890-41c4-ad7a-b0e22df8f846, fqn: ['default-domain', 'ctest-TestBasicPolicy-15962514', 'ctest-policy-allow-all-77784897'] 2024-11-08 23:19:02,774 - INFO - VN ctest-vn-61080912 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-08 23:19:02,774 - DEBUG - Verifying the vn in opserver 2024-11-08 23:19:02,774 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15962514:ctest-vn-61080912 virtual network link through opserver 10.0.0.29 2024-11-08 23:19:02,774 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2024-11-08 23:19:02,785 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15962514:ctest-vn-61080912', 'href': 'http://10.0.0.29:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15962514:ctest-vn-61080912?flat'} 2024-11-08 23:19:02,785 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15962514:ctest-vn-61080912 is found in opserver 2024-11-08 23:19:02,795 - DEBUG - Do not have enough data to verify VN in agent 2024-11-08 23:19:02,801 - DEBUG - VRF ids for VN ctest-vn-61080912: {} 2024-11-08 23:19:02,862 - DEBUG - Services list from nova: [, , ] 2024-11-08 23:19:03,896 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2243-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2243-1) 2024-11-08 23:19:05,128 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2243-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2243-1) 2024-11-08 23:19:05,128 - INFO - Waiting for VM ctest-TestBasicPolicy-15962514-11763918 to be up.. 2024-11-08 23:19:05,212 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-08 23:19:10,320 - DEBUG - VM is in ACTIVE state now 2024-11-08 23:19:10,320 - INFO - VM name : ctest-TestBasicPolicy-15962514-11763918 2024-11-08 23:19:10,410 - DEBUG - VM ctest-TestBasicPolicy-15962514-11763918 ID is 46d20246-e6f8-4c24-929f-f895231444cc 2024-11-08 23:19:10,430 - DEBUG - VM ctest-TestBasicPolicy-15962514-11763918 launched on Node cn-jenkins-deploy-platform-ansible-os-2243-1 2024-11-08 23:19:10,531 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/46d20246-e6f8-4c24-929f-f895231444cc 2024-11-08 23:19:10,540 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/6e165c2c-b428-4bd3-ae72-54477d5274f5 2024-11-08 23:19:13,786 - 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 1002ms') 2024-11-08 23:19:13,786 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15962514-11763918 failed! 2024-11-08 23:19:13,847 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15962514:ctest-vn-57648441 is 193.19.43.65 and allocation pool is NOT set 2024-11-08 23:19:15,918 - 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=3.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.407 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.407/2.080/3.754/1.673 ms') 2024-11-08 23:19:15,918 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15962514-11763918 passed 2024-11-08 23:19:16,079 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 23:19:16,080 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15962514-11763918, IP 193.19.43.67, Port 22 2024-11-08 23:19:16,252 - DEBUG - VM ctest-TestBasicPolicy-15962514-11763918 is ready for SSH connections 2024-11-08 23:19:16,252 - INFO - Waiting for VM ctest-TestBasicPolicy-15962514-02529508 to be up.. 2024-11-08 23:19:16,336 - DEBUG - VM is in ACTIVE state now 2024-11-08 23:19:16,336 - INFO - VM name : ctest-TestBasicPolicy-15962514-02529508 2024-11-08 23:19:16,413 - DEBUG - VM ctest-TestBasicPolicy-15962514-02529508 ID is 028c01dd-8725-4395-8acf-972b64d16ae0 2024-11-08 23:19:16,413 - DEBUG - VM ctest-TestBasicPolicy-15962514-02529508 launched on Node cn-jenkins-deploy-platform-ansible-os-2243-1 2024-11-08 23:19:16,496 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/028c01dd-8725-4395-8acf-972b64d16ae0 2024-11-08 23:19:16,507 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/d7ea8e28-9c3e-452f-9dda-0ce3beab0cc2 2024-11-08 23:19:17,748 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.426 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.426/1.785/3.144/1.359 ms') 2024-11-08 23:19:17,749 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-15962514-02529508 passed 2024-11-08 23:19:17,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 23:19:17,908 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15962514-02529508, IP 182.146.184.67, Port 22 2024-11-08 23:19:18,070 - DEBUG - VM ctest-TestBasicPolicy-15962514-02529508 is ready for SSH connections 2024-11-08 23:19:18,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 23:19:18,072 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.146.184.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-11-08 23:19:18,072 - DEBUG - ping -s 56 -c 3 -W 1 182.146.184.67 2024-11-08 23:19:21,739 - DEBUG - PING 182.146.184.67 (182.146.184.67): 56 data bytes 64 bytes from 182.146.184.67: seq=0 ttl=63 time=3.136 ms 64 bytes from 182.146.184.67: seq=1 ttl=63 time=0.954 ms 64 bytes from 182.146.184.67: seq=2 ttl=63 time=0.882 ms --- 182.146.184.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.882/1.657/3.136 ms 2024-11-08 23:19:21,739 - INFO - Ping to IP 182.146.184.67 from VM ctest-TestBasicPolicy-15962514-11763918 passed 2024-11-08 23:19:21,927 - DEBUG - Policy Update Response {"network-policy": {"uuid": "90b85824-3890-41c4-ad7a-b0e22df8f846", "href": "http://10.0.0.29:8082/network-policy/90b85824-3890-41c4-ad7a-b0e22df8f846"}} 2024-11-08 23:19:21,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 23:19:21,927 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.146.184.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-11-08 23:19:21,928 - DEBUG - ping -s 56 -c 3 -W 1 182.146.184.67 2024-11-08 23:19:25,126 - DEBUG - PING 182.146.184.67 (182.146.184.67): 56 data bytes --- 182.146.184.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-11-08 23:19:25,126 - WARNING - Ping to IP 182.146.184.67 from VM ctest-TestBasicPolicy-15962514-11763918 failed 2024-11-08 23:19:25,127 - INFO - Deleting VM ctest-TestBasicPolicy-15962514-02529508 2024-11-08 23:19:25,187 - INFO - Deleting VM ctest-TestBasicPolicy-15962514-11763918 2024-11-08 23:19:25,569 - INFO - Deleted policy ctest-policy-allow-all-77784897 2024-11-08 23:19:25,569 - INFO - Deleting VN ctest-vn-61080912 2024-11-08 23:19:25,604 - DEBUG - VN 5c332177-e4d9-4373-8620-cc3f7c53a86a still in use: Unable to complete operation on network 5c332177-e4d9-4373-8620-cc3f7c53a86a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3397350a-b46d-49d7-8e8e-7d368d4b8ab3'] 2024-11-08 23:19:25,604 - WARNING - Deleting VN ctest-vn-61080912 failed..Will retry 2024-11-08 23:19:27,708 - DEBUG - Response for deleting network () 2024-11-08 23:19:27,708 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/f505cd96-ea35-4b75-8dc0-8ee8a375a99c 2024-11-08 23:19:27,714 - DEBUG - Response Code: 404 2024-11-08 23:19:27,715 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-11-08 23:19:27,722 - DEBUG - Requesting: http://10.0.0.29:8082/domain/2748541b-ab52-4c7c-bcea-eb00ccccd1b5 2024-11-08 23:19:27,779 - DEBUG - Requesting: http://10.0.0.29:8082/project/0414296f-a255-45e6-b0bd-29762bd0a017 2024-11-08 23:19:27,860 - INFO - Validated that VN ctest-vn-61080912 is not found in API Server 2024-11-08 23:19:27,870 - DEBUG - VN ctest-vn-61080912 is not present in Agent 10.0.0.29 2024-11-08 23:19:27,870 - INFO - Validated that VN ctest-vn-61080912 is not in any agent 2024-11-08 23:19:27,886 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61080912 info 2024-11-08 23:19:27,886 - INFO - Deleting VN ctest-vn-57648441 2024-11-08 23:19:27,990 - DEBUG - Response for deleting network () 2024-11-08 23:19:27,991 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/9ddd3b4f-dab0-4c5c-b004-26a5b8a66e99 2024-11-08 23:19:27,998 - DEBUG - Response Code: 404 2024-11-08 23:19:27,998 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-11-08 23:19:28,003 - DEBUG - Requesting: http://10.0.0.29:8082/domain/2748541b-ab52-4c7c-bcea-eb00ccccd1b5 2024-11-08 23:19:28,063 - DEBUG - Requesting: http://10.0.0.29:8082/project/0414296f-a255-45e6-b0bd-29762bd0a017 2024-11-08 23:19:28,144 - INFO - Validated that VN ctest-vn-57648441 is not found in API Server 2024-11-08 23:19:28,154 - DEBUG - VN ctest-vn-57648441 is not present in Agent 10.0.0.29 2024-11-08 23:19:28,154 - INFO - Validated that VN ctest-vn-57648441 is not in any agent 2024-11-08 23:19:28,169 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57648441 info 2024-11-08 23:19:28,432 - DEBUG - No XMPP flaps were noticed during the test 2024-11-08 23:19:28,432 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2024-11-08 23:19:28,432 - INFO - -------------------------------------------------------------------------------- 2024-11-08 23:19:29,121 - INFO - Deleted project: ctest-TestBasicPolicy-15962514, ID : 0414296f-a255-45e6-b0bd-29762bd0a017