2024-09-05 15:07:21,480 - INFO - Domain Default found not creating 2024-09-05 15:07:21,650 - INFO - Project ctest-TestBasicPolicy-35209831 not found, creating it 2024-09-05 15:07:22,153 - INFO - Created Project:ctest-TestBasicPolicy-35209831, ID : ce88adb0-4042-417f-9955-fc1ed155f9f5 2024-09-05 15:07:23,664 - INFO - ================================================================================ 2024-09-05 15:07:23,665 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-05 15:07:23,665 - 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-05 15:07:23,919 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.18': '0'}} with 2024-09-05 15:07:23,919 - INFO - Initial checks done. Running the testcase now 2024-09-05 15:07:23,919 - INFO - 2024-09-05 15:07:24,461 - DEBUG - Response for create_network : {'network': {'id': '7171b271-1cf8-4afe-bc08-4b08dcf9ff71', 'name': 'ctest-vn-88615910', 'tenant_id': 'ce88adb04042417f9955fc1ed155f9f5', 'project_id': 'ce88adb04042417f9955fc1ed155f9f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35209831', 'ctest-vn-88615910'], 'port_security_enabled': True, 'description': ''}} 2024-09-05 15:07:24,643 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e922328-c9b7-4c36-90fe-07fbdcbb382d', 'name': '', 'tenant_id': 'ce88adb04042417f9955fc1ed155f9f5', 'network_id': '7171b271-1cf8-4afe-bc08-4b08dcf9ff71', 'ip_version': 4, 'cidr': '110.216.159.128/26', 'allocation_pools': [{'start': '110.216.159.130', 'end': '110.216.159.190'}], 'gateway_ip': '110.216.159.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.216.159.130', 'tags': [], 'project_id': 'ce88adb04042417f9955fc1ed155f9f5'}} 2024-09-05 15:07:24,664 - INFO - Created VN ctest-vn-88615910 2024-09-05 15:07:24,718 - DEBUG - VN ctest-vn-88615910 UUID is 7171b271-1cf8-4afe-bc08-4b08dcf9ff71 2024-09-05 15:07:25,014 - DEBUG - Response for create_network : {'network': {'id': 'b8c19e54-583e-4fbf-b725-2ecef6a235af', 'name': 'ctest-vn-09090922', 'tenant_id': 'ce88adb04042417f9955fc1ed155f9f5', 'project_id': 'ce88adb04042417f9955fc1ed155f9f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35209831', 'ctest-vn-09090922'], 'port_security_enabled': True, 'description': ''}} 2024-09-05 15:07:25,193 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2c636a1-7f41-41e6-8fa5-f7846553872f', 'name': '', 'tenant_id': 'ce88adb04042417f9955fc1ed155f9f5', 'network_id': 'b8c19e54-583e-4fbf-b725-2ecef6a235af', 'ip_version': 4, 'cidr': '32.184.189.0/26', 'allocation_pools': [{'start': '32.184.189.2', 'end': '32.184.189.62'}], 'gateway_ip': '32.184.189.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.184.189.2', 'tags': [], 'project_id': 'ce88adb04042417f9955fc1ed155f9f5'}} 2024-09-05 15:07:25,212 - INFO - Created VN ctest-vn-09090922 2024-09-05 15:07:25,262 - DEBUG - VN ctest-vn-09090922 UUID is b8c19e54-583e-4fbf-b725-2ecef6a235af 2024-09-05 15:07:25,377 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-35209831:ctest-vn-88615910, 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-35209831:ctest-vn-09090922, 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-05 15:07:25,679 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7171b271-1cf8-4afe-bc08-4b08dcf9ff71', 'name': 'ctest-vn-88615910', 'tenant_id': 'ce88adb04042417f9955fc1ed155f9f5', 'project_id': 'ce88adb04042417f9955fc1ed155f9f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8e922328-c9b7-4c36-90fe-07fbdcbb382d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35209831', 'ctest-vn-88615910'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35209831', 'ctest-policy-allow-all-91966389']], 'subnet_ipam': [{'subnet_cidr': '110.216.159.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-05 15:07:25,917 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b8c19e54-583e-4fbf-b725-2ecef6a235af', 'name': 'ctest-vn-09090922', 'tenant_id': 'ce88adb04042417f9955fc1ed155f9f5', 'project_id': 'ce88adb04042417f9955fc1ed155f9f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d2c636a1-7f41-41e6-8fa5-f7846553872f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35209831', 'ctest-vn-09090922'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35209831', 'ctest-policy-allow-all-91966389']], 'subnet_ipam': [{'subnet_cidr': '32.184.189.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-05 15:07:26,070 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-09-05 15:07:26,375 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-09-05 15:07:26,410 - DEBUG - Requesting: http://10.0.0.17:8082/domain/24739fcd-2310-4330-9649-a1c3856354b1 2024-09-05 15:07:26,424 - DEBUG - Requesting: http://10.0.0.17:8082/project/ce88adb0-4042-417f-9955-fc1ed155f9f5 2024-09-05 15:07:26,495 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/7171b271-1cf8-4afe-bc08-4b08dcf9ff71 2024-09-05 15:07:26,508 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/7171b271-1cf8-4afe-bc08-4b08dcf9ff71 2024-09-05 15:07:26,517 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/0e00531d-5715-4e9a-a14c-5300ec34ec8b 2024-09-05 15:07:26,524 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/0e00531d-5715-4e9a-a14c-5300ec34ec8b 2024-09-05 15:07:26,531 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/f77f83cc-ee7f-4c71-9ca2-53aa6f3142fc 2024-09-05 15:07:26,537 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-05 15:07:26,537 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/7171b271-1cf8-4afe-bc08-4b08dcf9ff71 2024-09-05 15:07:26,544 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/0e00531d-5715-4e9a-a14c-5300ec34ec8b 2024-09-05 15:07:26,555 - INFO - Verified VN network id 9 for VN 7171b271-1cf8-4afe-bc08-4b08dcf9ff71 2024-09-05 15:07:26,555 - INFO - Verifications in API Server for VN ctest-vn-88615910 passed 2024-09-05 15:07:26,555 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/7171b271-1cf8-4afe-bc08-4b08dcf9ff71 2024-09-05 15:07:26,563 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/0e00531d-5715-4e9a-a14c-5300ec34ec8b 2024-09-05 15:07:26,568 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/0e00531d-5715-4e9a-a14c-5300ec34ec8b 2024-09-05 15:07:26,574 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/f77f83cc-ee7f-4c71-9ca2-53aa6f3142fc 2024-09-05 15:07:26,586 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35209831:ctest-vn-88615910', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35209831', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8174510997541243646', 'uuid-lslong': '13549161980383330161'}, 'enable': 'true', 'created': '2024-09-05T15:07:24', 'last-modified': '2024-09-05T15:07:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.929518'} 2024-09-05 15:07:26,592 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-05 15:07:26,592 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88615910 passed 2024-09-05 15:07:26,592 - DEBUG - ====Verifying policy data for ctest-vn-88615910 in API_Server ====== 2024-09-05 15:07:26,592 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-09-05 15:07:26,598 - DEBUG - Requesting: http://10.0.0.17:8082/domain/24739fcd-2310-4330-9649-a1c3856354b1 2024-09-05 15:07:26,611 - DEBUG - Requesting: http://10.0.0.17:8082/project/ce88adb0-4042-417f-9955-fc1ed155f9f5 2024-09-05 15:07:26,680 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/7171b271-1cf8-4afe-bc08-4b08dcf9ff71 2024-09-05 15:07:26,689 - DEBUG - ==>Verifying data for policy with id: 0a209216-b4df-46a3-829e-e432c28eab5d, fqn: ['default-domain', 'ctest-TestBasicPolicy-35209831', 'ctest-policy-allow-all-91966389'] 2024-09-05 15:07:26,689 - INFO - VN ctest-vn-88615910 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-05 15:07:26,690 - DEBUG - Verifying the vn in opserver 2024-09-05 15:07:26,690 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35209831:ctest-vn-88615910 virtual network link through opserver 10.0.0.17 2024-09-05 15:07:26,690 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2024-09-05 15:07:27,008 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2024-09-05 15:07:27,070 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35209831:ctest-vn-88615910', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35209831:ctest-vn-88615910?flat'} 2024-09-05 15:07:27,070 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35209831:ctest-vn-88615910 is found in opserver 2024-09-05 15:07:27,082 - DEBUG - Do not have enough data to verify VN in agent 2024-09-05 15:07:27,086 - DEBUG - VRF ids for VN ctest-vn-88615910: {} 2024-09-05 15:07:27,086 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-09-05 15:07:27,093 - DEBUG - Requesting: http://10.0.0.17:8082/domain/24739fcd-2310-4330-9649-a1c3856354b1 2024-09-05 15:07:27,107 - DEBUG - Requesting: http://10.0.0.17:8082/project/ce88adb0-4042-417f-9955-fc1ed155f9f5 2024-09-05 15:07:27,181 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/b8c19e54-583e-4fbf-b725-2ecef6a235af 2024-09-05 15:07:27,193 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/b8c19e54-583e-4fbf-b725-2ecef6a235af 2024-09-05 15:07:27,201 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/3e83c117-4634-4341-af7e-e2ce02a9061d 2024-09-05 15:07:27,209 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/3e83c117-4634-4341-af7e-e2ce02a9061d 2024-09-05 15:07:27,215 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/b1fe3268-157e-4450-8988-f304a5ab114b 2024-09-05 15:07:27,222 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-05 15:07:27,222 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/b8c19e54-583e-4fbf-b725-2ecef6a235af 2024-09-05 15:07:27,229 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/3e83c117-4634-4341-af7e-e2ce02a9061d 2024-09-05 15:07:27,241 - INFO - Verified VN network id 10 for VN b8c19e54-583e-4fbf-b725-2ecef6a235af 2024-09-05 15:07:27,241 - INFO - Verifications in API Server for VN ctest-vn-09090922 passed 2024-09-05 15:07:27,242 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/b8c19e54-583e-4fbf-b725-2ecef6a235af 2024-09-05 15:07:27,251 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/3e83c117-4634-4341-af7e-e2ce02a9061d 2024-09-05 15:07:27,257 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/3e83c117-4634-4341-af7e-e2ce02a9061d 2024-09-05 15:07:27,264 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/b1fe3268-157e-4450-8988-f304a5ab114b 2024-09-05 15:07:27,276 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35209831:ctest-vn-09090922', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35209831', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13313096058578816959', 'uuid-lslong': '13197005749515072943'}, 'enable': 'true', 'created': '2024-09-05T15:07:24', 'last-modified': '2024-09-05T15:07:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.381972'} 2024-09-05 15:07:27,282 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-05 15:07:27,283 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09090922 passed 2024-09-05 15:07:27,283 - DEBUG - ====Verifying policy data for ctest-vn-09090922 in API_Server ====== 2024-09-05 15:07:27,283 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-09-05 15:07:27,288 - DEBUG - Requesting: http://10.0.0.17:8082/domain/24739fcd-2310-4330-9649-a1c3856354b1 2024-09-05 15:07:27,299 - DEBUG - Requesting: http://10.0.0.17:8082/project/ce88adb0-4042-417f-9955-fc1ed155f9f5 2024-09-05 15:07:27,372 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/b8c19e54-583e-4fbf-b725-2ecef6a235af 2024-09-05 15:07:27,381 - DEBUG - ==>Verifying data for policy with id: 0a209216-b4df-46a3-829e-e432c28eab5d, fqn: ['default-domain', 'ctest-TestBasicPolicy-35209831', 'ctest-policy-allow-all-91966389'] 2024-09-05 15:07:27,381 - INFO - VN ctest-vn-09090922 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-05 15:07:27,381 - DEBUG - Verifying the vn in opserver 2024-09-05 15:07:27,381 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35209831:ctest-vn-09090922 virtual network link through opserver 10.0.0.17 2024-09-05 15:07:27,381 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2024-09-05 15:07:27,392 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35209831:ctest-vn-09090922', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35209831:ctest-vn-09090922?flat'} 2024-09-05 15:07:27,392 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35209831:ctest-vn-09090922 is found in opserver 2024-09-05 15:07:27,407 - DEBUG - Do not have enough data to verify VN in agent 2024-09-05 15:07:27,412 - DEBUG - VRF ids for VN ctest-vn-09090922: {} 2024-09-05 15:07:27,474 - DEBUG - Services list from nova: [, , ] 2024-09-05 15:07:28,499 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1856-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1856-1) 2024-09-05 15:07:29,732 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1856-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1856-1) 2024-09-05 15:07:29,732 - INFO - Waiting for VM ctest-TestBasicPolicy-35209831-84652432 to be up.. 2024-09-05 15:07:29,830 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-05 15:07:34,990 - DEBUG - VM is in ACTIVE state now 2024-09-05 15:07:34,990 - INFO - VM name : ctest-TestBasicPolicy-35209831-84652432 2024-09-05 15:07:35,152 - DEBUG - VM ctest-TestBasicPolicy-35209831-84652432 ID is 7409a163-238a-4e30-a3f4-4c1e757366cc 2024-09-05 15:07:35,177 - DEBUG - VM ctest-TestBasicPolicy-35209831-84652432 launched on Node cn-jenkins-deploy-platform-ansible-os-1856-1 2024-09-05 15:07:35,379 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/7409a163-238a-4e30-a3f4-4c1e757366cc 2024-09-05 15:07:35,407 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/47ab0cf0-4955-4b91-8e74-1a80f6bd4eb2 2024-09-05 15:07:38,699 - 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-05 15:07:38,699 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35209831-84652432 failed! 2024-09-05 15:07:38,754 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-35209831:ctest-vn-88615910 is 110.216.159.129 and allocation pool is NOT set 2024-09-05 15:07:40,817 - 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=2.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.831 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.831/1.778/2.725/0.947 ms') 2024-09-05 15:07:40,817 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35209831-84652432 passed 2024-09-05 15:07:40,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 15:07:40,970 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35209831-84652432, IP 110.216.159.131, Port 22 2024-09-05 15:07:41,125 - DEBUG - VM ctest-TestBasicPolicy-35209831-84652432 is ready for SSH connections 2024-09-05 15:07:41,125 - INFO - Waiting for VM ctest-TestBasicPolicy-35209831-01464904 to be up.. 2024-09-05 15:07:41,216 - DEBUG - VM is in ACTIVE state now 2024-09-05 15:07:41,216 - INFO - VM name : ctest-TestBasicPolicy-35209831-01464904 2024-09-05 15:07:41,297 - DEBUG - VM ctest-TestBasicPolicy-35209831-01464904 ID is 41e323d8-f522-4891-be03-4655d3de4613 2024-09-05 15:07:41,297 - DEBUG - VM ctest-TestBasicPolicy-35209831-01464904 launched on Node cn-jenkins-deploy-platform-ansible-os-1856-1 2024-09-05 15:07:41,375 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/41e323d8-f522-4891-be03-4655d3de4613 2024-09-05 15:07:41,384 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/739ef114-76cb-49f2-8712-101e188deeff 2024-09-05 15:07:42,620 - 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=2.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.448 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.448/1.624/2.800/1.176 ms') 2024-09-05 15:07:42,621 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-35209831-01464904 passed 2024-09-05 15:07:42,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 15:07:42,774 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35209831-01464904, IP 32.184.189.3, Port 22 2024-09-05 15:07:42,926 - DEBUG - VM ctest-TestBasicPolicy-35209831-01464904 is ready for SSH connections 2024-09-05 15:07:42,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 15:07:42,926 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.184.189.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2024-09-05 15:07:42,926 - DEBUG - ping -s 56 -c 3 -W 1 32.184.189.3 2024-09-05 15:07:46,709 - DEBUG - PING 32.184.189.3 (32.184.189.3): 56 data bytes 64 bytes from 32.184.189.3: seq=0 ttl=63 time=4.059 ms 64 bytes from 32.184.189.3: seq=1 ttl=63 time=1.098 ms 64 bytes from 32.184.189.3: seq=2 ttl=63 time=0.895 ms --- 32.184.189.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.895/2.017/4.059 ms 2024-09-05 15:07:46,710 - INFO - Ping to IP 32.184.189.3 from VM ctest-TestBasicPolicy-35209831-84652432 passed 2024-09-05 15:07:46,901 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0a209216-b4df-46a3-829e-e432c28eab5d", "href": "http://10.0.0.17:8082/network-policy/0a209216-b4df-46a3-829e-e432c28eab5d"}} 2024-09-05 15:07:46,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 15:07:46,902 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.184.189.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2024-09-05 15:07:46,902 - DEBUG - ping -s 56 -c 3 -W 1 32.184.189.3 2024-09-05 15:07:50,144 - DEBUG - PING 32.184.189.3 (32.184.189.3): 56 data bytes 64 bytes from 32.184.189.3: seq=0 ttl=63 time=1.970 ms --- 32.184.189.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.970/1.970/1.970 ms 2024-09-05 15:07:50,144 - WARNING - Ping to IP 32.184.189.3 from VM ctest-TestBasicPolicy-35209831-84652432 failed 2024-09-05 15:07:50,144 - INFO - Deleting VM ctest-TestBasicPolicy-35209831-01464904 2024-09-05 15:07:50,211 - INFO - Deleting VM ctest-TestBasicPolicy-35209831-84652432 2024-09-05 15:07:50,647 - INFO - Deleted policy ctest-policy-allow-all-91966389 2024-09-05 15:07:50,648 - INFO - Deleting VN ctest-vn-09090922 2024-09-05 15:07:50,701 - DEBUG - VN b8c19e54-583e-4fbf-b725-2ecef6a235af still in use: Unable to complete operation on network b8c19e54-583e-4fbf-b725-2ecef6a235af. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-beac5ad8-e656-4a5d-a462-dd732e466664'] 2024-09-05 15:07:50,702 - WARNING - Deleting VN ctest-vn-09090922 failed..Will retry 2024-09-05 15:07:52,806 - DEBUG - Response for deleting network () 2024-09-05 15:07:52,806 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/3e83c117-4634-4341-af7e-e2ce02a9061d 2024-09-05 15:07:52,811 - DEBUG - Response Code: 404 2024-09-05 15:07:52,812 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-09-05 15:07:52,819 - DEBUG - Requesting: http://10.0.0.17:8082/domain/24739fcd-2310-4330-9649-a1c3856354b1 2024-09-05 15:07:52,877 - DEBUG - Requesting: http://10.0.0.17:8082/project/ce88adb0-4042-417f-9955-fc1ed155f9f5 2024-09-05 15:07:52,943 - INFO - Validated that VN ctest-vn-09090922 is not found in API Server 2024-09-05 15:07:52,955 - DEBUG - VN ctest-vn-09090922 is not present in Agent 10.0.0.17 2024-09-05 15:07:52,955 - INFO - Validated that VN ctest-vn-09090922 is not in any agent 2024-09-05 15:07:52,970 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09090922 info 2024-09-05 15:07:52,971 - INFO - Deleting VN ctest-vn-88615910 2024-09-05 15:07:53,083 - DEBUG - Response for deleting network () 2024-09-05 15:07:53,083 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/0e00531d-5715-4e9a-a14c-5300ec34ec8b 2024-09-05 15:07:53,089 - DEBUG - Response Code: 404 2024-09-05 15:07:53,089 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-09-05 15:07:53,102 - DEBUG - Requesting: http://10.0.0.17:8082/domain/24739fcd-2310-4330-9649-a1c3856354b1 2024-09-05 15:07:53,159 - DEBUG - Requesting: http://10.0.0.17:8082/project/ce88adb0-4042-417f-9955-fc1ed155f9f5 2024-09-05 15:07:53,233 - INFO - Validated that VN ctest-vn-88615910 is not found in API Server 2024-09-05 15:07:53,245 - DEBUG - VN ctest-vn-88615910 is not present in Agent 10.0.0.17 2024-09-05 15:07:53,245 - INFO - Validated that VN ctest-vn-88615910 is not in any agent 2024-09-05 15:07:53,261 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88615910 info 2024-09-05 15:07:53,517 - DEBUG - No XMPP flaps were noticed during the test 2024-09-05 15:07:53,518 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2024-09-05 15:07:53,518 - INFO - -------------------------------------------------------------------------------- 2024-09-05 15:07:54,205 - INFO - Deleted project: ctest-TestBasicPolicy-35209831, ID : ce88adb0-4042-417f-9955-fc1ed155f9f5