2025-04-21 13:59:54,919 - INFO - Domain Default found not creating 2025-04-21 13:59:55,069 - INFO - Project ctest-TestBasicPolicy-42616009 not found, creating it 2025-04-21 13:59:55,530 - INFO - Created Project:ctest-TestBasicPolicy-42616009, ID : 994f9816-e732-44fa-a3fe-bb98a540609a 2025-04-21 13:59:56,955 - INFO - ================================================================================ 2025-04-21 13:59:56,955 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-21 13:59:56,956 - 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-04-21 13:59:57,213 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-04-21 13:59:57,213 - INFO - Initial checks done. Running the testcase now 2025-04-21 13:59:57,213 - INFO - 2025-04-21 13:59:57,770 - DEBUG - Response for create_network : {'network': {'id': 'f379e6ac-c17c-400a-a1f2-5df952ca110b', 'name': 'ctest-vn-08412475', 'tenant_id': '994f9816e73244faa3febb98a540609a', 'project_id': '994f9816e73244faa3febb98a540609a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42616009', 'ctest-vn-08412475'], 'port_security_enabled': True, 'description': ''}} 2025-04-21 13:59:57,974 - DEBUG - Response for create_subnet : {'subnet': {'id': '594c163e-4b2f-4ebf-a67d-fd7c1fb7d911', 'name': '', 'tenant_id': '994f9816e73244faa3febb98a540609a', 'network_id': 'f379e6ac-c17c-400a-a1f2-5df952ca110b', 'ip_version': 4, 'cidr': '34.66.184.64/26', 'allocation_pools': [{'start': '34.66.184.66', 'end': '34.66.184.126'}], 'gateway_ip': '34.66.184.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.66.184.66', 'tags': [], 'project_id': '994f9816e73244faa3febb98a540609a'}} 2025-04-21 13:59:57,995 - INFO - Created VN ctest-vn-08412475 2025-04-21 13:59:58,047 - DEBUG - VN ctest-vn-08412475 UUID is f379e6ac-c17c-400a-a1f2-5df952ca110b 2025-04-21 13:59:58,329 - DEBUG - Response for create_network : {'network': {'id': '190a7cc0-6ade-4623-b6ea-a4a19c45d737', 'name': 'ctest-vn-00618418', 'tenant_id': '994f9816e73244faa3febb98a540609a', 'project_id': '994f9816e73244faa3febb98a540609a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42616009', 'ctest-vn-00618418'], 'port_security_enabled': True, 'description': ''}} 2025-04-21 13:59:58,560 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec9170b2-ca6d-4308-a11e-e374e4f8dca8', 'name': '', 'tenant_id': '994f9816e73244faa3febb98a540609a', 'network_id': '190a7cc0-6ade-4623-b6ea-a4a19c45d737', 'ip_version': 4, 'cidr': '123.63.215.192/26', 'allocation_pools': [{'start': '123.63.215.194', 'end': '123.63.215.254'}], 'gateway_ip': '123.63.215.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.63.215.194', 'tags': [], 'project_id': '994f9816e73244faa3febb98a540609a'}} 2025-04-21 13:59:58,580 - INFO - Created VN ctest-vn-00618418 2025-04-21 13:59:58,635 - DEBUG - VN ctest-vn-00618418 UUID is 190a7cc0-6ade-4623-b6ea-a4a19c45d737 2025-04-21 13:59:58,746 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-42616009:ctest-vn-08412475, 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-42616009:ctest-vn-00618418, 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-04-21 13:59:59,041 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f379e6ac-c17c-400a-a1f2-5df952ca110b', 'name': 'ctest-vn-08412475', 'tenant_id': '994f9816e73244faa3febb98a540609a', 'project_id': '994f9816e73244faa3febb98a540609a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['594c163e-4b2f-4ebf-a67d-fd7c1fb7d911'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42616009', 'ctest-vn-08412475'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-42616009', 'ctest-policy-allow-all-69140283']], 'subnet_ipam': [{'subnet_cidr': '34.66.184.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-21 13:59:59,338 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '190a7cc0-6ade-4623-b6ea-a4a19c45d737', 'name': 'ctest-vn-00618418', 'tenant_id': '994f9816e73244faa3febb98a540609a', 'project_id': '994f9816e73244faa3febb98a540609a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ec9170b2-ca6d-4308-a11e-e374e4f8dca8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42616009', 'ctest-vn-00618418'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-42616009', 'ctest-policy-allow-all-69140283']], 'subnet_ipam': [{'subnet_cidr': '123.63.215.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-21 13:59:59,487 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-21 13:59:59,786 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-21 13:59:59,813 - DEBUG - Requesting: http://10.0.0.38:8082/domain/45f47266-a991-4b95-85f2-f3fc05eec8f7 2025-04-21 13:59:59,827 - DEBUG - Requesting: http://10.0.0.38:8082/project/994f9816-e732-44fa-a3fe-bb98a540609a 2025-04-21 13:59:59,899 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f379e6ac-c17c-400a-a1f2-5df952ca110b 2025-04-21 13:59:59,911 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f379e6ac-c17c-400a-a1f2-5df952ca110b 2025-04-21 13:59:59,922 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1996e72f-c06d-4204-bf21-7a508cac93a4 2025-04-21 13:59:59,930 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1996e72f-c06d-4204-bf21-7a508cac93a4 2025-04-21 13:59:59,937 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0cc8a88a-f6e0-46ab-a18e-93026520d204 2025-04-21 13:59:59,946 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-21 13:59:59,946 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f379e6ac-c17c-400a-a1f2-5df952ca110b 2025-04-21 13:59:59,956 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1996e72f-c06d-4204-bf21-7a508cac93a4 2025-04-21 13:59:59,971 - INFO - Verified VN network id 8 for VN f379e6ac-c17c-400a-a1f2-5df952ca110b 2025-04-21 13:59:59,971 - INFO - Verifications in API Server for VN ctest-vn-08412475 passed 2025-04-21 13:59:59,971 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f379e6ac-c17c-400a-a1f2-5df952ca110b 2025-04-21 13:59:59,981 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1996e72f-c06d-4204-bf21-7a508cac93a4 2025-04-21 13:59:59,988 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1996e72f-c06d-4204-bf21-7a508cac93a4 2025-04-21 13:59:59,996 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0cc8a88a-f6e0-46ab-a18e-93026520d204 2025-04-21 14:00:00,010 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-42616009:ctest-vn-08412475', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-42616009', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17544307453053386762', 'uuid-lslong': '11669492909887590667'}, 'enable': 'true', 'created': '2025-04-21T13:59:57', 'last-modified': '2025-04-21T13:59:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.993755'} 2025-04-21 14:00:00,018 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-21 14:00:00,018 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08412475 passed 2025-04-21 14:00:00,018 - DEBUG - ====Verifying policy data for ctest-vn-08412475 in API_Server ====== 2025-04-21 14:00:00,018 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-21 14:00:00,026 - DEBUG - Requesting: http://10.0.0.38:8082/domain/45f47266-a991-4b95-85f2-f3fc05eec8f7 2025-04-21 14:00:00,041 - DEBUG - Requesting: http://10.0.0.38:8082/project/994f9816-e732-44fa-a3fe-bb98a540609a 2025-04-21 14:00:00,116 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f379e6ac-c17c-400a-a1f2-5df952ca110b 2025-04-21 14:00:00,128 - DEBUG - ==>Verifying data for policy with id: 122f0a02-88df-461b-84e9-92fa6dfeb1db, fqn: ['default-domain', 'ctest-TestBasicPolicy-42616009', 'ctest-policy-allow-all-69140283'] 2025-04-21 14:00:00,128 - INFO - VN ctest-vn-08412475 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-21 14:00:00,128 - DEBUG - Verifying the vn in opserver 2025-04-21 14:00:00,128 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-42616009:ctest-vn-08412475 virtual network link through opserver 10.0.0.38 2025-04-21 14:00:00,128 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-21 14:00:00,432 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-21 14:00:00,490 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-42616009:ctest-vn-08412475', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-42616009:ctest-vn-08412475?flat'} 2025-04-21 14:00:00,490 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-42616009:ctest-vn-08412475 is found in opserver 2025-04-21 14:00:00,508 - DEBUG - Do not have enough data to verify VN in agent 2025-04-21 14:00:00,515 - DEBUG - VRF ids for VN ctest-vn-08412475: {} 2025-04-21 14:00:00,515 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-21 14:00:00,523 - DEBUG - Requesting: http://10.0.0.38:8082/domain/45f47266-a991-4b95-85f2-f3fc05eec8f7 2025-04-21 14:00:00,537 - DEBUG - Requesting: http://10.0.0.38:8082/project/994f9816-e732-44fa-a3fe-bb98a540609a 2025-04-21 14:00:00,614 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/190a7cc0-6ade-4623-b6ea-a4a19c45d737 2025-04-21 14:00:00,628 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/190a7cc0-6ade-4623-b6ea-a4a19c45d737 2025-04-21 14:00:00,639 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9c88c0c6-945a-483d-bbdb-c9650b21fb3d 2025-04-21 14:00:00,648 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9c88c0c6-945a-483d-bbdb-c9650b21fb3d 2025-04-21 14:00:00,656 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/cd6008b5-0638-4317-9142-ff6f416ae178 2025-04-21 14:00:00,665 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-21 14:00:00,665 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/190a7cc0-6ade-4623-b6ea-a4a19c45d737 2025-04-21 14:00:00,675 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9c88c0c6-945a-483d-bbdb-c9650b21fb3d 2025-04-21 14:00:00,695 - INFO - Verified VN network id 9 for VN 190a7cc0-6ade-4623-b6ea-a4a19c45d737 2025-04-21 14:00:00,695 - INFO - Verifications in API Server for VN ctest-vn-00618418 passed 2025-04-21 14:00:00,695 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/190a7cc0-6ade-4623-b6ea-a4a19c45d737 2025-04-21 14:00:00,705 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9c88c0c6-945a-483d-bbdb-c9650b21fb3d 2025-04-21 14:00:00,714 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9c88c0c6-945a-483d-bbdb-c9650b21fb3d 2025-04-21 14:00:00,723 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/cd6008b5-0638-4317-9142-ff6f416ae178 2025-04-21 14:00:00,737 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-42616009:ctest-vn-00618418', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-42616009', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1804391766583821859', 'uuid-lslong': '13180528273471690551'}, 'enable': 'true', 'created': '2025-04-21T13:59:58', 'last-modified': '2025-04-21T13:59:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.471715'} 2025-04-21 14:00:00,744 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-21 14:00:00,744 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00618418 passed 2025-04-21 14:00:00,744 - DEBUG - ====Verifying policy data for ctest-vn-00618418 in API_Server ====== 2025-04-21 14:00:00,744 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-21 14:00:00,751 - DEBUG - Requesting: http://10.0.0.38:8082/domain/45f47266-a991-4b95-85f2-f3fc05eec8f7 2025-04-21 14:00:00,764 - DEBUG - Requesting: http://10.0.0.38:8082/project/994f9816-e732-44fa-a3fe-bb98a540609a 2025-04-21 14:00:00,840 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/190a7cc0-6ade-4623-b6ea-a4a19c45d737 2025-04-21 14:00:00,853 - DEBUG - ==>Verifying data for policy with id: 122f0a02-88df-461b-84e9-92fa6dfeb1db, fqn: ['default-domain', 'ctest-TestBasicPolicy-42616009', 'ctest-policy-allow-all-69140283'] 2025-04-21 14:00:00,853 - INFO - VN ctest-vn-00618418 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-21 14:00:00,853 - DEBUG - Verifying the vn in opserver 2025-04-21 14:00:00,853 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-42616009:ctest-vn-00618418 virtual network link through opserver 10.0.0.38 2025-04-21 14:00:00,853 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-21 14:00:00,866 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-42616009:ctest-vn-00618418', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-42616009:ctest-vn-00618418?flat'} 2025-04-21 14:00:00,866 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-42616009:ctest-vn-00618418 is found in opserver 2025-04-21 14:00:00,877 - DEBUG - Do not have enough data to verify VN in agent 2025-04-21 14:00:00,884 - DEBUG - VRF ids for VN ctest-vn-00618418: {} 2025-04-21 14:00:00,943 - DEBUG - Services list from nova: [, , ] 2025-04-21 14:00:02,081 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3154-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3154-1) 2025-04-21 14:00:03,244 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3154-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3154-1) 2025-04-21 14:00:03,244 - INFO - Waiting for VM ctest-TestBasicPolicy-42616009-47219170 to be up.. 2025-04-21 14:00:03,338 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-21 14:00:08,439 - DEBUG - VM is in ACTIVE state now 2025-04-21 14:00:08,439 - INFO - VM name : ctest-TestBasicPolicy-42616009-47219170 2025-04-21 14:00:08,512 - DEBUG - VM ctest-TestBasicPolicy-42616009-47219170 ID is d29d7b6c-2dea-408e-82fb-099f3f992066 2025-04-21 14:00:08,535 - DEBUG - VM ctest-TestBasicPolicy-42616009-47219170 launched on Node cn-jenkins-deploy-platform-ansible-os-3154-1 2025-04-21 14:00:08,618 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d29d7b6c-2dea-408e-82fb-099f3f992066 2025-04-21 14:00:08,627 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0dec1578-1bf1-47cd-94cb-7efa51bb8760 2025-04-21 14:00:11,894 - 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 1014ms') 2025-04-21 14:00:11,895 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-42616009-47219170 failed! 2025-04-21 14:00:11,955 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-42616009:ctest-vn-08412475 is 34.66.184.65 and allocation pool is NOT set 2025-04-21 14:00:14,017 - 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=8.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.871 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.871/4.818/8.766/3.947 ms') 2025-04-21 14:00:14,018 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-42616009-47219170 passed 2025-04-21 14:00:14,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 14:00:14,171 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-42616009-47219170, IP 34.66.184.67, Port 22 2025-04-21 14:00:14,326 - DEBUG - VM ctest-TestBasicPolicy-42616009-47219170 is ready for SSH connections 2025-04-21 14:00:14,327 - INFO - Waiting for VM ctest-TestBasicPolicy-42616009-13992784 to be up.. 2025-04-21 14:00:14,418 - DEBUG - VM is in ACTIVE state now 2025-04-21 14:00:14,418 - INFO - VM name : ctest-TestBasicPolicy-42616009-13992784 2025-04-21 14:00:14,503 - DEBUG - VM ctest-TestBasicPolicy-42616009-13992784 ID is ae1cea2c-b6b7-4b34-8906-553d3f65c2c8 2025-04-21 14:00:14,503 - DEBUG - VM ctest-TestBasicPolicy-42616009-13992784 launched on Node cn-jenkins-deploy-platform-ansible-os-3154-1 2025-04-21 14:00:14,587 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ae1cea2c-b6b7-4b34-8906-553d3f65c2c8 2025-04-21 14:00:14,597 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b51a2f43-5221-420b-a7cc-3251483322b6 2025-04-21 14:00:15,844 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.572 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.572/1.753/2.934/1.181 ms') 2025-04-21 14:00:15,844 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-42616009-13992784 passed 2025-04-21 14:00:15,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 14:00:15,999 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-42616009-13992784, IP 123.63.215.195, Port 22 2025-04-21 14:00:16,154 - DEBUG - VM ctest-TestBasicPolicy-42616009-13992784 is ready for SSH connections 2025-04-21 14:00:16,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 14:00:16,154 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.63.215.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-21 14:00:16,155 - DEBUG - ping -s 56 -c 3 -W 1 123.63.215.195 2025-04-21 14:00:19,839 - DEBUG - PING 123.63.215.195 (123.63.215.195): 56 data bytes 64 bytes from 123.63.215.195: seq=0 ttl=63 time=3.472 ms 64 bytes from 123.63.215.195: seq=1 ttl=63 time=1.007 ms 64 bytes from 123.63.215.195: seq=2 ttl=63 time=0.889 ms --- 123.63.215.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.889/1.789/3.472 ms 2025-04-21 14:00:19,839 - INFO - Ping to IP 123.63.215.195 from VM ctest-TestBasicPolicy-42616009-47219170 passed 2025-04-21 14:00:20,027 - DEBUG - Policy Update Response {"network-policy": {"uuid": "122f0a02-88df-461b-84e9-92fa6dfeb1db", "href": "http://10.0.0.38:8082/network-policy/122f0a02-88df-461b-84e9-92fa6dfeb1db"}} 2025-04-21 14:00:20,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 14:00:20,027 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.63.215.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-21 14:00:20,027 - DEBUG - ping -s 56 -c 3 -W 1 123.63.215.195 2025-04-21 14:00:23,233 - DEBUG - PING 123.63.215.195 (123.63.215.195): 56 data bytes 64 bytes from 123.63.215.195: seq=0 ttl=63 time=1.435 ms --- 123.63.215.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.435/1.435/1.435 ms 2025-04-21 14:00:23,233 - WARNING - Ping to IP 123.63.215.195 from VM ctest-TestBasicPolicy-42616009-47219170 failed 2025-04-21 14:00:23,233 - INFO - Deleting VM ctest-TestBasicPolicy-42616009-13992784 2025-04-21 14:00:23,308 - INFO - Deleting VM ctest-TestBasicPolicy-42616009-47219170 2025-04-21 14:00:23,727 - INFO - Deleted policy ctest-policy-allow-all-69140283 2025-04-21 14:00:23,728 - INFO - Deleting VN ctest-vn-00618418 2025-04-21 14:00:23,767 - DEBUG - VN 190a7cc0-6ade-4623-b6ea-a4a19c45d737 still in use: Unable to complete operation on network 190a7cc0-6ade-4623-b6ea-a4a19c45d737. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-48023994-2529-444a-973e-e46ae0de4a43'] 2025-04-21 14:00:23,767 - WARNING - Deleting VN ctest-vn-00618418 failed..Will retry 2025-04-21 14:00:25,888 - DEBUG - Response for deleting network () 2025-04-21 14:00:25,888 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9c88c0c6-945a-483d-bbdb-c9650b21fb3d 2025-04-21 14:00:25,897 - DEBUG - Response Code: 404 2025-04-21 14:00:25,897 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-21 14:00:25,904 - DEBUG - Requesting: http://10.0.0.38:8082/domain/45f47266-a991-4b95-85f2-f3fc05eec8f7 2025-04-21 14:00:25,962 - DEBUG - Requesting: http://10.0.0.38:8082/project/994f9816-e732-44fa-a3fe-bb98a540609a 2025-04-21 14:00:26,041 - INFO - Validated that VN ctest-vn-00618418 is not found in API Server 2025-04-21 14:00:26,055 - DEBUG - VN ctest-vn-00618418 is not present in Agent 10.0.0.38 2025-04-21 14:00:26,055 - INFO - Validated that VN ctest-vn-00618418 is not in any agent 2025-04-21 14:00:26,071 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00618418 info 2025-04-21 14:00:26,071 - INFO - Deleting VN ctest-vn-08412475 2025-04-21 14:00:26,290 - DEBUG - Response for deleting network () 2025-04-21 14:00:26,290 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1996e72f-c06d-4204-bf21-7a508cac93a4 2025-04-21 14:00:26,298 - DEBUG - Response Code: 404 2025-04-21 14:00:26,298 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-21 14:00:26,310 - DEBUG - Requesting: http://10.0.0.38:8082/domain/45f47266-a991-4b95-85f2-f3fc05eec8f7 2025-04-21 14:00:26,372 - DEBUG - Requesting: http://10.0.0.38:8082/project/994f9816-e732-44fa-a3fe-bb98a540609a 2025-04-21 14:00:26,463 - INFO - Validated that VN ctest-vn-08412475 is not found in API Server 2025-04-21 14:00:26,480 - DEBUG - VN ctest-vn-08412475 is not present in Agent 10.0.0.38 2025-04-21 14:00:26,480 - INFO - Validated that VN ctest-vn-08412475 is not in any agent 2025-04-21 14:00:26,501 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08412475 info 2025-04-21 14:00:26,765 - DEBUG - No XMPP flaps were noticed during the test 2025-04-21 14:00:26,765 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-04-21 14:00:26,765 - INFO - -------------------------------------------------------------------------------- 2025-04-21 14:00:27,450 - INFO - Deleted project: ctest-TestBasicPolicy-42616009, ID : 994f9816-e732-44fa-a3fe-bb98a540609a