2024-09-04 23:14:47,044 - INFO - Domain Default found not creating 2024-09-04 23:14:47,197 - INFO - Project ctest-TestBasicPolicy-11564651 not found, creating it 2024-09-04 23:14:47,657 - INFO - Created Project:ctest-TestBasicPolicy-11564651, ID : 84cd9764-d117-4ab9-95ce-742b8c4dd190 2024-09-04 23:14:49,116 - INFO - ================================================================================ 2024-09-04 23:14:49,116 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-04 23:14:49,116 - 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-09-04 23:14:49,371 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.20': '0'}} with 2024-09-04 23:14:49,371 - INFO - Initial checks done. Running the testcase now 2024-09-04 23:14:49,371 - INFO - 2024-09-04 23:14:49,918 - DEBUG - Response for create_network : {'network': {'id': 'a8fa5d4a-eab0-44fa-b6ec-205098132449', 'name': 'ctest-vn-56757958', 'tenant_id': '84cd9764d1174ab995ce742b8c4dd190', 'project_id': '84cd9764d1174ab995ce742b8c4dd190', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11564651', 'ctest-vn-56757958'], 'port_security_enabled': True, 'description': ''}} 2024-09-04 23:14:50,081 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bac0a9f3-57b6-401f-b2ff-0e80f370b80d', 'name': '', 'tenant_id': '84cd9764d1174ab995ce742b8c4dd190', 'network_id': 'a8fa5d4a-eab0-44fa-b6ec-205098132449', 'ip_version': 4, 'cidr': '143.205.162.128/26', 'allocation_pools': [{'start': '143.205.162.130', 'end': '143.205.162.190'}], 'gateway_ip': '143.205.162.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.205.162.130', 'tags': [], 'project_id': '84cd9764d1174ab995ce742b8c4dd190'}} 2024-09-04 23:14:50,099 - INFO - Created VN ctest-vn-56757958 2024-09-04 23:14:50,152 - DEBUG - VN ctest-vn-56757958 UUID is a8fa5d4a-eab0-44fa-b6ec-205098132449 2024-09-04 23:14:50,429 - DEBUG - Response for create_network : {'network': {'id': 'd5a6149a-5774-45dc-85c3-ac5af238100d', 'name': 'ctest-vn-03378115', 'tenant_id': '84cd9764d1174ab995ce742b8c4dd190', 'project_id': '84cd9764d1174ab995ce742b8c4dd190', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11564651', 'ctest-vn-03378115'], 'port_security_enabled': True, 'description': ''}} 2024-09-04 23:14:50,597 - DEBUG - Response for create_subnet : {'subnet': {'id': '843a858d-797f-4fd1-9a7e-fa749951bd08', 'name': '', 'tenant_id': '84cd9764d1174ab995ce742b8c4dd190', 'network_id': 'd5a6149a-5774-45dc-85c3-ac5af238100d', 'ip_version': 4, 'cidr': '50.196.134.0/26', 'allocation_pools': [{'start': '50.196.134.2', 'end': '50.196.134.62'}], 'gateway_ip': '50.196.134.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.196.134.2', 'tags': [], 'project_id': '84cd9764d1174ab995ce742b8c4dd190'}} 2024-09-04 23:14:50,615 - INFO - Created VN ctest-vn-03378115 2024-09-04 23:14:50,664 - DEBUG - VN ctest-vn-03378115 UUID is d5a6149a-5774-45dc-85c3-ac5af238100d 2024-09-04 23:14:50,778 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-11564651:ctest-vn-56757958, 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-11564651:ctest-vn-03378115, 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-09-04 23:14:51,070 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a8fa5d4a-eab0-44fa-b6ec-205098132449', 'name': 'ctest-vn-56757958', 'tenant_id': '84cd9764d1174ab995ce742b8c4dd190', 'project_id': '84cd9764d1174ab995ce742b8c4dd190', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bac0a9f3-57b6-401f-b2ff-0e80f370b80d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11564651', 'ctest-vn-56757958'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11564651', 'ctest-policy-allow-all-19749070']], 'subnet_ipam': [{'subnet_cidr': '143.205.162.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-04 23:14:51,307 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd5a6149a-5774-45dc-85c3-ac5af238100d', 'name': 'ctest-vn-03378115', 'tenant_id': '84cd9764d1174ab995ce742b8c4dd190', 'project_id': '84cd9764d1174ab995ce742b8c4dd190', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['843a858d-797f-4fd1-9a7e-fa749951bd08'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11564651', 'ctest-vn-03378115'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11564651', 'ctest-policy-allow-all-19749070']], 'subnet_ipam': [{'subnet_cidr': '50.196.134.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-04 23:14:51,472 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2024-09-04 23:14:51,769 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2024-09-04 23:14:51,799 - DEBUG - Requesting: http://10.0.0.57:8082/domain/9197a2f8-167f-4b5e-b833-618d75054802 2024-09-04 23:14:51,814 - DEBUG - Requesting: http://10.0.0.57:8082/project/84cd9764-d117-4ab9-95ce-742b8c4dd190 2024-09-04 23:14:51,886 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a8fa5d4a-eab0-44fa-b6ec-205098132449 2024-09-04 23:14:51,895 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a8fa5d4a-eab0-44fa-b6ec-205098132449 2024-09-04 23:14:51,903 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/002e06c1-db65-47d0-8676-d1ad438edc30 2024-09-04 23:14:51,910 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/002e06c1-db65-47d0-8676-d1ad438edc30 2024-09-04 23:14:51,916 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/f075dfc6-31af-4945-8ab1-b6a42cb2ba52 2024-09-04 23:14:51,922 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-04 23:14:51,922 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a8fa5d4a-eab0-44fa-b6ec-205098132449 2024-09-04 23:14:51,929 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/002e06c1-db65-47d0-8676-d1ad438edc30 2024-09-04 23:14:51,940 - INFO - Verified VN network id 9 for VN a8fa5d4a-eab0-44fa-b6ec-205098132449 2024-09-04 23:14:51,940 - INFO - Verifications in API Server for VN ctest-vn-56757958 passed 2024-09-04 23:14:51,940 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a8fa5d4a-eab0-44fa-b6ec-205098132449 2024-09-04 23:14:51,948 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/002e06c1-db65-47d0-8676-d1ad438edc30 2024-09-04 23:14:51,954 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/002e06c1-db65-47d0-8676-d1ad438edc30 2024-09-04 23:14:51,959 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/f075dfc6-31af-4945-8ab1-b6a42cb2ba52 2024-09-04 23:14:51,970 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11564651:ctest-vn-56757958', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11564651', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12176147118895940858', 'uuid-lslong': '13180945739927462985'}, 'enable': 'true', 'created': '2024-09-04T23:14:49', 'last-modified': '2024-09-04T23:14:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.924458'} 2024-09-04 23:14:51,977 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-04 23:14:51,977 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56757958 passed 2024-09-04 23:14:51,978 - DEBUG - ====Verifying policy data for ctest-vn-56757958 in API_Server ====== 2024-09-04 23:14:51,978 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2024-09-04 23:14:51,983 - DEBUG - Requesting: http://10.0.0.57:8082/domain/9197a2f8-167f-4b5e-b833-618d75054802 2024-09-04 23:14:51,996 - DEBUG - Requesting: http://10.0.0.57:8082/project/84cd9764-d117-4ab9-95ce-742b8c4dd190 2024-09-04 23:14:52,064 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/a8fa5d4a-eab0-44fa-b6ec-205098132449 2024-09-04 23:14:52,073 - DEBUG - ==>Verifying data for policy with id: 5c8f1388-1b35-45d7-bb1f-99c359e9a9c2, fqn: ['default-domain', 'ctest-TestBasicPolicy-11564651', 'ctest-policy-allow-all-19749070'] 2024-09-04 23:14:52,073 - INFO - VN ctest-vn-56757958 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-04 23:14:52,073 - DEBUG - Verifying the vn in opserver 2024-09-04 23:14:52,073 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11564651:ctest-vn-56757958 virtual network link through opserver 10.0.0.57 2024-09-04 23:14:52,073 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2024-09-04 23:14:52,364 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2024-09-04 23:14:52,421 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11564651:ctest-vn-56757958', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11564651:ctest-vn-56757958?flat'} 2024-09-04 23:14:52,421 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11564651:ctest-vn-56757958 is found in opserver 2024-09-04 23:14:52,432 - DEBUG - Do not have enough data to verify VN in agent 2024-09-04 23:14:52,436 - DEBUG - VRF ids for VN ctest-vn-56757958: {} 2024-09-04 23:14:52,437 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2024-09-04 23:14:52,443 - DEBUG - Requesting: http://10.0.0.57:8082/domain/9197a2f8-167f-4b5e-b833-618d75054802 2024-09-04 23:14:52,456 - DEBUG - Requesting: http://10.0.0.57:8082/project/84cd9764-d117-4ab9-95ce-742b8c4dd190 2024-09-04 23:14:52,526 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/d5a6149a-5774-45dc-85c3-ac5af238100d 2024-09-04 23:14:52,536 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/d5a6149a-5774-45dc-85c3-ac5af238100d 2024-09-04 23:14:52,544 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/f053df2c-ef97-4a50-b375-c10469378869 2024-09-04 23:14:52,550 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/f053df2c-ef97-4a50-b375-c10469378869 2024-09-04 23:14:52,556 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/845a6b5f-0a51-4044-aeb6-02270b6da25c 2024-09-04 23:14:52,561 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-04 23:14:52,562 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/d5a6149a-5774-45dc-85c3-ac5af238100d 2024-09-04 23:14:52,568 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/f053df2c-ef97-4a50-b375-c10469378869 2024-09-04 23:14:52,579 - INFO - Verified VN network id 10 for VN d5a6149a-5774-45dc-85c3-ac5af238100d 2024-09-04 23:14:52,579 - INFO - Verifications in API Server for VN ctest-vn-03378115 passed 2024-09-04 23:14:52,579 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/d5a6149a-5774-45dc-85c3-ac5af238100d 2024-09-04 23:14:52,587 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/f053df2c-ef97-4a50-b375-c10469378869 2024-09-04 23:14:52,593 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/f053df2c-ef97-4a50-b375-c10469378869 2024-09-04 23:14:52,599 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/845a6b5f-0a51-4044-aeb6-02270b6da25c 2024-09-04 23:14:52,611 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11564651:ctest-vn-03378115', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11564651', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15395015029337376220', 'uuid-lslong': '9638737134113787917'}, 'enable': 'true', 'created': '2024-09-04T23:14:50', 'last-modified': '2024-09-04T23:14:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.318226'} 2024-09-04 23:14:52,617 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-04 23:14:52,618 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03378115 passed 2024-09-04 23:14:52,618 - DEBUG - ====Verifying policy data for ctest-vn-03378115 in API_Server ====== 2024-09-04 23:14:52,618 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2024-09-04 23:14:52,623 - DEBUG - Requesting: http://10.0.0.57:8082/domain/9197a2f8-167f-4b5e-b833-618d75054802 2024-09-04 23:14:52,636 - DEBUG - Requesting: http://10.0.0.57:8082/project/84cd9764-d117-4ab9-95ce-742b8c4dd190 2024-09-04 23:14:52,708 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/d5a6149a-5774-45dc-85c3-ac5af238100d 2024-09-04 23:14:52,715 - DEBUG - ==>Verifying data for policy with id: 5c8f1388-1b35-45d7-bb1f-99c359e9a9c2, fqn: ['default-domain', 'ctest-TestBasicPolicy-11564651', 'ctest-policy-allow-all-19749070'] 2024-09-04 23:14:52,715 - INFO - VN ctest-vn-03378115 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-04 23:14:52,716 - DEBUG - Verifying the vn in opserver 2024-09-04 23:14:52,716 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11564651:ctest-vn-03378115 virtual network link through opserver 10.0.0.57 2024-09-04 23:14:52,716 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2024-09-04 23:14:52,729 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11564651:ctest-vn-03378115', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11564651:ctest-vn-03378115?flat'} 2024-09-04 23:14:52,729 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11564651:ctest-vn-03378115 is found in opserver 2024-09-04 23:14:52,741 - DEBUG - Do not have enough data to verify VN in agent 2024-09-04 23:14:52,746 - DEBUG - VRF ids for VN ctest-vn-03378115: {} 2024-09-04 23:14:52,805 - DEBUG - Services list from nova: [, , ] 2024-09-04 23:14:53,809 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1850-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1850-1) 2024-09-04 23:14:55,049 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1850-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1850-1) 2024-09-04 23:14:55,049 - INFO - Waiting for VM ctest-TestBasicPolicy-11564651-99863580 to be up.. 2024-09-04 23:14:55,136 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-04 23:15:00,212 - DEBUG - VM is in ACTIVE state now 2024-09-04 23:15:00,212 - INFO - VM name : ctest-TestBasicPolicy-11564651-99863580 2024-09-04 23:15:00,286 - DEBUG - VM ctest-TestBasicPolicy-11564651-99863580 ID is 64e1e911-9766-429e-9a3c-1bea0f29e2d0 2024-09-04 23:15:00,304 - DEBUG - VM ctest-TestBasicPolicy-11564651-99863580 launched on Node cn-jenkins-deploy-platform-ansible-os-1850-1 2024-09-04 23:15:00,378 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/64e1e911-9766-429e-9a3c-1bea0f29e2d0 2024-09-04 23:15:00,385 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/751bfcb1-9d36-4b43-b71d-5541c2f4e213 2024-09-04 23:15:03,631 - 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 1003ms') 2024-09-04 23:15:03,631 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11564651-99863580 failed! 2024-09-04 23:15:03,689 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-11564651:ctest-vn-56757958 is 143.205.162.129 and allocation pool is NOT set 2024-09-04 23:15:05,752 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.573 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.573/2.495/4.417/1.922 ms') 2024-09-04 23:15:05,752 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11564651-99863580 passed 2024-09-04 23:15:05,900 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 23:15:05,900 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11564651-99863580, IP 143.205.162.131, Port 22 2024-09-04 23:15:06,052 - DEBUG - VM ctest-TestBasicPolicy-11564651-99863580 is ready for SSH connections 2024-09-04 23:15:06,052 - INFO - Waiting for VM ctest-TestBasicPolicy-11564651-55800922 to be up.. 2024-09-04 23:15:06,129 - DEBUG - VM is in ACTIVE state now 2024-09-04 23:15:06,129 - INFO - VM name : ctest-TestBasicPolicy-11564651-55800922 2024-09-04 23:15:06,202 - DEBUG - VM ctest-TestBasicPolicy-11564651-55800922 ID is 5dc6c339-d82d-43a3-8007-66c2671a6488 2024-09-04 23:15:06,202 - DEBUG - VM ctest-TestBasicPolicy-11564651-55800922 launched on Node cn-jenkins-deploy-platform-ansible-os-1850-1 2024-09-04 23:15:06,283 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/5dc6c339-d82d-43a3-8007-66c2671a6488 2024-09-04 23:15:06,292 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/d2e9b1e7-da29-4f27-a2f9-e8a1162dffb5 2024-09-04 23:15:07,527 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.783 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.783/2.209/3.635/1.426 ms') 2024-09-04 23:15:07,528 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-11564651-55800922 passed 2024-09-04 23:15:07,681 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 23:15:07,681 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11564651-55800922, IP 50.196.134.3, Port 22 2024-09-04 23:15:07,840 - DEBUG - VM ctest-TestBasicPolicy-11564651-55800922 is ready for SSH connections 2024-09-04 23:15:07,840 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 23:15:07,841 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.196.134.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2024-09-04 23:15:07,841 - DEBUG - ping -s 56 -c 3 -W 1 50.196.134.3 2024-09-04 23:15:11,499 - DEBUG - PING 50.196.134.3 (50.196.134.3): 56 data bytes 64 bytes from 50.196.134.3: seq=0 ttl=63 time=3.282 ms 64 bytes from 50.196.134.3: seq=1 ttl=63 time=0.891 ms 64 bytes from 50.196.134.3: seq=2 ttl=63 time=0.798 ms --- 50.196.134.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.798/1.657/3.282 ms 2024-09-04 23:15:11,500 - INFO - Ping to IP 50.196.134.3 from VM ctest-TestBasicPolicy-11564651-99863580 passed 2024-09-04 23:15:11,676 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5c8f1388-1b35-45d7-bb1f-99c359e9a9c2", "href": "http://10.0.0.57:8082/network-policy/5c8f1388-1b35-45d7-bb1f-99c359e9a9c2"}} 2024-09-04 23:15:11,676 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 23:15:11,676 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.196.134.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2024-09-04 23:15:11,676 - DEBUG - ping -s 56 -c 3 -W 1 50.196.134.3 2024-09-04 23:15:14,883 - DEBUG - PING 50.196.134.3 (50.196.134.3): 56 data bytes --- 50.196.134.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-09-04 23:15:14,883 - WARNING - Ping to IP 50.196.134.3 from VM ctest-TestBasicPolicy-11564651-99863580 failed 2024-09-04 23:15:14,883 - INFO - Deleting VM ctest-TestBasicPolicy-11564651-55800922 2024-09-04 23:15:14,955 - INFO - Deleting VM ctest-TestBasicPolicy-11564651-99863580 2024-09-04 23:15:15,323 - INFO - Deleted policy ctest-policy-allow-all-19749070 2024-09-04 23:15:15,323 - INFO - Deleting VN ctest-vn-03378115 2024-09-04 23:15:15,360 - DEBUG - VN d5a6149a-5774-45dc-85c3-ac5af238100d still in use: Unable to complete operation on network d5a6149a-5774-45dc-85c3-ac5af238100d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5f12f75d-4326-4651-b44d-431e98cd3e9d'] 2024-09-04 23:15:15,360 - WARNING - Deleting VN ctest-vn-03378115 failed..Will retry 2024-09-04 23:15:17,462 - DEBUG - Response for deleting network () 2024-09-04 23:15:17,462 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/f053df2c-ef97-4a50-b375-c10469378869 2024-09-04 23:15:17,468 - DEBUG - Response Code: 404 2024-09-04 23:15:17,468 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2024-09-04 23:15:17,476 - DEBUG - Requesting: http://10.0.0.57:8082/domain/9197a2f8-167f-4b5e-b833-618d75054802 2024-09-04 23:15:17,531 - DEBUG - Requesting: http://10.0.0.57:8082/project/84cd9764-d117-4ab9-95ce-742b8c4dd190 2024-09-04 23:15:17,599 - INFO - Validated that VN ctest-vn-03378115 is not found in API Server 2024-09-04 23:15:17,609 - DEBUG - VN ctest-vn-03378115 is not present in Agent 10.0.0.57 2024-09-04 23:15:17,609 - INFO - Validated that VN ctest-vn-03378115 is not in any agent 2024-09-04 23:15:17,624 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03378115 info 2024-09-04 23:15:17,624 - INFO - Deleting VN ctest-vn-56757958 2024-09-04 23:15:17,725 - DEBUG - Response for deleting network () 2024-09-04 23:15:17,725 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/002e06c1-db65-47d0-8676-d1ad438edc30 2024-09-04 23:15:17,734 - DEBUG - Response Code: 404 2024-09-04 23:15:17,734 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2024-09-04 23:15:17,740 - DEBUG - Requesting: http://10.0.0.57:8082/domain/9197a2f8-167f-4b5e-b833-618d75054802 2024-09-04 23:15:17,794 - DEBUG - Requesting: http://10.0.0.57:8082/project/84cd9764-d117-4ab9-95ce-742b8c4dd190 2024-09-04 23:15:17,864 - INFO - Validated that VN ctest-vn-56757958 is not found in API Server 2024-09-04 23:15:17,874 - DEBUG - VN ctest-vn-56757958 is not present in Agent 10.0.0.57 2024-09-04 23:15:17,874 - INFO - Validated that VN ctest-vn-56757958 is not in any agent 2024-09-04 23:15:17,889 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56757958 info 2024-09-04 23:15:18,146 - DEBUG - No XMPP flaps were noticed during the test 2024-09-04 23:15:18,146 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2024-09-04 23:15:18,146 - INFO - -------------------------------------------------------------------------------- 2024-09-04 23:15:18,823 - INFO - Deleted project: ctest-TestBasicPolicy-11564651, ID : 84cd9764-d117-4ab9-95ce-742b8c4dd190