2025-01-07 17:02:01,663 - INFO - Domain Default found not creating 2025-01-07 17:02:01,817 - INFO - Project ctest-TestBasicPolicy-14715900 not found, creating it 2025-01-07 17:02:02,260 - INFO - Created Project:ctest-TestBasicPolicy-14715900, ID : 48961a5c-59ae-41bf-bf1f-de38f8630898 2025-01-07 17:02:03,692 - INFO - ================================================================================ 2025-01-07 17:02:03,692 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-07 17:02:03,692 - 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 2025-01-07 17:02:03,946 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.8': '0'}} with 2025-01-07 17:02:03,946 - INFO - Initial checks done. Running the testcase now 2025-01-07 17:02:03,946 - INFO - 2025-01-07 17:02:04,519 - DEBUG - Response for create_network : {'network': {'id': '31367e5f-b489-4d2c-ac03-1b5e069d7271', 'name': 'ctest-vn-75915839', 'tenant_id': '48961a5c59ae41bfbf1fde38f8630898', 'project_id': '48961a5c59ae41bfbf1fde38f8630898', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14715900', 'ctest-vn-75915839'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 17:02:04,751 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ddcf6a3-c485-4d10-af67-4b1c33d8e733', 'name': '', 'tenant_id': '48961a5c59ae41bfbf1fde38f8630898', 'network_id': '31367e5f-b489-4d2c-ac03-1b5e069d7271', 'ip_version': 4, 'cidr': '59.26.39.128/26', 'allocation_pools': [{'start': '59.26.39.130', 'end': '59.26.39.190'}], 'gateway_ip': '59.26.39.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.26.39.130', 'tags': [], 'project_id': '48961a5c59ae41bfbf1fde38f8630898'}} 2025-01-07 17:02:04,769 - INFO - Created VN ctest-vn-75915839 2025-01-07 17:02:04,820 - DEBUG - VN ctest-vn-75915839 UUID is 31367e5f-b489-4d2c-ac03-1b5e069d7271 2025-01-07 17:02:05,139 - DEBUG - Response for create_network : {'network': {'id': '74d53e92-6b50-4710-9aa8-b14448714136', 'name': 'ctest-vn-11164447', 'tenant_id': '48961a5c59ae41bfbf1fde38f8630898', 'project_id': '48961a5c59ae41bfbf1fde38f8630898', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14715900', 'ctest-vn-11164447'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 17:02:05,293 - DEBUG - Response for create_subnet : {'subnet': {'id': '50d02279-6c2f-4ae7-9b52-4917d51beece', 'name': '', 'tenant_id': '48961a5c59ae41bfbf1fde38f8630898', 'network_id': '74d53e92-6b50-4710-9aa8-b14448714136', 'ip_version': 4, 'cidr': '213.49.119.64/26', 'allocation_pools': [{'start': '213.49.119.66', 'end': '213.49.119.126'}], 'gateway_ip': '213.49.119.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.49.119.66', 'tags': [], 'project_id': '48961a5c59ae41bfbf1fde38f8630898'}} 2025-01-07 17:02:05,310 - INFO - Created VN ctest-vn-11164447 2025-01-07 17:02:05,362 - DEBUG - VN ctest-vn-11164447 UUID is 74d53e92-6b50-4710-9aa8-b14448714136 2025-01-07 17:02:05,528 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-14715900:ctest-vn-75915839, 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-14715900:ctest-vn-11164447, 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] 2025-01-07 17:02:05,824 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '31367e5f-b489-4d2c-ac03-1b5e069d7271', 'name': 'ctest-vn-75915839', 'tenant_id': '48961a5c59ae41bfbf1fde38f8630898', 'project_id': '48961a5c59ae41bfbf1fde38f8630898', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8ddcf6a3-c485-4d10-af67-4b1c33d8e733'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14715900', 'ctest-vn-75915839'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14715900', 'ctest-policy-allow-all-81960124']], 'subnet_ipam': [{'subnet_cidr': '59.26.39.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-07 17:02:06,052 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '74d53e92-6b50-4710-9aa8-b14448714136', 'name': 'ctest-vn-11164447', 'tenant_id': '48961a5c59ae41bfbf1fde38f8630898', 'project_id': '48961a5c59ae41bfbf1fde38f8630898', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['50d02279-6c2f-4ae7-9b52-4917d51beece'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14715900', 'ctest-vn-11164447'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14715900', 'ctest-policy-allow-all-81960124']], 'subnet_ipam': [{'subnet_cidr': '213.49.119.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-07 17:02:06,205 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-01-07 17:02:06,507 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-01-07 17:02:06,534 - DEBUG - Requesting: http://10.0.0.50:8082/domain/26f8576e-fa1b-4495-966f-242a22a5b9b0 2025-01-07 17:02:06,549 - DEBUG - Requesting: http://10.0.0.50:8082/project/48961a5c-59ae-41bf-bf1f-de38f8630898 2025-01-07 17:02:06,623 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/31367e5f-b489-4d2c-ac03-1b5e069d7271 2025-01-07 17:02:06,634 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/31367e5f-b489-4d2c-ac03-1b5e069d7271 2025-01-07 17:02:06,643 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a611575b-4120-45dd-bd52-34fb4581ebe6 2025-01-07 17:02:06,649 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a611575b-4120-45dd-bd52-34fb4581ebe6 2025-01-07 17:02:06,656 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8a1d6e35-33af-43c2-87ac-beb74c2cdc46 2025-01-07 17:02:06,662 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-07 17:02:06,662 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/31367e5f-b489-4d2c-ac03-1b5e069d7271 2025-01-07 17:02:06,671 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a611575b-4120-45dd-bd52-34fb4581ebe6 2025-01-07 17:02:06,684 - INFO - Verified VN network id 9 for VN 31367e5f-b489-4d2c-ac03-1b5e069d7271 2025-01-07 17:02:06,684 - INFO - Verifications in API Server for VN ctest-vn-75915839 passed 2025-01-07 17:02:06,685 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/31367e5f-b489-4d2c-ac03-1b5e069d7271 2025-01-07 17:02:06,695 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a611575b-4120-45dd-bd52-34fb4581ebe6 2025-01-07 17:02:06,702 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a611575b-4120-45dd-bd52-34fb4581ebe6 2025-01-07 17:02:06,709 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8a1d6e35-33af-43c2-87ac-beb74c2cdc46 2025-01-07 17:02:06,721 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14715900:ctest-vn-75915839', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14715900', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3546160706116734252', 'uuid-lslong': '12394780690105594481'}, 'enable': 'true', 'created': '2025-01-07T17:02:04', 'last-modified': '2025-01-07T17:02:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.923100'} 2025-01-07 17:02:06,728 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-07 17:02:06,728 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75915839 passed 2025-01-07 17:02:06,728 - DEBUG - ====Verifying policy data for ctest-vn-75915839 in API_Server ====== 2025-01-07 17:02:06,728 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-01-07 17:02:06,734 - DEBUG - Requesting: http://10.0.0.50:8082/domain/26f8576e-fa1b-4495-966f-242a22a5b9b0 2025-01-07 17:02:06,746 - DEBUG - Requesting: http://10.0.0.50:8082/project/48961a5c-59ae-41bf-bf1f-de38f8630898 2025-01-07 17:02:06,816 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/31367e5f-b489-4d2c-ac03-1b5e069d7271 2025-01-07 17:02:06,826 - DEBUG - ==>Verifying data for policy with id: 966b2a70-271b-4c14-a907-736a29c34f0e, fqn: ['default-domain', 'ctest-TestBasicPolicy-14715900', 'ctest-policy-allow-all-81960124'] 2025-01-07 17:02:06,826 - INFO - VN ctest-vn-75915839 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-07 17:02:06,826 - DEBUG - Verifying the vn in opserver 2025-01-07 17:02:06,826 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14715900:ctest-vn-75915839 virtual network link through opserver 10.0.0.50 2025-01-07 17:02:06,826 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-01-07 17:02:07,117 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-01-07 17:02:07,168 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14715900:ctest-vn-75915839', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14715900:ctest-vn-75915839?flat'} 2025-01-07 17:02:07,168 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14715900:ctest-vn-75915839 is found in opserver 2025-01-07 17:02:07,179 - DEBUG - Do not have enough data to verify VN in agent 2025-01-07 17:02:07,183 - DEBUG - VRF ids for VN ctest-vn-75915839: {} 2025-01-07 17:02:07,183 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-01-07 17:02:07,190 - DEBUG - Requesting: http://10.0.0.50:8082/domain/26f8576e-fa1b-4495-966f-242a22a5b9b0 2025-01-07 17:02:07,202 - DEBUG - Requesting: http://10.0.0.50:8082/project/48961a5c-59ae-41bf-bf1f-de38f8630898 2025-01-07 17:02:07,281 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/74d53e92-6b50-4710-9aa8-b14448714136 2025-01-07 17:02:07,292 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/74d53e92-6b50-4710-9aa8-b14448714136 2025-01-07 17:02:07,301 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6fb5e52-b9db-4401-b1a0-838b4987faa7 2025-01-07 17:02:07,307 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6fb5e52-b9db-4401-b1a0-838b4987faa7 2025-01-07 17:02:07,313 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/71832968-af52-4fcd-b53a-deb98aab3ead 2025-01-07 17:02:07,320 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-07 17:02:07,320 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/74d53e92-6b50-4710-9aa8-b14448714136 2025-01-07 17:02:07,328 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6fb5e52-b9db-4401-b1a0-838b4987faa7 2025-01-07 17:02:07,341 - INFO - Verified VN network id 10 for VN 74d53e92-6b50-4710-9aa8-b14448714136 2025-01-07 17:02:07,342 - INFO - Verifications in API Server for VN ctest-vn-11164447 passed 2025-01-07 17:02:07,342 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/74d53e92-6b50-4710-9aa8-b14448714136 2025-01-07 17:02:07,350 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6fb5e52-b9db-4401-b1a0-838b4987faa7 2025-01-07 17:02:07,357 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6fb5e52-b9db-4401-b1a0-838b4987faa7 2025-01-07 17:02:07,363 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/71832968-af52-4fcd-b53a-deb98aab3ead 2025-01-07 17:02:07,374 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14715900:ctest-vn-11164447', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14715900', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8418703877025580816', 'uuid-lslong': '11144352184759566646'}, 'enable': 'true', 'created': '2025-01-07T17:02:05', 'last-modified': '2025-01-07T17:02:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.344975'} 2025-01-07 17:02:07,381 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-07 17:02:07,381 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11164447 passed 2025-01-07 17:02:07,381 - DEBUG - ====Verifying policy data for ctest-vn-11164447 in API_Server ====== 2025-01-07 17:02:07,381 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-01-07 17:02:07,386 - DEBUG - Requesting: http://10.0.0.50:8082/domain/26f8576e-fa1b-4495-966f-242a22a5b9b0 2025-01-07 17:02:07,397 - DEBUG - Requesting: http://10.0.0.50:8082/project/48961a5c-59ae-41bf-bf1f-de38f8630898 2025-01-07 17:02:07,486 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/74d53e92-6b50-4710-9aa8-b14448714136 2025-01-07 17:02:07,499 - DEBUG - ==>Verifying data for policy with id: 966b2a70-271b-4c14-a907-736a29c34f0e, fqn: ['default-domain', 'ctest-TestBasicPolicy-14715900', 'ctest-policy-allow-all-81960124'] 2025-01-07 17:02:07,499 - INFO - VN ctest-vn-11164447 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-07 17:02:07,499 - DEBUG - Verifying the vn in opserver 2025-01-07 17:02:07,499 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14715900:ctest-vn-11164447 virtual network link through opserver 10.0.0.50 2025-01-07 17:02:07,499 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-01-07 17:02:07,510 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14715900:ctest-vn-11164447', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14715900:ctest-vn-11164447?flat'} 2025-01-07 17:02:07,510 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14715900:ctest-vn-11164447 is found in opserver 2025-01-07 17:02:07,521 - DEBUG - Do not have enough data to verify VN in agent 2025-01-07 17:02:07,527 - DEBUG - VRF ids for VN ctest-vn-11164447: {} 2025-01-07 17:02:07,586 - DEBUG - Services list from nova: [, , ] 2025-01-07 17:02:08,664 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2552-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2552-1) 2025-01-07 17:02:09,779 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2552-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2552-1) 2025-01-07 17:02:09,779 - INFO - Waiting for VM ctest-TestBasicPolicy-14715900-89379023 to be up.. 2025-01-07 17:02:09,852 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-07 17:02:14,934 - DEBUG - VM is in ACTIVE state now 2025-01-07 17:02:14,934 - INFO - VM name : ctest-TestBasicPolicy-14715900-89379023 2025-01-07 17:02:15,012 - DEBUG - VM ctest-TestBasicPolicy-14715900-89379023 ID is 6cc319ae-c7b4-450a-9408-b36c3662d070 2025-01-07 17:02:15,034 - DEBUG - VM ctest-TestBasicPolicy-14715900-89379023 launched on Node cn-jenkins-deploy-platform-ansible-os-2552-1 2025-01-07 17:02:15,106 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6cc319ae-c7b4-450a-9408-b36c3662d070 2025-01-07 17:02:15,116 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e72b3dba-de1f-4a89-bff2-650fb9b1dd8a 2025-01-07 17:02:18,387 - 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 1023ms') 2025-01-07 17:02:18,387 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-14715900-89379023 failed! 2025-01-07 17:02:18,444 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-14715900:ctest-vn-75915839 is 59.26.39.129 and allocation pool is NOT set 2025-01-07 17:02:20,506 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.530 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.530/4.143/7.756/3.613 ms') 2025-01-07 17:02:20,506 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-14715900-89379023 passed 2025-01-07 17:02:20,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 17:02:20,668 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14715900-89379023, IP 59.26.39.131, Port 22 2025-01-07 17:02:20,841 - DEBUG - VM ctest-TestBasicPolicy-14715900-89379023 is ready for SSH connections 2025-01-07 17:02:20,841 - INFO - Waiting for VM ctest-TestBasicPolicy-14715900-51458819 to be up.. 2025-01-07 17:02:20,921 - DEBUG - VM is in ACTIVE state now 2025-01-07 17:02:20,921 - INFO - VM name : ctest-TestBasicPolicy-14715900-51458819 2025-01-07 17:02:20,995 - DEBUG - VM ctest-TestBasicPolicy-14715900-51458819 ID is 9ab6550b-e3c7-4b04-958a-ceebaf8e8e26 2025-01-07 17:02:20,995 - DEBUG - VM ctest-TestBasicPolicy-14715900-51458819 launched on Node cn-jenkins-deploy-platform-ansible-os-2552-1 2025-01-07 17:02:21,069 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9ab6550b-e3c7-4b04-958a-ceebaf8e8e26 2025-01-07 17:02:21,078 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/bcd8ffa7-61f9-4eba-819c-713a55b47292 2025-01-07 17:02:22,323 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.398 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.398/1.505/2.612/1.107 ms') 2025-01-07 17:02:22,324 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-14715900-51458819 passed 2025-01-07 17:02:22,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 17:02:22,472 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14715900-51458819, IP 213.49.119.67, Port 22 2025-01-07 17:02:22,624 - DEBUG - VM ctest-TestBasicPolicy-14715900-51458819 is ready for SSH connections 2025-01-07 17:02:22,624 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 17:02:22,624 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.49.119.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-01-07 17:02:22,624 - DEBUG - ping -s 56 -c 3 -W 1 213.49.119.67 2025-01-07 17:02:26,602 - DEBUG - PING 213.49.119.67 (213.49.119.67): 56 data bytes 64 bytes from 213.49.119.67: seq=0 ttl=63 time=4.729 ms 64 bytes from 213.49.119.67: seq=1 ttl=63 time=0.985 ms 64 bytes from 213.49.119.67: seq=2 ttl=63 time=1.072 ms --- 213.49.119.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.985/2.262/4.729 ms 2025-01-07 17:02:26,603 - INFO - Ping to IP 213.49.119.67 from VM ctest-TestBasicPolicy-14715900-89379023 passed 2025-01-07 17:02:26,796 - DEBUG - Policy Update Response {"network-policy": {"uuid": "966b2a70-271b-4c14-a907-736a29c34f0e", "href": "http://10.0.0.50:8082/network-policy/966b2a70-271b-4c14-a907-736a29c34f0e"}} 2025-01-07 17:02:26,796 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 17:02:26,796 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.49.119.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-01-07 17:02:26,797 - DEBUG - ping -s 56 -c 3 -W 1 213.49.119.67 2025-01-07 17:02:30,011 - DEBUG - PING 213.49.119.67 (213.49.119.67): 56 data bytes --- 213.49.119.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-01-07 17:02:30,011 - WARNING - Ping to IP 213.49.119.67 from VM ctest-TestBasicPolicy-14715900-89379023 failed 2025-01-07 17:02:30,011 - INFO - Deleting VM ctest-TestBasicPolicy-14715900-51458819 2025-01-07 17:02:30,079 - INFO - Deleting VM ctest-TestBasicPolicy-14715900-89379023 2025-01-07 17:02:30,447 - INFO - Deleted policy ctest-policy-allow-all-81960124 2025-01-07 17:02:30,447 - INFO - Deleting VN ctest-vn-11164447 2025-01-07 17:02:30,483 - DEBUG - VN 74d53e92-6b50-4710-9aa8-b14448714136 still in use: Unable to complete operation on network 74d53e92-6b50-4710-9aa8-b14448714136. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bfbc4c00-67bd-462e-9f42-0d27933d0ccd'] 2025-01-07 17:02:30,483 - WARNING - Deleting VN ctest-vn-11164447 failed..Will retry 2025-01-07 17:02:32,579 - DEBUG - Response for deleting network () 2025-01-07 17:02:32,579 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6fb5e52-b9db-4401-b1a0-838b4987faa7 2025-01-07 17:02:32,587 - DEBUG - Response Code: 404 2025-01-07 17:02:32,587 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-01-07 17:02:32,592 - DEBUG - Requesting: http://10.0.0.50:8082/domain/26f8576e-fa1b-4495-966f-242a22a5b9b0 2025-01-07 17:02:32,647 - DEBUG - Requesting: http://10.0.0.50:8082/project/48961a5c-59ae-41bf-bf1f-de38f8630898 2025-01-07 17:02:32,717 - INFO - Validated that VN ctest-vn-11164447 is not found in API Server 2025-01-07 17:02:32,727 - DEBUG - VN ctest-vn-11164447 is not present in Agent 10.0.0.50 2025-01-07 17:02:32,727 - INFO - Validated that VN ctest-vn-11164447 is not in any agent 2025-01-07 17:02:32,742 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11164447 info 2025-01-07 17:02:32,742 - INFO - Deleting VN ctest-vn-75915839 2025-01-07 17:02:32,837 - DEBUG - Response for deleting network () 2025-01-07 17:02:32,837 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a611575b-4120-45dd-bd52-34fb4581ebe6 2025-01-07 17:02:32,845 - DEBUG - Response Code: 404 2025-01-07 17:02:32,845 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-01-07 17:02:32,850 - DEBUG - Requesting: http://10.0.0.50:8082/domain/26f8576e-fa1b-4495-966f-242a22a5b9b0 2025-01-07 17:02:32,906 - DEBUG - Requesting: http://10.0.0.50:8082/project/48961a5c-59ae-41bf-bf1f-de38f8630898 2025-01-07 17:02:32,979 - INFO - Validated that VN ctest-vn-75915839 is not found in API Server 2025-01-07 17:02:32,989 - DEBUG - VN ctest-vn-75915839 is not present in Agent 10.0.0.50 2025-01-07 17:02:32,989 - INFO - Validated that VN ctest-vn-75915839 is not in any agent 2025-01-07 17:02:33,004 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75915839 info 2025-01-07 17:02:33,261 - DEBUG - No XMPP flaps were noticed during the test
2025-01-07 17:02:33,261 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-01-07 17:02:33,261 - INFO - -------------------------------------------------------------------------------- 2025-01-07 17:02:33,921 - INFO - Deleted project: ctest-TestBasicPolicy-14715900, ID : 48961a5c-59ae-41bf-bf1f-de38f8630898