2025-03-25 12:32:34,160 - INFO - Domain Default found not creating 2025-03-25 12:32:34,343 - INFO - Project ctest-TestBasicPolicy-49583057 not found, creating it 2025-03-25 12:32:34,849 - INFO - Created Project:ctest-TestBasicPolicy-49583057, ID : 5df526d4-f856-4c9b-b1fc-95725c37d6d2 2025-03-25 12:32:36,460 - INFO - ================================================================================ 2025-03-25 12:32:36,461 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-25 12:32:36,461 - 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-03-25 12:32:36,725 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.5': '0'}} with 2025-03-25 12:32:36,725 - INFO - Initial checks done. Running the testcase now 2025-03-25 12:32:36,725 - INFO - 2025-03-25 12:32:37,373 - DEBUG - Response for create_network : {'network': {'id': '1f7bb023-b84d-491e-8a14-a67094e8e3c3', 'name': 'ctest-vn-36364747', 'tenant_id': '5df526d4f8564c9bb1fc95725c37d6d2', 'project_id': '5df526d4f8564c9bb1fc95725c37d6d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49583057', 'ctest-vn-36364747'], 'port_security_enabled': True, 'description': ''}} 2025-03-25 12:32:37,631 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd6b5213-13c4-469a-8897-a7b6ab36da7e', 'name': '', 'tenant_id': '5df526d4f8564c9bb1fc95725c37d6d2', 'network_id': '1f7bb023-b84d-491e-8a14-a67094e8e3c3', 'ip_version': 4, 'cidr': '36.89.60.192/26', 'allocation_pools': [{'start': '36.89.60.194', 'end': '36.89.60.254'}], 'gateway_ip': '36.89.60.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.89.60.194', 'tags': [], 'project_id': '5df526d4f8564c9bb1fc95725c37d6d2'}} 2025-03-25 12:32:37,660 - INFO - Created VN ctest-vn-36364747 2025-03-25 12:32:37,719 - DEBUG - VN ctest-vn-36364747 UUID is 1f7bb023-b84d-491e-8a14-a67094e8e3c3 2025-03-25 12:32:38,089 - DEBUG - Response for create_network : {'network': {'id': '489d9d43-4e20-40d8-8f9d-0d208eb5b688', 'name': 'ctest-vn-92010332', 'tenant_id': '5df526d4f8564c9bb1fc95725c37d6d2', 'project_id': '5df526d4f8564c9bb1fc95725c37d6d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49583057', 'ctest-vn-92010332'], 'port_security_enabled': True, 'description': ''}} 2025-03-25 12:32:38,265 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c30f7b6a-9873-45e2-8f5d-b842bef4108b', 'name': '', 'tenant_id': '5df526d4f8564c9bb1fc95725c37d6d2', 'network_id': '489d9d43-4e20-40d8-8f9d-0d208eb5b688', 'ip_version': 4, 'cidr': '56.97.37.192/26', 'allocation_pools': [{'start': '56.97.37.194', 'end': '56.97.37.254'}], 'gateway_ip': '56.97.37.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.97.37.194', 'tags': [], 'project_id': '5df526d4f8564c9bb1fc95725c37d6d2'}} 2025-03-25 12:32:38,288 - INFO - Created VN ctest-vn-92010332 2025-03-25 12:32:38,342 - DEBUG - VN ctest-vn-92010332 UUID is 489d9d43-4e20-40d8-8f9d-0d208eb5b688 2025-03-25 12:32:38,469 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49583057:ctest-vn-36364747, 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-49583057:ctest-vn-92010332, 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-03-25 12:32:38,792 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1f7bb023-b84d-491e-8a14-a67094e8e3c3', 'name': 'ctest-vn-36364747', 'tenant_id': '5df526d4f8564c9bb1fc95725c37d6d2', 'project_id': '5df526d4f8564c9bb1fc95725c37d6d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bd6b5213-13c4-469a-8897-a7b6ab36da7e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49583057', 'ctest-vn-36364747'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49583057', 'ctest-policy-allow-all-57513844']], 'subnet_ipam': [{'subnet_cidr': '36.89.60.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-25 12:32:39,090 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '489d9d43-4e20-40d8-8f9d-0d208eb5b688', 'name': 'ctest-vn-92010332', 'tenant_id': '5df526d4f8564c9bb1fc95725c37d6d2', 'project_id': '5df526d4f8564c9bb1fc95725c37d6d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c30f7b6a-9873-45e2-8f5d-b842bef4108b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49583057', 'ctest-vn-92010332'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49583057', 'ctest-policy-allow-all-57513844']], 'subnet_ipam': [{'subnet_cidr': '56.97.37.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-25 12:32:39,238 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-03-25 12:32:39,539 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-03-25 12:32:39,568 - DEBUG - Requesting: http://10.0.0.48:8082/domain/5584f7d7-a717-4773-a94d-b2cf971567df 2025-03-25 12:32:39,585 - DEBUG - Requesting: http://10.0.0.48:8082/project/5df526d4-f856-4c9b-b1fc-95725c37d6d2 2025-03-25 12:32:39,666 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/1f7bb023-b84d-491e-8a14-a67094e8e3c3 2025-03-25 12:32:39,681 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/1f7bb023-b84d-491e-8a14-a67094e8e3c3 2025-03-25 12:32:39,692 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/e13e1336-6683-4703-8150-70ccd119a15d 2025-03-25 12:32:39,700 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/e13e1336-6683-4703-8150-70ccd119a15d 2025-03-25 12:32:39,708 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/fafe4268-64ba-4988-9e17-a924f2327efc 2025-03-25 12:32:39,718 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-25 12:32:39,718 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/1f7bb023-b84d-491e-8a14-a67094e8e3c3 2025-03-25 12:32:39,731 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/e13e1336-6683-4703-8150-70ccd119a15d 2025-03-25 12:32:39,751 - INFO - Verified VN network id 8 for VN 1f7bb023-b84d-491e-8a14-a67094e8e3c3 2025-03-25 12:32:39,751 - INFO - Verifications in API Server for VN ctest-vn-36364747 passed 2025-03-25 12:32:39,751 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/1f7bb023-b84d-491e-8a14-a67094e8e3c3 2025-03-25 12:32:39,764 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/e13e1336-6683-4703-8150-70ccd119a15d 2025-03-25 12:32:39,774 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/e13e1336-6683-4703-8150-70ccd119a15d 2025-03-25 12:32:39,783 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/fafe4268-64ba-4988-9e17-a924f2327efc 2025-03-25 12:32:39,814 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49583057:ctest-vn-36364747', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49583057', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2268600504773593374', 'uuid-lslong': '9949760479233106883'}, 'enable': 'true', 'created': '2025-03-25T12:32:37', 'last-modified': '2025-03-25T12:32:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.048716'} 2025-03-25 12:32:39,824 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-25 12:32:39,824 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36364747 passed 2025-03-25 12:32:39,825 - DEBUG - ====Verifying policy data for ctest-vn-36364747 in API_Server ====== 2025-03-25 12:32:39,825 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-03-25 12:32:39,832 - DEBUG - Requesting: http://10.0.0.48:8082/domain/5584f7d7-a717-4773-a94d-b2cf971567df 2025-03-25 12:32:39,846 - DEBUG - Requesting: http://10.0.0.48:8082/project/5df526d4-f856-4c9b-b1fc-95725c37d6d2 2025-03-25 12:32:39,926 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/1f7bb023-b84d-491e-8a14-a67094e8e3c3 2025-03-25 12:32:39,937 - DEBUG - ==>Verifying data for policy with id: ce4a5fb1-4b5e-453e-ac32-c81c593f863e, fqn: ['default-domain', 'ctest-TestBasicPolicy-49583057', 'ctest-policy-allow-all-57513844'] 2025-03-25 12:32:39,937 - INFO - VN ctest-vn-36364747 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-25 12:32:39,937 - DEBUG - Verifying the vn in opserver 2025-03-25 12:32:39,937 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49583057:ctest-vn-36364747 virtual network link through opserver 10.0.0.48 2025-03-25 12:32:39,937 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-03-25 12:32:40,247 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-03-25 12:32:40,318 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49583057:ctest-vn-36364747', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49583057:ctest-vn-36364747?flat'} 2025-03-25 12:32:40,319 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49583057:ctest-vn-36364747 is found in opserver 2025-03-25 12:32:40,330 - DEBUG - Do not have enough data to verify VN in agent 2025-03-25 12:32:40,337 - DEBUG - VRF ids for VN ctest-vn-36364747: {} 2025-03-25 12:32:40,337 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-03-25 12:32:40,343 - DEBUG - Requesting: http://10.0.0.48:8082/domain/5584f7d7-a717-4773-a94d-b2cf971567df 2025-03-25 12:32:40,357 - DEBUG - Requesting: http://10.0.0.48:8082/project/5df526d4-f856-4c9b-b1fc-95725c37d6d2 2025-03-25 12:32:40,438 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/489d9d43-4e20-40d8-8f9d-0d208eb5b688 2025-03-25 12:32:40,454 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/489d9d43-4e20-40d8-8f9d-0d208eb5b688 2025-03-25 12:32:40,466 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/183c55ec-6f3a-4cf5-ab2b-7f8bb4f2ee5e 2025-03-25 12:32:40,475 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/183c55ec-6f3a-4cf5-ab2b-7f8bb4f2ee5e 2025-03-25 12:32:40,484 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/048eae00-0dfb-4678-87a0-3a7f5de59f0d 2025-03-25 12:32:40,494 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-25 12:32:40,494 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/489d9d43-4e20-40d8-8f9d-0d208eb5b688 2025-03-25 12:32:40,505 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/183c55ec-6f3a-4cf5-ab2b-7f8bb4f2ee5e 2025-03-25 12:32:40,527 - INFO - Verified VN network id 9 for VN 489d9d43-4e20-40d8-8f9d-0d208eb5b688 2025-03-25 12:32:40,527 - INFO - Verifications in API Server for VN ctest-vn-92010332 passed 2025-03-25 12:32:40,528 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/489d9d43-4e20-40d8-8f9d-0d208eb5b688 2025-03-25 12:32:40,542 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/183c55ec-6f3a-4cf5-ab2b-7f8bb4f2ee5e 2025-03-25 12:32:40,550 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/183c55ec-6f3a-4cf5-ab2b-7f8bb4f2ee5e 2025-03-25 12:32:40,559 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/048eae00-0dfb-4678-87a0-3a7f5de59f0d 2025-03-25 12:32:40,575 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49583057:ctest-vn-92010332', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49583057', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5232511254473490648', 'uuid-lslong': '10348441952251655816'}, 'enable': 'true', 'created': '2025-03-25T12:32:38', 'last-modified': '2025-03-25T12:32:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.547921'} 2025-03-25 12:32:40,582 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-25 12:32:40,582 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92010332 passed 2025-03-25 12:32:40,582 - DEBUG - ====Verifying policy data for ctest-vn-92010332 in API_Server ====== 2025-03-25 12:32:40,582 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-03-25 12:32:40,589 - DEBUG - Requesting: http://10.0.0.48:8082/domain/5584f7d7-a717-4773-a94d-b2cf971567df 2025-03-25 12:32:40,602 - DEBUG - Requesting: http://10.0.0.48:8082/project/5df526d4-f856-4c9b-b1fc-95725c37d6d2 2025-03-25 12:32:40,680 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/489d9d43-4e20-40d8-8f9d-0d208eb5b688 2025-03-25 12:32:40,691 - DEBUG - ==>Verifying data for policy with id: ce4a5fb1-4b5e-453e-ac32-c81c593f863e, fqn: ['default-domain', 'ctest-TestBasicPolicy-49583057', 'ctest-policy-allow-all-57513844'] 2025-03-25 12:32:40,691 - INFO - VN ctest-vn-92010332 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-25 12:32:40,692 - DEBUG - Verifying the vn in opserver 2025-03-25 12:32:40,692 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49583057:ctest-vn-92010332 virtual network link through opserver 10.0.0.48 2025-03-25 12:32:40,692 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-03-25 12:32:40,704 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49583057:ctest-vn-92010332', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49583057:ctest-vn-92010332?flat'} 2025-03-25 12:32:40,704 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49583057:ctest-vn-92010332 is found in opserver 2025-03-25 12:32:40,717 - DEBUG - Do not have enough data to verify VN in agent 2025-03-25 12:32:40,725 - DEBUG - VRF ids for VN ctest-vn-92010332: {} 2025-03-25 12:32:40,805 - DEBUG - Services list from nova: [, , ] 2025-03-25 12:32:41,851 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2949-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2949-1) 2025-03-25 12:32:43,184 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2949-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2949-1) 2025-03-25 12:32:43,185 - INFO - Waiting for VM ctest-TestBasicPolicy-49583057-30601307 to be up.. 2025-03-25 12:32:43,291 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-25 12:32:48,390 - DEBUG - VM is in ACTIVE state now 2025-03-25 12:32:48,390 - INFO - VM name : ctest-TestBasicPolicy-49583057-30601307 2025-03-25 12:32:48,485 - DEBUG - VM ctest-TestBasicPolicy-49583057-30601307 ID is 964b1fa5-96dc-4d1d-bf91-7e8032e4175f 2025-03-25 12:32:48,510 - DEBUG - VM ctest-TestBasicPolicy-49583057-30601307 launched on Node cn-jenkins-deploy-platform-ansible-os-2949-1 2025-03-25 12:32:48,607 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/964b1fa5-96dc-4d1d-bf91-7e8032e4175f 2025-03-25 12:32:48,618 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/209ea652-e3d6-471e-8d90-4473fdce3f4c 2025-03-25 12:32:51,888 - 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 1010ms') 2025-03-25 12:32:51,888 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49583057-30601307 failed! 2025-03-25 12:32:51,946 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49583057:ctest-vn-36364747 is 36.89.60.193 and allocation pool is NOT set 2025-03-25 12:32:54,018 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.712 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.712/4.219/7.727/3.507 ms') 2025-03-25 12:32:54,018 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49583057-30601307 passed 2025-03-25 12:32:54,174 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-25 12:32:54,175 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49583057-30601307, IP 36.89.60.195, Port 22 2025-03-25 12:32:54,330 - DEBUG - VM ctest-TestBasicPolicy-49583057-30601307 is ready for SSH connections 2025-03-25 12:32:54,330 - INFO - Waiting for VM ctest-TestBasicPolicy-49583057-72674437 to be up.. 2025-03-25 12:32:54,420 - DEBUG - VM is in ACTIVE state now 2025-03-25 12:32:54,420 - INFO - VM name : ctest-TestBasicPolicy-49583057-72674437 2025-03-25 12:32:54,506 - DEBUG - VM ctest-TestBasicPolicy-49583057-72674437 ID is 02b3d94f-cf60-4f26-9ac0-f60eb565d74e 2025-03-25 12:32:54,507 - DEBUG - VM ctest-TestBasicPolicy-49583057-72674437 launched on Node cn-jenkins-deploy-platform-ansible-os-2949-1 2025-03-25 12:32:54,598 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/02b3d94f-cf60-4f26-9ac0-f60eb565d74e 2025-03-25 12:32:54,611 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/47c366a4-8f85-4df2-8579-8d343cc0abb9 2025-03-25 12:32:55,873 - 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.508 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.508/1.653/2.798/1.145 ms') 2025-03-25 12:32:55,873 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-49583057-72674437 passed 2025-03-25 12:32:56,026 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-25 12:32:56,027 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49583057-72674437, IP 56.97.37.195, Port 22 2025-03-25 12:32:56,186 - DEBUG - VM ctest-TestBasicPolicy-49583057-72674437 is ready for SSH connections 2025-03-25 12:32:56,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-25 12:32:56,186 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.97.37.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-03-25 12:32:56,186 - DEBUG - ping -s 56 -c 3 -W 1 56.97.37.195 2025-03-25 12:33:00,248 - DEBUG - PING 56.97.37.195 (56.97.37.195): 56 data bytes 64 bytes from 56.97.37.195: seq=0 ttl=63 time=4.302 ms 64 bytes from 56.97.37.195: seq=1 ttl=63 time=0.982 ms 64 bytes from 56.97.37.195: seq=2 ttl=63 time=1.291 ms --- 56.97.37.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.982/2.191/4.302 ms 2025-03-25 12:33:00,248 - INFO - Ping to IP 56.97.37.195 from VM ctest-TestBasicPolicy-49583057-30601307 passed 2025-03-25 12:33:00,438 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ce4a5fb1-4b5e-453e-ac32-c81c593f863e", "href": "http://10.0.0.48:8082/network-policy/ce4a5fb1-4b5e-453e-ac32-c81c593f863e"}} 2025-03-25 12:33:00,438 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-25 12:33:00,438 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.97.37.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-03-25 12:33:00,439 - DEBUG - ping -s 56 -c 3 -W 1 56.97.37.195 2025-03-25 12:33:03,665 - DEBUG - PING 56.97.37.195 (56.97.37.195): 56 data bytes 64 bytes from 56.97.37.195: seq=0 ttl=63 time=1.519 ms --- 56.97.37.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.519/1.519/1.519 ms 2025-03-25 12:33:03,665 - WARNING - Ping to IP 56.97.37.195 from VM ctest-TestBasicPolicy-49583057-30601307 failed 2025-03-25 12:33:03,665 - INFO - Deleting VM ctest-TestBasicPolicy-49583057-72674437 2025-03-25 12:33:03,758 - INFO - Deleting VM ctest-TestBasicPolicy-49583057-30601307 2025-03-25 12:33:04,211 - INFO - Deleted policy ctest-policy-allow-all-57513844 2025-03-25 12:33:04,211 - INFO - Deleting VN ctest-vn-92010332 2025-03-25 12:33:04,248 - DEBUG - VN 489d9d43-4e20-40d8-8f9d-0d208eb5b688 still in use: Unable to complete operation on network 489d9d43-4e20-40d8-8f9d-0d208eb5b688. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6d5e89c5-6d17-48a9-8517-6c11e5c925b8'] 2025-03-25 12:33:04,248 - WARNING - Deleting VN ctest-vn-92010332 failed..Will retry 2025-03-25 12:33:06,381 - DEBUG - Response for deleting network () 2025-03-25 12:33:06,381 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/183c55ec-6f3a-4cf5-ab2b-7f8bb4f2ee5e 2025-03-25 12:33:06,390 - DEBUG - Response Code: 404 2025-03-25 12:33:06,390 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-03-25 12:33:06,397 - DEBUG - Requesting: http://10.0.0.48:8082/domain/5584f7d7-a717-4773-a94d-b2cf971567df 2025-03-25 12:33:06,452 - DEBUG - Requesting: http://10.0.0.48:8082/project/5df526d4-f856-4c9b-b1fc-95725c37d6d2 2025-03-25 12:33:06,534 - INFO - Validated that VN ctest-vn-92010332 is not found in API Server 2025-03-25 12:33:06,545 - DEBUG - VN ctest-vn-92010332 is not present in Agent 10.0.0.48 2025-03-25 12:33:06,545 - INFO - Validated that VN ctest-vn-92010332 is not in any agent 2025-03-25 12:33:06,565 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92010332 info 2025-03-25 12:33:06,565 - INFO - Deleting VN ctest-vn-36364747 2025-03-25 12:33:06,698 - DEBUG - Response for deleting network () 2025-03-25 12:33:06,699 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/e13e1336-6683-4703-8150-70ccd119a15d 2025-03-25 12:33:06,705 - DEBUG - Response Code: 404 2025-03-25 12:33:06,706 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-03-25 12:33:06,713 - DEBUG - Requesting: http://10.0.0.48:8082/domain/5584f7d7-a717-4773-a94d-b2cf971567df 2025-03-25 12:33:06,768 - DEBUG - Requesting: http://10.0.0.48:8082/project/5df526d4-f856-4c9b-b1fc-95725c37d6d2 2025-03-25 12:33:06,848 - INFO - Validated that VN ctest-vn-36364747 is not found in API Server 2025-03-25 12:33:06,860 - DEBUG - VN ctest-vn-36364747 is not present in Agent 10.0.0.48 2025-03-25 12:33:06,860 - INFO - Validated that VN ctest-vn-36364747 is not in any agent 2025-03-25 12:33:06,877 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36364747 info 2025-03-25 12:33:07,136 - DEBUG - No XMPP flaps were noticed during the test
2025-03-25 12:33:07,136 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-03-25 12:33:07,137 - INFO - -------------------------------------------------------------------------------- 2025-03-25 12:33:07,837 - INFO - Deleted project: ctest-TestBasicPolicy-49583057, ID : 5df526d4-f856-4c9b-b1fc-95725c37d6d2